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 SmoothedSegmentlineSegmentprotected doubleminSquaredDistance
-
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 SmoothedSegmentgetLineSegment()doublegetMinSquaredDistance()VertexgetVertex()
-
-
-
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()
-
-