public class FacetSequence extends Object
Geometry
specified by a subsequence of a CoordinateSequence
.Constructor and Description |
---|
FacetSequence(CoordinateSequence pts,
int start)
Creates a new sequence for a single point from a CoordinateSequence.
|
FacetSequence(CoordinateSequence pts,
int start,
int end)
Creates a new section based on a CoordinateSequence.
|
Modifier and Type | Method and Description |
---|---|
double |
distance(FacetSequence facetSeq) |
Coordinate |
getCoordinate(int index) |
Envelope |
getEnvelope() |
boolean |
isPoint() |
int |
size() |
String |
toString() |
public FacetSequence(CoordinateSequence pts, int start, int end)
pts
- the sequence holding the points in the sectionstart
- the index of the start pointend
- the index of the end point + 1public FacetSequence(CoordinateSequence pts, int start)
pts
- the sequence holding the points in the facet sequencestart
- the index of the pointpublic Envelope getEnvelope()
public int size()
public Coordinate getCoordinate(int index)
public boolean isPoint()
public double distance(FacetSequence facetSeq)
Copyright © 2016. All rights reserved.