CADFace

From Web3D.org
Jump to: navigation, search

CADFace

Specification Link: CADFace

CADFace : X3DProductStructureChildNode, X3DBoundedObject {
  SFNode   [in,out] metadata   NULL  [X3DMetadataObject]
  SFString [in,out] name       ""
  SFNode   [in,out] shape      NULL  [X3DShapeNode | LOD | Transform]
  SFVec3f  []       bboxCenter 0 0 0    (-∞,∞)
  SFVec3f  []       bboxSize   -1 -1 -1 [0,∞) or −1 −1 −1
}

DTD Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. Any number, including none, of Prototype nodes or nodes of the following types in any order.
    1. Shape
    2. LOD
    3. Transform

NOTE: The DTD does not verify that if the child is a LOD or Transform node that it only contains a single Shape node. NOTE: The specification definition also allows the ParticleSystem node. This has been raised and is awaiting resolution.

Attributes

There is no validation of the numerical values of the bboxCenter or bboxSize fields. Neither is there any validation of the number of values.

Schema Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. Any number, including none, of Prototype nodes or nodes of the following types in any order.
    1. Shape
    2. LOD
    3. Transform

NOTE: The Schema does not verify that if the child is a LOD or Transform node that it only contains a single Shape node. NOTE: The specification definition also allows the ParticleSystem node. This has been raised and is awaiting resolution.


Attributes

  • The bboxCenter field accepts a triplet of numerical values.
  • The bboxsize field accepts either three values, each one being greater than or equal to zero, or the triplet -1 -1 -1.

Schematron Validation

TBD