| Package | Description |
|---|---|
| org.web3d.x3d.jsail.NURBS |
The NURBS component describes Non-uniform Rational B-Spline (NURBS) geometry and interpolation
nodes.
|
| Modifier and Type | Method and Description |
|---|---|
Contour2DObject |
Contour2DObject.addChild(ContourPolyline2DObject newValue)
Add single children node to array of existing children nodes (if any) for Contour2D.
|
Contour2DObject |
Contour2DObject.addChild(NurbsCurve2DObject newValue)
Add single children node to array of existing children nodes (if any) for Contour2D.
|
Contour2DObject |
Contour2DObject.addChild(X3DChildNode newValue)
Utility method to add single child element to contained list of existing children nodes (if any).
|
Contour2DObject |
Contour2DObject.addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to children field
|
Contour2DObject |
Contour2DObject.addComments(java.lang.String newComment)
Add comment as CommentsBlock to children field
|
Contour2DObject |
Contour2DObject.addComments(java.lang.String[] newComments)
Add comments as String[] array to children field
|
Contour2DObject |
Contour2DObject.clearChildren()
Utility method to clear MFNode value of children field.
|
Contour2DObject |
Contour2DObject.clearMetadata()
Utility method to clear SFNode value of metadata field.
|
Contour2DObject |
Contour2DObject.setChildren(java.util.ArrayList<X3DNode> newValue)
Assign ArrayList value of MFNode children field, similar to
setChildren(X3DNode[]). |
Contour2DObject |
Contour2DObject.setChildren(X3DNode[] newValue)
Assign X3DNode array (using an array consisting of properly typed nodes or ProtoInstanceObjects) with acceptable node types limited to NurbsCurve2D|ContourPolyline2D, to inputOutput MFNode field children.
// newValueInstanceAcceptableNodeTypesTest checks are needed for methods that override/subset X3DNode interfaces #1
boolean isNodeTypeAllowed =
(newValue instanceof org.web3d.x3d.jsail.Core.CommentsBlock) ||
(newValue instanceof org.web3d.x3d.jsail.Core.ROUTEObject) ||
(newValue instanceof org.web3d.x3d.jsail.Networking.IMPORTObject) ||
(newValue instanceof org.web3d.x3d.jsail.Networking.EXPORTObject) ||
(newValue instanceof org.web3d.x3d.jsail.Core.ProtoDeclareObject) ||
(newValue instanceof org.web3d.x3d.jsail.Core.ExternProtoDeclareObject) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.NURBS.NurbsCurve2DObject) ||
(((X3DConcreteNode)newValue) instanceof org.web3d.x3d.jsail.NURBS.ContourPolyline2DObject);
if (!
|
Contour2DObject |
Contour2DObject.setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
Contour2DObject |
Contour2DObject.setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
Contour2DObject |
Contour2DObject.setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
Contour2DObject |
Contour2DObject.setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
Contour2DObject |
Contour2DObject.setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
Contour2DObject |
Contour2DObject.setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
Contour2DObject |
Contour2DObject.setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
Contour2DObject |
Contour2DObject.setUSE(Contour2DObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
Contour2DObject |
Contour2DObject.setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
Contour2DObject |
Contour2DObject.setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
| Modifier and Type | Method and Description |
|---|---|
NurbsTrimmedSurfaceObject |
NurbsTrimmedSurfaceObject.addTrimmingContour(Contour2DObject newValue)
Add single child node to existing array of trimmingContour nodes (if any).
|
Contour2DObject |
Contour2DObject.setUSE(Contour2DObject 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.