# Class SegmentLocation

java.lang.Object
com.treemap.swing.voronoi.smoothing.SegmentLocation

Direct Known Subclasses:
  `CurveLocation, StraightLocation`

public abstract class SegmentLocation extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final SmoothedSegment`
  `lineSegment`
  `protected final double`
  `minSquaredDistance`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SegmentLocation(SmoothedSegment lineSegment, double minSquaredDistance, Vertex vertex)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SmoothedSegment`
  `getLineSegment()`
  `double`
  `getMinSquaredDistance()`
  `Vertex`
  `getVertex()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### lineSegment

    protected final SmoothedSegment lineSegment

  - ### minSquaredDistance

    protected final double minSquaredDistance

- ## Constructor Details

  - ### SegmentLocation

    public SegmentLocation(SmoothedSegment lineSegment, double minSquaredDistance, Vertex vertex)

- ## Method Details

  - ### getLineSegment

    public SmoothedSegment getLineSegment()

  - ### getMinSquaredDistance

    public double getMinSquaredDistance()

  - ### getVertex

    public Vertex getVertex()