public interface X3DBoundedObject
Java class for X3DBoundedObject.
X3DBoundedObject indicates that bounding box values can be provided (or computed) for this node and any children. Bounding box values approximate the volume of a containing box in the current coordinate system. Bounding box values can optionally be provided to (or calculated by) 3D browsers. Bounding box values are hints that can improve performance by allowing browsers to inexpensively cull geometry, thus avoiding the computational cost of trying to drawing shapes when they are outside of the current view.
The following schema fragment specifies the expected content contained within this class.
<complexType name="X3DBoundedObject"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="bboxCenter" type="{}SFVec3f" default="0 0 0" /> <attribute name="bboxSize" type="{}BoundingBoxSize" default="-1 -1 -1" /> </restriction> </complexContent> </complexType>
Modifier and Type | Method and Description |
---|---|
SFVec3f |
getBboxCenter()
Gets the value of the bboxCenter property.
|
BoundingBoxSize |
getBboxSize()
Gets the value of the bboxSize property.
|
void |
setBboxCenter(SFVec3f value)
Sets the value of the bboxCenter property.
|
void |
setBboxSize(BoundingBoxSize value)
Sets the value of the bboxSize property.
|
SFVec3f getBboxCenter()
SFVec3f
void setBboxCenter(SFVec3f value)
value
- allowed object is SFVec3f
BoundingBoxSize getBboxSize()
BoundingBoxSize
void setBboxSize(BoundingBoxSize value)
value
- allowed object is BoundingBoxSize