Interface AnnotationsTypesPrimitivesGeometry3DGeometry

A 3D geometry model represented by exactly one of cylinder and box.

interface AnnotationsTypesPrimitivesGeometry3DGeometry {
    box?: AnnotationsBox;
    cylinder?: AnnotationsCylinder;
}

Properties

Properties

A box in 3D space, defined by a 4x4 row-major homogeneous transformation matrix that rotates, translates and scales a box centered at the origin to its location and orientation in 3D space. The box that is transformed is the axis-aligned cube spanning the volume between the points (-1, -1, -1) and (1, 1, 1).

A cylinder in 3D space, defined by the centers of the two end surfaces and the radius.