|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Point
This interface is equivalent to the GM_Point specified in ISO 19107. It is the basic data type for a geometric object consisting of one and only one point.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.gvsig.fmap.geom.Geometry |
---|
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES |
Field Summary |
---|
Fields inherited from interface org.gvsig.fmap.geom.Geometry |
---|
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W |
Method Summary | |
---|---|
double |
getCoordinateAt(int dimension)
Gets the coordinate in a concrete dimension |
double[] |
getCoordinates()
Deprecated. Use getCoordinateAt(int) instead |
DirectPosition |
getDirectPosition()
Gets the of a point , that is
composed by a set of ordinates |
double |
getX()
Returns the X coordinate |
double |
getY()
Returns the Y coordinate |
void |
setCoordinateAt(int dimension,
double value)
Sets a ordinate in a concrete dimension |
void |
setCoordinates(double[] values)
Deprecated. Use #setCoordinateAt(int, double)) instead |
void |
setX(double x)
Sets the X coordinate |
void |
setY(double y)
Sets the Y coordinate |
Methods inherited from interface org.gvsig.fmap.geom.Geometry |
---|
area, buffer, centroid, cloneGeometry, contains, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, fastIntersects, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, intersection, intersects, intersects, invokeOperation, invokeOperation, isSimple, overlaps, perimeter, reProject, touches, transform, union, within |
Methods inherited from interface java.awt.Shape |
---|
contains, contains, contains, contains, getBounds, intersects |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
DirectPosition getDirectPosition()
of a point
, that is
composed by a set of ordinates
void setCoordinateAt(int dimension, double value)
dimension
- The dimension to setvalue
- The value to setvoid setCoordinates(double[] values)
#setCoordinateAt(int, double))
instead
value
- The coordinates to setvoid setX(double x)
x
- The value to setvoid setY(double y)
y
- The value to setdouble getCoordinateAt(int dimension)
dimension
- The ordinate dimension
double[] getCoordinates()
getCoordinateAt(int)
instead
#setCoordinateAt(int, double))
, #setX(double))
or #setY(double))
methods instead.
double getX()
double getY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |