Package com.luciad.format.gml31.model
Class TLcdGML31AbstractSurfacePatch
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.datamodel.TLcdFeaturedDataObject
com.luciad.format.gml31.model.TLcdGML31AbstractSurfacePatch
- All Implemented Interfaces:
ILcdDataObject,ILcdBounded,ILcdShape,ILcdCloneable,ILcdDeepCloneable,ILcdFeatured,ILcdSelfDescribedFeatured,Serializable,Cloneable
- Direct Known Subclasses:
TLcdGML31AbstractParametricCurveSurface,TLcdGML31PolygonPatch,TLcdGML31Rectangle,TLcdGML31Triangle
A surface patch defines a homogeneous portion of a surface.
The AbstractSurfacePatch element is the abstract head of the substitution group for all surface patch elements describing a continuous portion of a surface.
All surface patches shall have an attribute interpolation (declared in the types derived from gml:AbstractSurfacePatchType) specifying the interpolation mechanism used for the patch using gml:SurfaceInterpolationType.
- Since:
- 10.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
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 theILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.Returns the focus point of thisILcdShape.Methods 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, setValue, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.util.ILcdCloneable
clone
-
Constructor Details
-
TLcdGML31AbstractSurfacePatch
-
TLcdGML31AbstractSurfacePatch
public TLcdGML31AbstractSurfacePatch()
-
-
Method Details
-
getFocusPoint
Description copied from interface:ILcdShapeReturns the focus point of thisILcdShape.- Specified by:
getFocusPointin interfaceILcdShape- 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- 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- 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- 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- 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- Returns:
- the
ILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.
-