Class CurveLocation
- java.lang.Object
-
- com.macrofocus.treemap.voronoi.smoothing.SegmentLocation
-
- com.macrofocus.treemap.voronoi.smoothing.CurveLocation
-
public class CurveLocation extends SegmentLocation
-
-
Field Summary
-
Fields inherited from class com.macrofocus.treemap.voronoi.smoothing.SegmentLocation
lineSegment, minSquaredDistance
-
-
Constructor Summary
Constructors Constructor Description CurveLocation(java.util.Map.Entry<java.lang.Double,Point2d> nearestSample, java.awt.geom.CubicCurve2D curve, double minSquaredDistance, SmoothedSegment smoothedSegment, Vertex vertex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.CubicCurve2D
getCurve()
java.util.Map.Entry<java.lang.Double,Point2d>
getNearestSample()
-
Methods inherited from class com.macrofocus.treemap.voronoi.smoothing.SegmentLocation
getLineSegment, getMinSquaredDistance, getVertex
-
-
-
-
Constructor Detail
-
CurveLocation
public CurveLocation(java.util.Map.Entry<java.lang.Double,Point2d> nearestSample, java.awt.geom.CubicCurve2D curve, double minSquaredDistance, SmoothedSegment smoothedSegment, Vertex vertex)
-
-
Method Detail
-
getNearestSample
public java.util.Map.Entry<java.lang.Double,Point2d> getNearestSample()
-
getCurve
public java.awt.geom.CubicCurve2D getCurve()
-
-