protected static class AbstractGreatArcConnector.ConnectableGreatArc extends AbstractPathConnector.ConnectableElement<AbstractGreatArcConnector.ConnectableGreatArc>
GreatArc
s into GreatArcPath
s.Constructor and Description |
---|
ConnectableGreatArc(GreatArc arc)
Create a new instance from the given arc.
|
ConnectableGreatArc(Point2S start)
Create a new instance with the given start point.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canConnectTo(AbstractGreatArcConnector.ConnectableGreatArc next) |
int |
compareTo(AbstractGreatArcConnector.ConnectableGreatArc other) |
boolean |
endPointsEq(AbstractGreatArcConnector.ConnectableGreatArc other) |
boolean |
equals(Object obj) |
GreatArc |
getArc()
Get the arc for the instance.
|
AbstractGreatArcConnector.ConnectableGreatArc |
getConnectionSearchKey() |
double |
getRelativeAngle(AbstractGreatArcConnector.ConnectableGreatArc other) |
protected AbstractGreatArcConnector.ConnectableGreatArc |
getSelf() |
boolean |
hasEnd() |
int |
hashCode() |
boolean |
hasStart() |
boolean |
hasZeroSize()
Return true if this instance has a size equivalent to zero.
|
boolean |
shouldContinueConnectionSearch(AbstractGreatArcConnector.ConnectableGreatArc candidate,
boolean ascending) |
connectTo, exportPath, getNext, getPrevious, hasNext, hasPrevious, markExported, setNext, setPrevious
public ConnectableGreatArc(Point2S start)
start
- start pointpublic ConnectableGreatArc(GreatArc arc)
arc
- arc for the instancepublic boolean hasStart()
hasStart
in class AbstractPathConnector.ConnectableElement<AbstractGreatArcConnector.ConnectableGreatArc>
public boolean hasEnd()
hasEnd
in class AbstractPathConnector.ConnectableElement<AbstractGreatArcConnector.ConnectableGreatArc>
public boolean endPointsEq(AbstractGreatArcConnector.ConnectableGreatArc other)
endPointsEq
in class AbstractPathConnector.ConnectableElement<AbstractGreatArcConnector.ConnectableGreatArc>
public boolean hasZeroSize()
public boolean canConnectTo(AbstractGreatArcConnector.ConnectableGreatArc next)
canConnectTo
in class AbstractPathConnector.ConnectableElement<AbstractGreatArcConnector.ConnectableGreatArc>
public double getRelativeAngle(AbstractGreatArcConnector.ConnectableGreatArc other)
getRelativeAngle
in class AbstractPathConnector.ConnectableElement<AbstractGreatArcConnector.ConnectableGreatArc>
public AbstractGreatArcConnector.ConnectableGreatArc getConnectionSearchKey()
public boolean shouldContinueConnectionSearch(AbstractGreatArcConnector.ConnectableGreatArc candidate, boolean ascending)
public int compareTo(AbstractGreatArcConnector.ConnectableGreatArc other)
protected AbstractGreatArcConnector.ConnectableGreatArc getSelf()
getSelf
in class AbstractPathConnector.ConnectableElement<AbstractGreatArcConnector.ConnectableGreatArc>
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.