Class AbstractSmoothedSegment
- java.lang.Object
-
- com.macrofocus.treemap.voronoi.smoothing.AbstractSmoothedSegment
-
- All Implemented Interfaces:
SmoothedSegment
- Direct Known Subclasses:
DoubleSpline,LinearSegment,SingleSpline
public abstract class AbstractSmoothedSegment extends java.lang.Object implements SmoothedSegment
-
-
Constructor Summary
Constructors Constructor Description AbstractSmoothedSegment(LineSegment lineSegment, SegmentDirection direction)AbstractSmoothedSegment(Vertex startVertex, Vertex endVertex, LineSegment lineSegment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexgetEndVertex()LineSegmentgetLineSegment()VertexgetStartVertex()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.treemap.voronoi.smoothing.SmoothedSegment
addToGeneralPath, getNearestSegmentLocation, getSubSegment, reversed
-
-
-
-
Constructor Detail
-
AbstractSmoothedSegment
public AbstractSmoothedSegment(LineSegment lineSegment, SegmentDirection direction)
-
AbstractSmoothedSegment
public AbstractSmoothedSegment(Vertex startVertex, Vertex endVertex, LineSegment lineSegment)
-
-
Method Detail
-
getLineSegment
public LineSegment getLineSegment()
- Specified by:
getLineSegmentin interfaceSmoothedSegment
-
getStartVertex
public Vertex getStartVertex()
- Specified by:
getStartVertexin interfaceSmoothedSegment
-
getEndVertex
public Vertex getEndVertex()
- Specified by:
getEndVertexin interfaceSmoothedSegment
-
-