| java.lang.Object com.vividsolutions.jts.geom.Geometry com.vividsolutions.jts.geom.LineString com.vividsolutions.jts.geom.LinearRing
LinearRing | public class LinearRing extends LineString (Code) | | Models an OGC SFS LinearRing .
A LinearRing is a LineString which is both closed and simple.
In other words,
the first and last coordinate in the ring must be equal,
and the interior of the ring must not self-intersect.
Either orientation of the ring is allowed.
version: 1.7 |
Method Summary | |
public int | getBoundaryDimension() Returns Dimension.FALSE , since by definition LinearRings do
not have a boundary. | public String | getGeometryType() | public boolean | isSimple() Returns true , since by definition LinearRings are always simple. |
LinearRing | public LinearRing(Coordinate points, PrecisionModel precisionModel, int SRID)(Code) | | Constructs a LinearRing with the given points.
Parameters: points - points forming a closed and simple linestring, ornull or an empty array to create the empty geometry.This array must not contain null elements. Parameters: precisionModel - the specification of the grid of allowable pointsfor this LinearRing Parameters: SRID - the ID of the Spatial Reference System used by thisLinearRing |
LinearRing | public LinearRing(CoordinateSequence points, GeometryFactory factory)(Code) | | Constructs a LinearRing with the vertices
specifed by the given
CoordinateSequence .
Parameters: points - a sequence points forming a closed and simple linestring, ornull to create the empty geometry. |
getBoundaryDimension | public int getBoundaryDimension()(Code) | | Returns Dimension.FALSE , since by definition LinearRings do
not have a boundary.
Dimension.FALSE |
isSimple | public boolean isSimple()(Code) | | Returns true , since by definition LinearRings are always simple.
true See Also: Geometry.isSimple |
Methods inherited from com.vividsolutions.jts.geom.Geometry | abstract public void apply(CoordinateFilter filter)(Code)(Java Doc) abstract public void apply(CoordinateSequenceFilter filter)(Code)(Java Doc) abstract public void apply(GeometryFilter filter)(Code)(Java Doc) abstract public void apply(GeometryComponentFilter filter)(Code)(Java Doc) public Geometry buffer(double distance)(Code)(Java Doc) public Geometry buffer(double distance, int quadrantSegments)(Code)(Java Doc) public Geometry buffer(double distance, int quadrantSegments, int endCapStyle)(Code)(Java Doc) protected void checkNotGeometryCollection(Geometry g)(Code)(Java Doc) public Object clone()(Code)(Java Doc) protected int compare(Collection a, Collection b)(Code)(Java Doc) public int compareTo(Object o)(Code)(Java Doc) public int compareTo(Object o, CoordinateSequenceComparator comp)(Code)(Java Doc) abstract protected int compareToSameClass(Object o)(Code)(Java Doc) abstract protected int compareToSameClass(Object o, CoordinateSequenceComparator comp)(Code)(Java Doc) abstract protected Envelope computeEnvelopeInternal()(Code)(Java Doc) public boolean contains(Geometry g)(Code)(Java Doc) public Geometry convexHull()(Code)(Java Doc) public boolean coveredBy(Geometry g)(Code)(Java Doc) public boolean covers(Geometry g)(Code)(Java Doc) public boolean crosses(Geometry g)(Code)(Java Doc) public Geometry difference(Geometry other)(Code)(Java Doc) public boolean disjoint(Geometry g)(Code)(Java Doc) public double distance(Geometry g)(Code)(Java Doc) protected boolean equal(Coordinate a, Coordinate b, double tolerance)(Code)(Java Doc) public boolean equals(Geometry g)(Code)(Java Doc) abstract public boolean equalsExact(Geometry other, double tolerance)(Code)(Java Doc) public boolean equalsExact(Geometry other)(Code)(Java Doc) public void geometryChanged()(Code)(Java Doc) protected void geometryChangedAction()(Code)(Java Doc) public double getArea()(Code)(Java Doc) abstract public Geometry getBoundary()(Code)(Java Doc) abstract public int getBoundaryDimension()(Code)(Java Doc) public Point getCentroid()(Code)(Java Doc) abstract public Coordinate getCoordinate()(Code)(Java Doc) abstract public Coordinate[] getCoordinates()(Code)(Java Doc) abstract public int getDimension()(Code)(Java Doc) public Geometry getEnvelope()(Code)(Java Doc) public Envelope getEnvelopeInternal()(Code)(Java Doc) public GeometryFactory getFactory()(Code)(Java Doc) public Geometry getGeometryN(int n)(Code)(Java Doc) abstract public String getGeometryType()(Code)(Java Doc) public Point getInteriorPoint()(Code)(Java Doc) public double getLength()(Code)(Java Doc) public int getNumGeometries()(Code)(Java Doc) abstract public int getNumPoints()(Code)(Java Doc) public PrecisionModel getPrecisionModel()(Code)(Java Doc) public int getSRID()(Code)(Java Doc) public Object getUserData()(Code)(Java Doc) protected static boolean hasNonEmptyElements(Geometry[] geometries)(Code)(Java Doc) protected static boolean hasNullElements(Object[] array)(Code)(Java Doc) public Geometry intersection(Geometry other)(Code)(Java Doc) public boolean intersects(Geometry g)(Code)(Java Doc) abstract public boolean isEmpty()(Code)(Java Doc) protected boolean isEquivalentClass(Geometry other)(Code)(Java Doc) public boolean isRectangle()(Code)(Java Doc) public boolean isSimple()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) public boolean isWithinDistance(Geometry geom, double distance)(Code)(Java Doc) abstract public void normalize()(Code)(Java Doc) public boolean overlaps(Geometry g)(Code)(Java Doc) public boolean relate(Geometry g, String intersectionPattern)(Code)(Java Doc) public IntersectionMatrix relate(Geometry g)(Code)(Java Doc) public void setSRID(int SRID)(Code)(Java Doc) public void setUserData(Object userData)(Code)(Java Doc) public Geometry symDifference(Geometry other)(Code)(Java Doc) public String toString()(Code)(Java Doc) public String toText()(Code)(Java Doc) public boolean touches(Geometry g)(Code)(Java Doc) public Geometry union(Geometry other)(Code)(Java Doc) public boolean within(Geometry g)(Code)(Java Doc)
|
|
|