Package | Description |
---|---|
org.apache.commons.geometry.euclidean.twod.path |
This package provides classes for working with connected sequences of
line segments and other line subsets.
|
Modifier and Type | Method and Description |
---|---|
AbstractLinePathConnector.ConnectableLineSubset |
AbstractLinePathConnector.ConnectableLineSubset.getConnectionSearchKey()
Get a new instance used as a search key to help locate other elements
with start points matching this instance's end point.
|
protected AbstractLinePathConnector.ConnectableLineSubset |
AbstractLinePathConnector.ConnectableLineSubset.getSelf()
Return the current instance as the generic type.
|
protected AbstractLinePathConnector.ConnectableLineSubset |
InteriorAngleLinePathConnector.selectConnection(AbstractLinePathConnector.ConnectableLineSubset incoming,
List<AbstractLinePathConnector.ConnectableLineSubset> outgoing)
Method called to select a connection to use for a given segment when multiple non-length-zero
connections are available.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractLinePathConnector.ConnectableLineSubset.canConnectTo(AbstractLinePathConnector.ConnectableLineSubset next)
Return true if this instance's end point can be connected to
the argument's start point.
|
int |
AbstractLinePathConnector.ConnectableLineSubset.compareTo(AbstractLinePathConnector.ConnectableLineSubset other) |
boolean |
AbstractLinePathConnector.ConnectableLineSubset.endPointsEq(AbstractLinePathConnector.ConnectableLineSubset other)
Return true if the end point of this instance should be considered
equivalent to the end point of the argument.
|
double |
AbstractLinePathConnector.ConnectableLineSubset.getRelativeAngle(AbstractLinePathConnector.ConnectableLineSubset next)
Return the relative angle between this element and the argument.
|
protected AbstractLinePathConnector.ConnectableLineSubset |
InteriorAngleLinePathConnector.selectConnection(AbstractLinePathConnector.ConnectableLineSubset incoming,
List<AbstractLinePathConnector.ConnectableLineSubset> outgoing)
Method called to select a connection to use for a given segment when multiple non-length-zero
connections are available.
|
boolean |
AbstractLinePathConnector.ConnectableLineSubset.shouldContinueConnectionSearch(AbstractLinePathConnector.ConnectableLineSubset candidate,
boolean ascending)
Return true if the search for possible connections should continue through
the sorted set of possible path elements given the current candidate element
and search direction.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractLinePathConnector.ConnectableLineSubset |
InteriorAngleLinePathConnector.selectConnection(AbstractLinePathConnector.ConnectableLineSubset incoming,
List<AbstractLinePathConnector.ConnectableLineSubset> outgoing)
Method called to select a connection to use for a given segment when multiple non-length-zero
connections are available.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.