Package net.opengis.gml.v32.impl
Class LineStringJTS
java.lang.Object
org.locationtech.jts.geom.Geometry
org.locationtech.jts.geom.LineString
net.opengis.gml.v32.impl.LineStringJTS
- All Implemented Interfaces:
Serializable,Cloneable,Comparable,AbstractCurve,AbstractGeometry,AbstractGML,LineString,org.locationtech.jts.geom.Lineal
Implementation of GML LineString derived from JTS LineString class.
- Since:
- Dec 23, 2014
- See Also:
-
Field Summary
Fields inherited from class org.locationtech.jts.geom.LineString
MINIMUM_VALID_SIZE, pointsFields 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
ConstructorsConstructorDescriptionLineStringJTS(org.locationtech.jts.geom.GeometryFactory jtsFactory, int numDims) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddName(CodeWithAuthority name) Adds a new name propertyfinal String[]Gets the axisLabels propertyfinal StringGets the description propertyfinal ReferenceGets the descriptionReference propertyfinal StringgetId()Gets the id propertyfinal CodeWithAuthorityGets the identifier propertyfinal OgcPropertyList<Serializable>Gets the list of metaDataProperty propertiesfinal StringgetName()final List<CodeWithAuthority>Gets the list of name propertiesfinal intReturns number of name propertiesfinal double[]Gets the posList propertyfinal intGets the srsDimension propertyfinal StringGets the srsName propertyfinal StringGets the identifier propertyfinal String[]Gets the uomLabels propertyfinal booleanChecks if axisLabels is setfinal booleanChecks if description is setfinal booleanChecks if descriptionReference is setfinal booleanChecks if identifier is setfinal booleanChecks if posList property is setfinal booleanChecks if srsDimension is setfinal booleanChecks if srsName is setfinal booleanChecks if uomLabels is setfinal voidsetAxisLabels(String[] axisLabels) Sets the axisLabels propertyfinal voidsetDescription(String description) Sets the description propertyfinal voidsetDescriptionReference(Reference descriptionReference) Sets the descriptionReference propertyfinal voidSets the id propertyfinal voidsetIdentifier(CodeWithAuthority identifier) Sets the identifier propertyfinal voidSets the default namefinal voidsetPosList(double[] posList) Sets the posList propertyvoidsetSRID(int srid) final voidsetSrsDimension(int srsDimension) Sets the srsDimension propertyfinal voidsetSrsName(String srsName) Sets the srsName propertyfinal voidsetUniqueIdentifier(String identifier) Sets the identifier propertyfinal voidsetUomLabels(String[] uomLabels) Sets the uomLabels propertyfinal voidUnsets the srsDimension propertyMethods inherited from class org.locationtech.jts.geom.LineString
apply, apply, apply, apply, clone, compareToSameClass, compareToSameClass, computeEnvelopeInternal, copyInternal, equalsExact, getBoundary, getBoundaryDimension, getCoordinate, getCoordinateN, getCoordinates, getCoordinateSequence, getDimension, getEndPoint, getGeometryType, getLength, getNumPoints, getPointN, getStartPoint, getTypeCode, isClosed, isCoordinate, isEmpty, isEquivalentClass, isRing, normalize, reverse, reverseInternalMethods 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, getNumGeometries, getPrecisionModel, getSRID, getUserData, hashCode, hasNonEmptyElements, hasNullElements, intersection, intersects, isGeometryCollection, isRectangle, isSimple, isValid, isWithinDistance, norm, overlaps, relate, relate, setUserData, symDifference, toString, toText, touches, union, union, within
-
Constructor Details
-
LineStringJTS
public LineStringJTS(org.locationtech.jts.geom.GeometryFactory jtsFactory, int numDims)
-
-
Method Details
-
getPosList
public final double[] getPosList()Description copied from interface:LineStringGets the posList property- Specified by:
getPosListin interfaceLineString- Returns:
- double array contanining all coordinates
-
setPosList
public final void setPosList(double[] posList) Description copied from interface:LineStringSets the posList property- Specified by:
setPosListin interfaceLineString- Parameters:
posList- double array containing all coordinates
-
isSetPosList
public final boolean isSetPosList()Description copied from interface:LineStringChecks if posList property is set- Specified by:
isSetPosListin interfaceLineString- Returns:
- true is set
-
getSrsName
Description copied from interface:AbstractGeometryGets the srsName property- Specified by:
getSrsNamein interfaceAbstractGeometry
-
getMetaDataPropertyList
Description copied from interface:AbstractGMLGets the list of metaDataProperty properties- Specified by:
getMetaDataPropertyListin interfaceAbstractGML
-
isSetSrsName
public final boolean isSetSrsName()Description copied from interface:AbstractGeometryChecks if srsName is set- Specified by:
isSetSrsNamein interfaceAbstractGeometry
-
setSrsName
Description copied from interface:AbstractGeometrySets the srsName property- Specified by:
setSrsNamein interfaceAbstractGeometry
-
setSRID
public void setSRID(int srid) - Overrides:
setSRIDin classorg.locationtech.jts.geom.Geometry
-
getSrsDimension
public final int getSrsDimension()Description copied from interface:AbstractGeometryGets the srsDimension property- Specified by:
getSrsDimensionin interfaceAbstractGeometry
-
isSetSrsDimension
public final boolean isSetSrsDimension()Description copied from interface:AbstractGeometryChecks if srsDimension is set- Specified by:
isSetSrsDimensionin interfaceAbstractGeometry
-
getDescription
Description copied from interface:AbstractGMLGets the description property- Specified by:
getDescriptionin interfaceAbstractGML
-
setSrsDimension
public final void setSrsDimension(int srsDimension) Description copied from interface:AbstractGeometrySets the srsDimension property- Specified by:
setSrsDimensionin interfaceAbstractGeometry
-
unSetSrsDimension
public final void unSetSrsDimension()Description copied from interface:AbstractGeometryUnsets the srsDimension property- Specified by:
unSetSrsDimensionin interfaceAbstractGeometry
-
getAxisLabels
Description copied from interface:AbstractGeometryGets the axisLabels property- Specified by:
getAxisLabelsin interfaceAbstractGeometry
-
isSetDescription
public final boolean isSetDescription()Description copied from interface:AbstractGMLChecks if description is set- Specified by:
isSetDescriptionin interfaceAbstractGML
-
isSetAxisLabels
public final boolean isSetAxisLabels()Description copied from interface:AbstractGeometryChecks if axisLabels is set- Specified by:
isSetAxisLabelsin interfaceAbstractGeometry
-
setAxisLabels
Description copied from interface:AbstractGeometrySets the axisLabels property- Specified by:
setAxisLabelsin interfaceAbstractGeometry
-
setDescription
Description copied from interface:AbstractGMLSets the description property- Specified by:
setDescriptionin interfaceAbstractGML
-
getUomLabels
Description copied from interface:AbstractGeometryGets the uomLabels property- Specified by:
getUomLabelsin interfaceAbstractGeometry
-
getDescriptionReference
Description copied from interface:AbstractGMLGets the descriptionReference property- Specified by:
getDescriptionReferencein interfaceAbstractGML
-
isSetUomLabels
public final boolean isSetUomLabels()Description copied from interface:AbstractGeometryChecks if uomLabels is set- Specified by:
isSetUomLabelsin interfaceAbstractGeometry
-
isSetDescriptionReference
public final boolean isSetDescriptionReference()Description copied from interface:AbstractGMLChecks if descriptionReference is set- Specified by:
isSetDescriptionReferencein interfaceAbstractGML
-
setUomLabels
Description copied from interface:AbstractGeometrySets the uomLabels property- Specified by:
setUomLabelsin interfaceAbstractGeometry
-
setDescriptionReference
Description copied from interface:AbstractGMLSets the descriptionReference property- Specified by:
setDescriptionReferencein interfaceAbstractGML
-
getIdentifier
Description copied from interface:AbstractGMLGets the identifier property- Specified by:
getIdentifierin interfaceAbstractGML
-
getUniqueIdentifier
Description copied from interface:AbstractGMLGets the identifier property- Specified by:
getUniqueIdentifierin interfaceAbstractGML
-
isSetIdentifier
public final boolean isSetIdentifier()Description copied from interface:AbstractGMLChecks if identifier is set- Specified by:
isSetIdentifierin interfaceAbstractGML
-
setIdentifier
Description copied from interface:AbstractGMLSets the identifier property- Specified by:
setIdentifierin interfaceAbstractGML
-
setUniqueIdentifier
Description copied from interface:AbstractGMLSets the identifier property- Specified by:
setUniqueIdentifierin interfaceAbstractGML
-
getNameList
Description copied from interface:AbstractGMLGets the list of name properties- Specified by:
getNameListin interfaceAbstractGML
-
getNumNames
public final int getNumNames()Description copied from interface:AbstractGMLReturns number of name properties- Specified by:
getNumNamesin interfaceAbstractGML
-
addName
Description copied from interface:AbstractGMLAdds a new name property- Specified by:
addNamein interfaceAbstractGML
-
setName
Description copied from interface:AbstractGMLSets the default name- Specified by:
setNamein interfaceAbstractGML
-
getName
- Specified by:
getNamein interfaceAbstractGML- Returns:
- the default name
-
getId
Description copied from interface:AbstractGMLGets the id property- Specified by:
getIdin interfaceAbstractGML
-
setId
Description copied from interface:AbstractGMLSets the id property- Specified by:
setIdin interfaceAbstractGML
-
getGeomEnvelope
- Specified by:
getGeomEnvelopein interfaceAbstractGeometry- Returns:
- the geometry bounding (hyper)rectangle
-