| Package | Description |
|---|---|
| org.web3d.x3d.jsail.CADGeometry |
The CADGeometry component is provided for Computer-Aided Design (CAD) nodes.
|
| Modifier and Type | Method and Description |
|---|---|
CADFaceObject |
CADFaceObject.addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
CADFaceObject |
CADFaceObject.addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
CADFaceObject |
CADFaceObject.addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
CADFaceObject |
CADFaceObject.clearMetadata()
Utility method to clear SFNode value of metadata field.
|
CADFaceObject |
CADFaceObject.clearShape()
Utility method to clear SFNode value of shape field.
|
CADFaceObject |
CADFaceObject.setBboxCenter(float[] newValue)
Assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
|
CADFaceObject |
CADFaceObject.setBboxCenter(float x,
float y,
float z)
Assign values to SFVec3f bboxCenter field, similar to
setBboxCenter(float[]). |
CADFaceObject |
CADFaceObject.setBboxCenter(SFVec3fObject newValue)
Assign typed object value to SFVec3f bboxCenter field, similar to
setBboxCenter(float[]). |
CADFaceObject |
CADFaceObject.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.
|
CADFaceObject |
CADFaceObject.setBboxSize(float x,
float y,
float z)
Assign values to SFVec3f bboxSize field, similar to
setBboxSize(float[]). |
CADFaceObject |
CADFaceObject.setBboxSize(SFVec3fObject newValue)
Assign typed object value to SFVec3f bboxSize field, similar to
setBboxSize(float[]). |
CADFaceObject |
CADFaceObject.setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
CADFaceObject |
CADFaceObject.setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
CADFaceObject |
CADFaceObject.setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
CADFaceObject |
CADFaceObject.setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
CADFaceObject |
CADFaceObject.setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
CADFaceObject |
CADFaceObject.setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
CADFaceObject |
CADFaceObject.setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
CADFaceObject |
CADFaceObject.setName(SFStringObject newValue)
Assign typed object value to SFString name field, similar to
setName(String). |
CADFaceObject |
CADFaceObject.setName(java.lang.String newValue)
Assign String value to inputOutput SFString field named name.
|
CADFaceObject |
CADFaceObject.setShape(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field shape.
|
CADFaceObject |
CADFaceObject.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 (!
|
CADFaceObject |
CADFaceObject.setUSE(CADFaceObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
CADFaceObject |
CADFaceObject.setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
CADFaceObject |
CADFaceObject.setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CADPartObject.addChildren(CADFaceObject newValue)
Add single node to existing array of children nodes (if any).
|
CADFaceObject |
CADFaceObject.setUSE(CADFaceObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.