public interface CADFace extends X3DProductStructureChildNode, X3DBoundedObject
| Modifier and Type | Method and Description |
|---|---|
float[] |
getBboxCenter()
Provide array of 3-tuple float results from initializeOnly SFVec3f field named bboxCenter.
|
float[] |
getBboxSize()
Provide array of 3-tuple float results within allowed range of [0,infinity), or default value [-1 -1 -1], from initializeOnly SFVec3f field named bboxSize.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
java.lang.String |
getName()
Provide String value from inputOutput SFString field named name.
|
X3DNode |
getShape()
Provide X3DNode instance (using a properly typed node) with acceptable node types limited to Shape|LOD|Transform, from inputOutput SFNode field shape.
|
CADFace |
setBboxCenter(float[] newValue)
Assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
|
CADFace |
setBboxSize(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity), or default value [-1 -1 -1], to initializeOnly SFVec3f field named bboxSize.
|
CADFace |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
CADFace |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
CADFace |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
CADFace |
setName(java.lang.String newValue)
Assign String value to inputOutput SFString field named name.
|
CADFace |
setShape(X3DNode newValue)
Assign X3DNode instance (using a properly typed node) with acceptable node types limited to Shape|LOD|Transform, to inputOutput SFNode field shape.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Shape.ShapeObject) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Navigation.LODObject) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.Grouping.TransformObject);
if (!
|
CADFace |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
float[] getBboxCenter()
getBboxCenter in interface X3DBoundedObjectCADFace setBboxCenter(float[] newValue)
setBboxCenter in interface X3DBoundedObjectnewValue - is new value for the bboxCenter field.CADFace - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getBboxSize()
getBboxSize in interface X3DBoundedObjectCADFace setBboxSize(float[] newValue)
setBboxSize in interface X3DBoundedObjectnewValue - is new value for the bboxSize field.CADFace - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DNodegetMetadata in interface X3DProductStructureChildNodeCADFace setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DNodesetMetadata in interface X3DProductStructureChildNodenewValue - is new value for the metadata field.CADFace - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getName()
getName in interface X3DProductStructureChildNodeCADFace setName(java.lang.String newValue)
setName in interface X3DProductStructureChildNodenewValue - is new value for the name field.CADFace - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNode getShape()
CADFace setShape(X3DNode newValue)
newValue - is new value for the shape field.CADFace - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).CADFace setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DNodesetDEF in interface X3DProductStructureChildNodenewValue - is new value for the DEF field.CADFace - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).CADFace setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DNodesetUSE in interface X3DProductStructureChildNodenewValue - is new value for the USE field.CADFace - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).CADFace setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DNodesetCssClass in interface X3DProductStructureChildNodenewValue - is new value for the class field.CADFace - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.