Class SingleSpline
- java.lang.Object
-
- com.macrofocus.treemap.voronoi.smoothing.AbstractSmoothedSegment
-
- com.macrofocus.treemap.voronoi.smoothing.SingleSpline
-
- All Implemented Interfaces:
SmoothedSegment
public class SingleSpline extends AbstractSmoothedSegment
-
-
Constructor Summary
Constructors Constructor Description SingleSpline(java.awt.geom.CubicCurve2D curve, Vertex startVertex, Vertex endVertex, LineSegment lineSegment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToGeneralPath(java.awt.geom.GeneralPath generalPath)
SegmentLocation
getNearestSegmentLocation(Vertex vertex)
SmoothedSegment
getSubSegment(SegmentLocation start, SegmentLocation end)
SmoothedSegment
reversed()
-
Methods inherited from class com.macrofocus.treemap.voronoi.smoothing.AbstractSmoothedSegment
getEndVertex, getLineSegment, getStartVertex
-
-
-
-
Constructor Detail
-
SingleSpline
public SingleSpline(java.awt.geom.CubicCurve2D curve, Vertex startVertex, Vertex endVertex, LineSegment lineSegment)
-
-
Method Detail
-
addToGeneralPath
public void addToGeneralPath(java.awt.geom.GeneralPath generalPath)
-
reversed
public SmoothedSegment reversed()
-
getNearestSegmentLocation
public SegmentLocation getNearestSegmentLocation(Vertex vertex)
-
getSubSegment
public SmoothedSegment getSubSegment(SegmentLocation start, SegmentLocation end)
-
-