Class TLcdGML31OrientableSurface
- All Implemented Interfaces:
ILcdDataObject,ILcdBounded,ILcdShape,ILcdCloneable,ILcdDeepCloneable,ILcdFeatured,ILcdSelfDescribedFeatured,Serializable,Cloneable
- Since:
- 10.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to thebaseSurfaceelement.static final TLcdDataPropertyProperty that maps on thegidattribute.static final TLcdDataPropertyData property that maps to theorientationattribute.Fields inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGeometry
SRS_PROPERTYFields inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
DESCRIPTION_PROPERTY, ID_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionTLcdGML31OrientableSurface(TLcdDataType aDataType, ILcdModelReference aSrs) Constructs an orientable surface and initializes its model reference (srs).Constructs an orientable surface and initializes its model reference (srs). -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains2D(double v, double v1) Checks whether thisILcdShapecontains the given point in the 2D space.booleancontains2D(ILcdPoint aILcdPoint) Checks whether thisILcdShapecontains the givenILcdPointin the 2D space.booleancontains3D(double v, double v1, double v2) Checks whether thisILcdShapecontains the given point in the 3D space.booleancontains3D(ILcdPoint aILcdPoint) Checks whether thisILcdShapecontains the givenILcdPointin the 3D space.Returns the value of the property that maps to thebaseSurfaceelement.Returns theILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.Returns the focus point of thisILcdShape.getGid()Gets the value of theGID_PROPERTYproperty.Returns the value of the property that maps to theorientationattribute.voidSets the value of the property that maps to thebaseSurfaceelement.voidSets the value of theGID_PROPERTYproperty.voidsetOrientation(ELcdGML31Sign aValue) Sets the value of the property that maps to theorientationattribute.Methods inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGeometry
getSrs, setSrs, toStringMethods inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractGML
getDescription, getId, getMetaDataProperty, getName, setDescription, setIdMethods inherited from class com.luciad.datamodel.TLcdFeaturedDataObject
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeatureMethods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.util.ILcdCloneable
clone
-
Field Details
-
ORIENTATION_PROPERTY
Data property that maps to theorientationattribute. The possible values for this property are instances ofELcdGML31Sign. -
BASE_SURFACE_PROPERTY
Data property that maps to thebaseSurfaceelement. The possible values for this property are instances ofTLcdGML31SurfaceProperty. -
GID_PROPERTY
Property that maps on thegidattribute. Acceptable values for this property are instances ofjava.lang.String.
-
-
Constructor Details
-
TLcdGML31OrientableSurface
public TLcdGML31OrientableSurface() -
TLcdGML31OrientableSurface
-
TLcdGML31OrientableSurface
Constructs an orientable surface and initializes its model reference (srs).- Parameters:
aSrs- the model reference for this object- See Also:
-
TLcdGML31OrientableSurface
Constructs an orientable surface and initializes its model reference (srs).- Parameters:
aSrs- the model reference for this object- See Also:
-
-
Method Details
-
getFocusPoint
Description copied from interface:ILcdShapeReturns the focus point of thisILcdShape.- Specified by:
getFocusPointin interfaceILcdShape- Overrides:
getFocusPointin classTLcdGML31AbstractGeometry- Returns:
- the focus point of this
ILcdShape.
-
contains2D
Description copied from interface:ILcdShapeChecks whether thisILcdShapecontains the givenILcdPointin the 2D space. Only the first two dimensions of theILcdShapeand theILcdPointare considered.- Specified by:
contains2Din interfaceILcdShape- Overrides:
contains2Din classTLcdGML31AbstractGeometry- Parameters:
aILcdPoint- theILcdPointto test.- Returns:
- the boolean result of the containment test.
- See Also:
-
contains2D
public boolean contains2D(double v, double v1) Description copied from interface:ILcdShapeChecks whether thisILcdShapecontains the given point in the 2D space. Only the first two dimensions of theILcdShapeare considered.- Specified by:
contains2Din interfaceILcdShape- Overrides:
contains2Din classTLcdGML31AbstractGeometry- Parameters:
v- the x coordinate of the point.v1- the y coordinate of the point.- Returns:
- the boolean result of the containment test.
-
contains3D
Description copied from interface:ILcdShapeChecks whether thisILcdShapecontains the givenILcdPointin the 3D space.- Specified by:
contains3Din interfaceILcdShape- Overrides:
contains3Din classTLcdGML31AbstractGeometry- Parameters:
aILcdPoint- theILcdPointto test.- Returns:
- the boolean result of the containment test.
- See Also:
-
contains3D
public boolean contains3D(double v, double v1, double v2) Description copied from interface:ILcdShapeChecks whether thisILcdShapecontains the given point in the 3D space.- Specified by:
contains3Din interfaceILcdShape- Overrides:
contains3Din classTLcdGML31AbstractGeometry- Parameters:
v- the x coordinate of the point.v1- the y coordinate of the point.v2- the z coordinate of the point.- Returns:
- the boolean result of the containment test.
-
getBounds
Description copied from interface:ILcdBoundedReturns theILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.If the geometry does not allow retrieving valid bounds (for example a polyline with 0 points) the return value is unspecified. It is highly recommended to return an
undefinedbounds. You can create undefined bounds using the default constructors ofTLcdLonLatBoundsorTLcdXYBounds.- Specified by:
getBoundsin interfaceILcdBounded- Overrides:
getBoundsin classTLcdGML31AbstractGeometry- Returns:
- the
ILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.
-
getOrientation
Returns the value of the property that maps to theorientationattribute.If the orientation is "+", then the OrientableSurface is identical to the baseSurface. If the orientation is "-", then the OrientableSurface is a reference to a Surface with an up-normal that reverses the direction for this OrientableSurface, the sense of "the top of the surface". "+" is the default value.
- Returns:
- the value of the
ORIENTATION_PROPERTYproperty.
-
setOrientation
Sets the value of the property that maps to theorientationattribute.If the orientation is "+", then the OrientableSurface is identical to the baseSurface. If the orientation is "-", then the OrientableSurface is a reference to a Surface with an up-normal that reverses the direction for this OrientableSurface, the sense of "the top of the surface". "+" is the default value.
- Parameters:
aValue- the value to set for theORIENTATION_PROPERTYproperty.
-
getBaseSurface
Returns the value of the property that maps to thebaseSurfaceelement.This property element either references a surface via the XLink-attributes or contains the surface element. A surface element is any element which is substitutable for "_Surface".
- Returns:
- the value of the
BASE_SURFACE_PROPERTYproperty. - See Also:
-
setBaseSurface
Sets the value of the property that maps to thebaseSurfaceelement.This property element either references a surface via the XLink-attributes or contains the surface element. A surface element is any element which is substitutable for "_Surface".
- Parameters:
aValue- the value to set for theBASE_SURFACE_PROPERTYproperty.
-
getGid
Gets the value of theGID_PROPERTYproperty.This attribute is included for backward compatibility with GML 2 and is deprecated with GML 3. This identifer is superceded by "gml:id" inherited from AbstractGMLType. The attribute "gid" should not be used anymore and may be deleted in future versions of GML without further notice.
- Returns:
- the value of the
GID_PROPERTYproperty.
-
setGid
Sets the value of theGID_PROPERTYproperty.This attribute is included for backward compatibility with GML 2 and is deprecated with GML 3. This identifer is superceded by "gml:id" inherited from AbstractGMLType. The attribute "gid" should not be used anymore and may be deleted in future versions of GML without further notice.
- Parameters:
aValue- the value to set for theGID_PROPERTYproperty.
-