Class: Coordinate

X3D: 3.3
Component: Rendering
Status:
fully implemented

.nodeTypes. Coordinate

Coordinate builds geometry using a set of 3D coordinates. Coordinate is used by IndexedFaceSet, IndexedLineSet, LineSet and PointSet.

HTML Encoding and Default Values

<Coordinate metadata='X3DMetadataObject' point='[]' point='[]' ></Coordinate>

Inheritance


Constructor

Coordinate(ctx)

Constructor for Coordinate

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
point MFVec3d [] Contains the 3D coordinates
point MFVec3f [] Contains the 3D coordinates