- All Implemented Interfaces:
- Node, PlaneCoordinates, Comparable<Node>
public final class GeneralisedNode
extends SourceNode
A node defining a line string generalised by combination. This type inherits
everything from SourceNode because GeneralisedSections are AbstractLines,
which expect to be made out of SourceNodes. The only purpose of this class
is to avoid having to instantiate new objects called "source" at the end of
the process. That said, doing so would be less counter-intuitive as it may
seem, first and foremost because the output is expected to be in the same
data format as the input, but also because there actually are use
cases for re-using the output data for another run of the generalisation
algorithm, for example for instances of more than two parallel lines.
- See Also:
GeneralisedSection
,
NodeMatch.midPoint()