GeometryLocation constructor

GeometryLocation(
  1. Geometry component,
  2. int segIndex,
  3. Coordinate pt
)

Constructs a GeometryLocation specifying a point on a geometry, as well as the segment that the point is on (or {@link #INSIDE_AREA} if the point is not on a segment).

@param component the component of the geometry containing the point @param segIndex the segment index of the location, or INSIDE_AREA @param pt the coordinate of the location

Implementation

GeometryLocation(this.component, this.segIndex, this.pt);