Private
constructorThis class should not be instantiated by users of LuciadRIA.
The coordinate type this shape. This property is read only. An Error will be thrown when trying to assign to this property.
The spatial reference of this shape. This property is read only. An Error will be thrown when trying to assign to this property.
Determines whether a given point is inside this shape. This method checks containment only in two dimensions: on the (x,y)-axis or the (lon,lat)-axis (depending on the spatial reference of the shape).
true
when the given point is contained in this shape
Determines whether the given point is inside this oriented box. This method checks containment only in two dimensions: on the (x,y)-axis
Note that since oriented box is a 3D shape, this function will perform its calculation on a projected version of the box.
The x coordinate of the point for which containment must be checked
The y coordinate of the point for which containment must be checked
true
when the given point is contained in this shape
InvalidReferenceError when passing a Point with another spatial reference
Determines whether the given point is inside this oriented box. This method checks containment only in two dimensions: on the (x,y)-axis.
Note that since oriented box is a 3D shape, this function will perform its calculation on a projected version of the box.
The point for which containment must be checked.
true
when the given point is contained in this shape
InvalidReferenceError when passing a Point with another spatial reference
Makes a deep clone of this shape.
a copy of this shape
Indicates whether this shape is equal to another.
the other shape this shape is compared with.
true
if both shapes are equal, false
otherwise.
Gets the 8 corners of this OrientedBox
, in the form of an array of Point objects.
Note that this is a convenience method that will create copies of the corner points as Point objects.
an array of Point objects that are copies corner points of this oriented box.
Applies an Affine3DTransformation transformation to this oriented box.
Note: Currently, only Cartesian transformations are supported.The Affine3DTransformation instance representing the Cartesian transformation
An OrientedBox is a 3D shape, composed of eight corner points, that forms a straight-edged volume. Unlike a conventional 3D bounding box, that is aligned to the axes of its reference system, an OrientedBox can adopt any arbitrary orientation, which is determined by its associated Affine3DTransformation object.
Because
OrientedBox
relies on Cartesian coordinates for defining its shape, it's not available for geodetic references.Note: OrientedBox instances should be created using the createOrientedBox factory function.