Package net.opengis.citygml.v_2_0
Class ImplicitGeometryType
- java.lang.Object
-
- net.opengis.gml.v_3_1_1.AbstractGMLType
-
- net.opengis.citygml.v_2_0.ImplicitGeometryType
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
public class ImplicitGeometryType extends AbstractGMLType implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Type for the implicit representation of a geometry. An implicit geometry is a geometric object, where the shape is stored only once as a prototypical geometry, e.g. a tree or other vegetation object, a traffic light or a traffic sign. This prototypic geometry object is re-used or referenced many times, wherever the corresponding feature occurs in the 3D city model. Each occurrence is represented by a link to the prototypic shape geometry (in a local cartesian coordinate system), by a transforma-tion matrix that is multiplied with each 3D coordinate tuple of the prototype, and by an anchor point denoting the base point of the object in the world coordinate reference system. In order to determine the absolute coordinates of an implicit geometry, the anchor point coordinates have to be added to the matrix multiplication results. The transformation matrix accounts for the intended rotation, scaling, and local translation of the prototype. It is a 4x4 matrix that is multiplied with the prototype coordinates using homogeneous coordinates, i.e. (x,y,z,1). This way even a projection might be modelled by the transformation matrix. The concept of implicit geometries is an enhancement of the geometry model of GML3.Java class for ImplicitGeometryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ImplicitGeometryType"> <complexContent> <extension base="{http://www.opengis.net/gml}AbstractGMLType"> <sequence> <element name="mimeType" type="{http://www.opengis.net/gml}CodeType" minOccurs="0"/> <element name="transformationMatrix" type="{http://www.opengis.net/citygml/2.0}TransformationMatrix4x4Type" minOccurs="0"/> <element name="libraryObject" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> <element name="relativeGMLGeometry" type="{http://www.opengis.net/gml}GeometryPropertyType" minOccurs="0"/> <element name="referencePoint" type="{http://www.opengis.net/gml}PointPropertyType"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringlibraryObjectprotected CodeTypemimeTypeprotected PointPropertyTypereferencePointprotected GeometryPropertyTyperelativeGMLGeometryprotected List<Double>transformationMatrix-
Fields inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
description, id, metaDataProperty, name
-
-
Constructor Summary
Constructors Constructor Description ImplicitGeometryType()Default no-arg constructorImplicitGeometryType(CodeType mimeType, List<Double> transformationMatrix, String libraryObject, GeometryPropertyType relativeGMLGeometry, PointPropertyType referencePoint)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)StringgetLibraryObject()Gets the value of the libraryObject property.CodeTypegetMimeType()Gets the value of the mimeType property.PointPropertyTypegetReferencePoint()Gets the value of the referencePoint property.GeometryPropertyTypegetRelativeGMLGeometry()Gets the value of the relativeGMLGeometry property.List<Double>getTransformationMatrix()Gets the value of the transformationMatrix property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetLibraryObject()booleanisSetMimeType()booleanisSetReferencePoint()booleanisSetRelativeGMLGeometry()booleanisSetTransformationMatrix()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetLibraryObject(String value)Sets the value of the libraryObject property.voidsetMimeType(CodeType value)Sets the value of the mimeType property.voidsetReferencePoint(PointPropertyType value)Sets the value of the referencePoint property.voidsetRelativeGMLGeometry(GeometryPropertyType value)Sets the value of the relativeGMLGeometry property.voidsetTransformationMatrix(List<Double> value)StringtoString()voidunsetTransformationMatrix()ImplicitGeometryTypewithLibraryObject(String value)ImplicitGeometryTypewithMimeType(CodeType value)ImplicitGeometryTypewithReferencePoint(PointPropertyType value)ImplicitGeometryTypewithRelativeGMLGeometry(GeometryPropertyType value)ImplicitGeometryTypewithTransformationMatrix(Double... values)ImplicitGeometryTypewithTransformationMatrix(Collection<Double> values)ImplicitGeometryTypewithTransformationMatrix(List<Double> value)-
Methods inherited from class net.opengis.gml.v_3_1_1.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, setDescription, setId, setMetaDataProperty, setName, unsetMetaDataProperty, unsetName, withDescription, withId, withMetaDataProperty, withMetaDataProperty, withMetaDataProperty, withName, withName, withName
-
-
-
-
Field Detail
-
mimeType
protected CodeType mimeType
-
libraryObject
protected String libraryObject
-
relativeGMLGeometry
protected GeometryPropertyType relativeGMLGeometry
-
referencePoint
protected PointPropertyType referencePoint
-
-
Constructor Detail
-
ImplicitGeometryType
public ImplicitGeometryType()
Default no-arg constructor
-
ImplicitGeometryType
public ImplicitGeometryType(CodeType mimeType, List<Double> transformationMatrix, String libraryObject, GeometryPropertyType relativeGMLGeometry, PointPropertyType referencePoint)
Fully-initialising value constructor
-
-
Method Detail
-
getMimeType
public CodeType getMimeType()
Gets the value of the mimeType property.- Returns:
- possible object is
CodeType
-
setMimeType
public void setMimeType(CodeType value)
Sets the value of the mimeType property.- Parameters:
value- allowed object isCodeType
-
isSetMimeType
public boolean isSetMimeType()
-
getTransformationMatrix
public List<Double> getTransformationMatrix()
Gets the value of the transformationMatrix property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the transformationMatrix property.For example, to add a new item, do as follows:
getTransformationMatrix().add(newItem);Objects of the following type(s) are allowed in the list
Double
-
isSetTransformationMatrix
public boolean isSetTransformationMatrix()
-
unsetTransformationMatrix
public void unsetTransformationMatrix()
-
getLibraryObject
public String getLibraryObject()
Gets the value of the libraryObject property.- Returns:
- possible object is
String
-
setLibraryObject
public void setLibraryObject(String value)
Sets the value of the libraryObject property.- Parameters:
value- allowed object isString
-
isSetLibraryObject
public boolean isSetLibraryObject()
-
getRelativeGMLGeometry
public GeometryPropertyType getRelativeGMLGeometry()
Gets the value of the relativeGMLGeometry property.- Returns:
- possible object is
GeometryPropertyType
-
setRelativeGMLGeometry
public void setRelativeGMLGeometry(GeometryPropertyType value)
Sets the value of the relativeGMLGeometry property.- Parameters:
value- allowed object isGeometryPropertyType
-
isSetRelativeGMLGeometry
public boolean isSetRelativeGMLGeometry()
-
getReferencePoint
public PointPropertyType getReferencePoint()
Gets the value of the referencePoint property.- Returns:
- possible object is
PointPropertyType
-
setReferencePoint
public void setReferencePoint(PointPropertyType value)
Sets the value of the referencePoint property.- Parameters:
value- allowed object isPointPropertyType
-
isSetReferencePoint
public boolean isSetReferencePoint()
-
toString
public String toString()
- Overrides:
toStringin classAbstractGMLType
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classAbstractGMLType
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classAbstractGMLType
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals- Overrides:
equalsin classAbstractGMLType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractGMLType
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode- Overrides:
hashCodein classAbstractGMLType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractGMLType
-
clone
public Object clone()
- Overrides:
clonein classAbstractGMLType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractGMLType
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classAbstractGMLType
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classAbstractGMLType
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classAbstractGMLType
-
withMimeType
public ImplicitGeometryType withMimeType(CodeType value)
-
withTransformationMatrix
public ImplicitGeometryType withTransformationMatrix(Double... values)
-
withTransformationMatrix
public ImplicitGeometryType withTransformationMatrix(Collection<Double> values)
-
withLibraryObject
public ImplicitGeometryType withLibraryObject(String value)
-
withRelativeGMLGeometry
public ImplicitGeometryType withRelativeGMLGeometry(GeometryPropertyType value)
-
withReferencePoint
public ImplicitGeometryType withReferencePoint(PointPropertyType value)
-
withTransformationMatrix
public ImplicitGeometryType withTransformationMatrix(List<Double> value)
-
-