Class SegmentLocation
- java.lang.Object
-
- com.macrofocus.treemap.voronoi.smoothing.SegmentLocation
-
- Direct Known Subclasses:
CurveLocation
,StraightLocation
public abstract class SegmentLocation extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected SmoothedSegment
lineSegment
protected double
minSquaredDistance
-
Constructor Summary
Constructors Constructor Description SegmentLocation(SmoothedSegment lineSegment, double minSquaredDistance, Vertex vertex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmoothedSegment
getLineSegment()
double
getMinSquaredDistance()
Vertex
getVertex()
-
-
-
Field Detail
-
lineSegment
protected final SmoothedSegment lineSegment
-
minSquaredDistance
protected final double minSquaredDistance
-
-
Constructor Detail
-
SegmentLocation
public SegmentLocation(SmoothedSegment lineSegment, double minSquaredDistance, Vertex vertex)
-
-
Method Detail
-
getLineSegment
public SmoothedSegment getLineSegment()
-
getMinSquaredDistance
public double getMinSquaredDistance()
-
getVertex
public Vertex getVertex()
-
-