Interface CADFace

All Superinterfaces:
X3DBoundedObject, X3DChildNode, X3DNode, X3DProductStructureChildNode
All Known Implementing Classes:
CADFaceObject

public interface CADFace
extends X3DProductStructureChildNode, X3DBoundedObject
CADFace holds geometry representing one face in a Computer-Aided Design (CAD) CADPart.

X3D node tooltip: (X3D version 3.1 or later) [X3DProductStructureChildNode,X3DBoundedObject] CADFace holds geometry representing one face in a Computer-Aided Design (CAD) CADPart. CADFace can only contain a single Shape or LOD node (with containerField='shape').
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
SAI Java Specification: TODO, X3D Abstract Specification: CADFace, X3D Tooltips: CADFace, X3D Scene Authoring Hints: Meshes
  • Method Summary

    Modifier and Type Method 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.
    boolean getVisible()
    Provide boolean value from inputOutput SFBool field named visible.
    CADFace setBboxCenter​(float[] newValue)
    Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxCenter.
    CADFace setBboxSize​(float[] newValue)
    Accessor method to assign 3-tuple float array to initializeOnly SFVec3f field named bboxSize.
    CADFace setMetadata​(X3DMetadataObject newValue)
    Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    CADFace setName​(java.lang.String newValue)
    Accessor method to assign String value to inputOutput SFString field named name.
    CADFace setShape​(X3DNode newValue)
    Accessor method to assign X3DNode instance (using a properly typed node) 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 setVisible​(boolean newValue)
    Accessor method to assign boolean value to inputOutput SFBool field named visible.