public class Shape extends X3DShapeNode
Java class for an X3D Shape.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{}X3DShapeNode"> </extension> </complexContent> </complexType>
appearance, bboxCenter, bboxSize, geometry
containerField
Constructor and Description |
---|
Shape()
Creates a new empty shape.
|
Shape(X3DGeometryNode geometry,
Appearance appearance)
Creates a new Shape with the provided geometry and appearance.
|
getAppearance, getBboxCenter, getBboxSize, getGeometry, setAppearance, setBboxCenter, setBboxSize, setGeometry
getContainerField, setContainerField
getClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSE
public Shape()
public Shape(X3DGeometryNode geometry, Appearance appearance)
geometry
- the geometry.appearance
- the appearance.