Package net.opengis.gml.v32.impl
Class PointJTS
java.lang.Object
org.locationtech.jts.geom.Geometry
org.locationtech.jts.geom.Point
net.opengis.gml.v32.impl.PointJTS
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable
,AbstractGeometry
,AbstractGML
,Point
,org.locationtech.jts.geom.Puntal
Implementation of GML Point derived from JTS Point class.
- Since:
- Dec 23, 2014
- See Also:
-
Field Summary
Fields inherited from class org.locationtech.jts.geom.Geometry
envelope, factory, SRID, TYPECODE_GEOMETRYCOLLECTION, TYPECODE_LINEARRING, TYPECODE_LINESTRING, TYPECODE_MULTILINESTRING, TYPECODE_MULTIPOINT, TYPECODE_MULTIPOLYGON, TYPECODE_POINT, TYPECODE_POLYGON, TYPENAME_GEOMETRYCOLLECTION, TYPENAME_LINEARRING, TYPENAME_LINESTRING, TYPENAME_MULTILINESTRING, TYPENAME_MULTIPOINT, TYPENAME_MULTIPOLYGON, TYPENAME_POINT, TYPENAME_POLYGON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addName
(CodeWithAuthority name) Adds a new name propertyString[]
Gets the axisLabels propertyGets the description propertyGets the descriptionReference propertygetId()
Gets the id propertyGets the identifier propertyGets the list of metaDataProperty propertiesgetName()
Gets the list of name propertiesint
Returns number of name propertiesdouble[]
getPos()
Gets the pos propertyint
Gets the srsDimension propertyGets the srsName propertyGets the identifier propertyString[]
Gets the uomLabels propertyboolean
Checks if axisLabels is setboolean
Checks if description is setboolean
Checks if descriptionReference is setboolean
Checks if identifier is setboolean
isSetPos()
Checks if pos is setboolean
Checks if srsDimension is setboolean
Checks if srsName is setboolean
Checks if uomLabels is setvoid
setAxisLabels
(String[] axisLabels) Sets the axisLabels propertyvoid
setDescription
(String description) Sets the description propertyvoid
setDescriptionReference
(Reference descriptionReference) Sets the descriptionReference propertyvoid
Sets the id propertyvoid
setIdentifier
(CodeWithAuthority identifier) Sets the identifier propertyvoid
Sets the default namevoid
setPos
(double[] pos) Sets the pos propertyvoid
setSRID
(int srid) void
setSrsDimension
(int srsDimension) Sets the srsDimension propertyfinal void
setSrsName
(String srsName) Sets the srsName propertyvoid
setUniqueIdentifier
(String identifier) Sets the identifier propertyvoid
setUomLabels
(String[] uomLabels) Sets the uomLabels propertyvoid
Unsets the srsDimension propertyMethods inherited from class org.locationtech.jts.geom.Point
apply, apply, apply, apply, clone, compareToSameClass, compareToSameClass, computeEnvelopeInternal, copyInternal, equalsExact, getBoundary, getBoundaryDimension, getCoordinate, getCoordinates, getCoordinateSequence, getDimension, getGeometryType, getNumPoints, getTypeCode, getX, getY, isEmpty, isSimple, normalize, reverse, reverseInternal
Methods inherited from class org.locationtech.jts.geom.Geometry
buffer, buffer, buffer, compare, compareTo, compareTo, contains, convexHull, copy, coveredBy, covers, crosses, difference, disjoint, distance, equal, equals, equals, equalsExact, equalsNorm, equalsTopo, geometryChanged, geometryChangedAction, getArea, getCentroid, getEnvelope, getEnvelopeInternal, getFactory, getGeometryN, getInteriorPoint, getLength, getNumGeometries, getPrecisionModel, getSRID, getUserData, hashCode, hasNonEmptyElements, hasNullElements, intersection, intersects, isEquivalentClass, isGeometryCollection, isRectangle, isValid, isWithinDistance, norm, overlaps, relate, relate, setUserData, symDifference, toString, toText, touches, union, union, within
-
Constructor Details
-
PointJTS
public PointJTS(org.locationtech.jts.geom.GeometryFactory jtsFactory, int numDims)
-
-
Method Details
-
getPos
public double[] getPos()Description copied from interface:Point
Gets the pos property -
isSetPos
public boolean isSetPos()Description copied from interface:Point
Checks if pos is set -
setPos
public void setPos(double[] pos) Description copied from interface:Point
Sets the pos property -
getSrsName
Description copied from interface:AbstractGeometry
Gets the srsName property- Specified by:
getSrsName
in interfaceAbstractGeometry
-
getMetaDataPropertyList
Description copied from interface:AbstractGML
Gets the list of metaDataProperty properties- Specified by:
getMetaDataPropertyList
in interfaceAbstractGML
-
isSetSrsName
public boolean isSetSrsName()Description copied from interface:AbstractGeometry
Checks if srsName is set- Specified by:
isSetSrsName
in interfaceAbstractGeometry
-
setSrsName
Description copied from interface:AbstractGeometry
Sets the srsName property- Specified by:
setSrsName
in interfaceAbstractGeometry
-
setSRID
public void setSRID(int srid) - Overrides:
setSRID
in classorg.locationtech.jts.geom.Geometry
-
getSrsDimension
public int getSrsDimension()Description copied from interface:AbstractGeometry
Gets the srsDimension property- Specified by:
getSrsDimension
in interfaceAbstractGeometry
-
isSetSrsDimension
public boolean isSetSrsDimension()Description copied from interface:AbstractGeometry
Checks if srsDimension is set- Specified by:
isSetSrsDimension
in interfaceAbstractGeometry
-
getDescription
Description copied from interface:AbstractGML
Gets the description property- Specified by:
getDescription
in interfaceAbstractGML
-
setSrsDimension
public void setSrsDimension(int srsDimension) Description copied from interface:AbstractGeometry
Sets the srsDimension property- Specified by:
setSrsDimension
in interfaceAbstractGeometry
-
unSetSrsDimension
public void unSetSrsDimension()Description copied from interface:AbstractGeometry
Unsets the srsDimension property- Specified by:
unSetSrsDimension
in interfaceAbstractGeometry
-
getAxisLabels
Description copied from interface:AbstractGeometry
Gets the axisLabels property- Specified by:
getAxisLabels
in interfaceAbstractGeometry
-
isSetDescription
public boolean isSetDescription()Description copied from interface:AbstractGML
Checks if description is set- Specified by:
isSetDescription
in interfaceAbstractGML
-
isSetAxisLabels
public boolean isSetAxisLabels()Description copied from interface:AbstractGeometry
Checks if axisLabels is set- Specified by:
isSetAxisLabels
in interfaceAbstractGeometry
-
setAxisLabels
Description copied from interface:AbstractGeometry
Sets the axisLabels property- Specified by:
setAxisLabels
in interfaceAbstractGeometry
-
setDescription
Description copied from interface:AbstractGML
Sets the description property- Specified by:
setDescription
in interfaceAbstractGML
-
getUomLabels
Description copied from interface:AbstractGeometry
Gets the uomLabels property- Specified by:
getUomLabels
in interfaceAbstractGeometry
-
getDescriptionReference
Description copied from interface:AbstractGML
Gets the descriptionReference property- Specified by:
getDescriptionReference
in interfaceAbstractGML
-
isSetUomLabels
public boolean isSetUomLabels()Description copied from interface:AbstractGeometry
Checks if uomLabels is set- Specified by:
isSetUomLabels
in interfaceAbstractGeometry
-
isSetDescriptionReference
public boolean isSetDescriptionReference()Description copied from interface:AbstractGML
Checks if descriptionReference is set- Specified by:
isSetDescriptionReference
in interfaceAbstractGML
-
setUomLabels
Description copied from interface:AbstractGeometry
Sets the uomLabels property- Specified by:
setUomLabels
in interfaceAbstractGeometry
-
setDescriptionReference
Description copied from interface:AbstractGML
Sets the descriptionReference property- Specified by:
setDescriptionReference
in interfaceAbstractGML
-
getIdentifier
Description copied from interface:AbstractGML
Gets the identifier property- Specified by:
getIdentifier
in interfaceAbstractGML
-
getUniqueIdentifier
Description copied from interface:AbstractGML
Gets the identifier property- Specified by:
getUniqueIdentifier
in interfaceAbstractGML
-
isSetIdentifier
public boolean isSetIdentifier()Description copied from interface:AbstractGML
Checks if identifier is set- Specified by:
isSetIdentifier
in interfaceAbstractGML
-
setIdentifier
Description copied from interface:AbstractGML
Sets the identifier property- Specified by:
setIdentifier
in interfaceAbstractGML
-
setUniqueIdentifier
Description copied from interface:AbstractGML
Sets the identifier property- Specified by:
setUniqueIdentifier
in interfaceAbstractGML
-
getNameList
Description copied from interface:AbstractGML
Gets the list of name properties- Specified by:
getNameList
in interfaceAbstractGML
-
getNumNames
public int getNumNames()Description copied from interface:AbstractGML
Returns number of name properties- Specified by:
getNumNames
in interfaceAbstractGML
-
addName
Description copied from interface:AbstractGML
Adds a new name property- Specified by:
addName
in interfaceAbstractGML
-
setName
Description copied from interface:AbstractGML
Sets the default name- Specified by:
setName
in interfaceAbstractGML
-
getName
- Specified by:
getName
in interfaceAbstractGML
- Returns:
- the default name
-
getId
Description copied from interface:AbstractGML
Gets the id property- Specified by:
getId
in interfaceAbstractGML
-
setId
Description copied from interface:AbstractGML
Sets the id property- Specified by:
setId
in interfaceAbstractGML
-
getGeomEnvelope
- Specified by:
getGeomEnvelope
in interfaceAbstractGeometry
- Returns:
- the geometry bounding (hyper)rectangle
-