public class ConnectorTutorial.SRTarget extends AbstractConnectorTarget
Constructor and Description |
---|
SRTarget() |
Modifier and Type | Method and Description |
---|---|
Site |
getHeadSite(Figure f,
double x,
double y)
Return the nearest site on the figure
|
acceptHead, acceptTail, getHeadSite, getHeadSite, getHeadSite, getTailSite, getTailSite, getTailSite, getTailSite
public Site getHeadSite(Figure f, double x, double y)
getHeadSite
in interface ConnectorTarget
getHeadSite
in class AbstractConnectorTarget
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.