|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.gml.GMLReference<T>
org.deegree.gml.geometry.refs.GeometryReference<T>
org.deegree.gml.geometry.refs.GeometricPrimitiveReference<Point>
org.deegree.gml.geometry.refs.PointReference
public class PointReference
The class TODO add class documentation here.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.GeometricPrimitive |
|---|
GeometricPrimitive.PrimitiveType |
| Nested classes/interfaces inherited from interface org.deegree.geometry.Geometry |
|---|
Geometry.GeometryType |
| Constructor Summary | |
|---|---|
PointReference(GMLReferenceResolver resolver,
java.lang.String uri,
java.lang.String baseURL)
Creates a new PointReference instance. |
|
| Method Summary | |
|---|---|
double |
get(int dimension)
Returns the value of the specified ordinate. |
double |
get0()
Returns the value of the first ordinate. |
double |
get1()
Returns the value of the second ordinate. |
double |
get2()
Returns the value of the third ordinate. |
double[] |
getAsArray()
Returns all ordinates. |
GeometricPrimitive.PrimitiveType |
getPrimitiveType()
Returns the type of primitive. |
| Methods inherited from class org.deegree.gml.geometry.refs.GeometricPrimitiveReference |
|---|
getGeometryType |
| Methods inherited from class org.deegree.gml.geometry.refs.GeometryReference |
|---|
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getGMLProperties, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches |
| Methods inherited from class org.deegree.gml.GMLReference |
|---|
getId, getReferencedObject, getURI, isLocal, isResolved, resolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.deegree.geometry.primitive.GeometricPrimitive |
|---|
getGeometryType |
| Methods inherited from interface org.deegree.geometry.Geometry |
|---|
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getId, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches |
| Methods inherited from interface org.deegree.gml.GMLObject |
|---|
getGMLProperties |
| Constructor Detail |
|---|
public PointReference(GMLReferenceResolver resolver,
java.lang.String uri,
java.lang.String baseURL)
PointReference instance.
resolver - used for resolving the reference, must not be nulluri - the geometry's uri, must not be nullbaseURL - base URL for resolving the uri, may be null (no resolving of relative URLs)| Method Detail |
|---|
public double get(int dimension)
Point
get in interface Pointdimension - ordinate to be returned (first dimension=0)
Double.NAN if dimension is greater
than the number of actual dimensionspublic double[] getAsArray()
Point
getAsArray in interface Pointpublic GeometricPrimitive.PrimitiveType getPrimitiveType()
GeometricPrimitive
getPrimitiveType in interface GeometricPrimitivegetPrimitiveType in interface PointgetPrimitiveType in class GeometricPrimitiveReference<Point>public double get0()
Point
get0 in interface Pointpublic double get1()
Point
get1 in interface PointDouble.NAN if the point only has one dimensionpublic double get2()
Point
get2 in interface PointDouble.NAN if the point only has one or two dimensions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||