|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.geometry.jts.spatialschema.geometry.GeometryImpl
org.geotools.geometry.jts.spatialschema.geometry.primitive.PointImpl
public class PointImpl
Basic data type for a geometric object consisting of one and only one point.
In most cases, the state of a Point
is fully determined by its
position attribute. The only exception to this is if the Point
has been subclassed to provide additional non-geometric information such as
symbology.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl |
---|
GeometryImpl.MathTransformFilter |
Constructor Summary | |
---|---|
PointImpl()
Creates a new PointImpl . |
|
PointImpl(org.opengis.geometry.DirectPosition position)
Creates a new PointImpl . |
|
PointImpl(org.opengis.geometry.DirectPosition position,
org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Creates a new PointImpl . |
Method Summary | |
---|---|
protected com.vividsolutions.jts.geom.Geometry |
computeJTSPeer()
Computes the JTS equivalent of this geometry. |
boolean |
equals(java.lang.Object obj)
|
org.opengis.geometry.primitive.Bearing |
getBearing(org.opengis.geometry.coordinate.Position toPoint)
Not supported in this implementation. |
org.opengis.geometry.primitive.PrimitiveBoundary |
getBoundary()
Returns the boundary of this geometry. |
java.util.Set |
getComplexes()
|
org.opengis.geometry.complex.Composite |
getComposite()
|
java.util.Set |
getContainedPrimitives()
|
java.util.Set |
getContainingPrimitives()
|
org.opengis.geometry.DirectPosition |
getDirectPosition()
Returns a copy of this point's position. |
org.opengis.geometry.DirectPosition |
getPosition()
Deprecated. |
org.opengis.geometry.primitive.OrientablePrimitive[] |
getProxy()
|
int |
hashCode()
|
void |
setDirectPosition(org.opengis.geometry.DirectPosition position)
Makes a copy of the given point and keeps that copy around. |
void |
setPosition(org.opengis.geometry.DirectPosition position)
Deprecated. |
Methods inherited from class org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl |
---|
clone, contains, contains, difference, distance, equals, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getDistance, getEnvelope, getJTSGeometry, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, intersection, intersects, invalidateCachedJTSPeer, isCycle, isMutable, isSimple, listAsSet, setJTSPeer, setParent, symmetricDifference, toImmutable, transform, transform, union |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengis.geometry.Geometry |
---|
clone, distance, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getEnvelope, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, isCycle, isMutable, isSimple, toImmutable, transform, transform |
Methods inherited from interface org.opengis.geometry.TransfiniteSet |
---|
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union |
Constructor Detail |
---|
public PointImpl()
PointImpl
.
public PointImpl(org.opengis.geometry.DirectPosition position)
PointImpl
.
position
- public PointImpl(org.opengis.geometry.DirectPosition position, org.opengis.referencing.crs.CoordinateReferenceSystem crs)
PointImpl
.
position
- crs
- Method Detail |
---|
@Deprecated public org.opengis.geometry.DirectPosition getPosition()
getPosition
in interface org.opengis.geometry.coordinate.Position
public org.opengis.geometry.DirectPosition getDirectPosition()
getDirectPosition
in interface org.opengis.geometry.coordinate.Position
getDirectPosition
in interface org.opengis.geometry.primitive.Point
@Deprecated public void setPosition(org.opengis.geometry.DirectPosition position) throws org.opengis.geometry.UnmodifiableGeometryException
setPosition
in interface org.opengis.geometry.primitive.Point
org.opengis.geometry.UnmodifiableGeometryException
public void setDirectPosition(org.opengis.geometry.DirectPosition position) throws org.opengis.geometry.UnmodifiableGeometryException
setDirectPosition
in interface org.opengis.geometry.primitive.Point
org.opengis.geometry.UnmodifiableGeometryException
public org.opengis.geometry.primitive.PrimitiveBoundary getBoundary()
GeometryImpl
getBoundary
in interface org.opengis.geometry.Geometry
getBoundary
in interface org.opengis.geometry.primitive.Point
getBoundary
in interface org.opengis.geometry.primitive.Primitive
getBoundary
in class GeometryImpl
public org.opengis.geometry.primitive.Bearing getBearing(org.opengis.geometry.coordinate.Position toPoint)
getBearing
in interface org.opengis.geometry.primitive.Point
protected com.vividsolutions.jts.geom.Geometry computeJTSPeer()
computeJTSPeer
in class GeometryImpl
public java.util.Set getContainedPrimitives()
getContainedPrimitives
in interface org.opengis.geometry.primitive.Primitive
public java.util.Set getContainingPrimitives()
getContainingPrimitives
in interface org.opengis.geometry.primitive.Primitive
public java.util.Set getComplexes()
getComplexes
in interface org.opengis.geometry.primitive.Primitive
public org.opengis.geometry.complex.Composite getComposite()
getComposite
in interface org.opengis.geometry.primitive.Primitive
public org.opengis.geometry.primitive.OrientablePrimitive[] getProxy()
getProxy
in interface org.opengis.geometry.primitive.Point
getProxy
in interface org.opengis.geometry.primitive.Primitive
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |