A style class used to specify style of 3D points rendering as triangulated shapes.

Supports specifying shape as a cube or a sphere.

Hierarchy

  • TriangulatedPoints3DRecord
    • TriangulatedPoints3D

Constructors

  • When creating a new TriangulatedPoints3D object, any amount of its default parameters can be overriden, by supplying the values to its constructor:

     new PointStyle3D.Triangulated({
    size: 10,
    fillStyle: new SolidFill({ color: ColorHex('#FFF') }),
    })

    Parameters

    Returns TriangulatedPoints3D

Properties

fillStyle: FillStyle

FillStyle for rendering the points.

shape: "cube" | "sphere"

Shape of rendered points.

size: number | Coord3D

Points size.

Supports two types number or Coord3D:

number:

Symmetric size as normalized World Units (roughly equal to pixels).

Coord3D:

User supplies size on each Axis, X, Y and Z individually, as Axis coordinates.

 // Example syntax, 3D point size in Axis dimensions.
pointSeries3D.setPointStyle(new TriangulatedPoints3D({
size: { x: 10, y: 5, z: 200 },
shape: 'sphere',
fillStyle: new SolidFill({ color: ColorRGBA(255, 0, 0) })
}))
wireframeStyle: LineStyle

LineStyle for rendering geometry wireframe.

Methods

  • Get fill style of TriangulatedPoints3D.

    Returns

    FillStyle object

    Returns FillStyle

  • Get size of points rendered with this style object.

    Returns

    Point size.

    Returns number | Coord3D

  • Get wireframe style of TriangulatedPoints3D.

    Returns

    LineStyle object

    Returns LineStyle

  • Construct a new TriangulatedPoints3D object based on this one, but with different size.

    Two size definitions are supported: number and Coord3D:

    number:

    Symmetric size as normalized World Units (roughly equal to pixels).

    Coord3D:

    User supplies size on each Axis, X, Y and Z individually, as Axis coordinates.

     // Example syntax, 3D point size in Axis dimensions.
    pointSeries3D.setPointStyle(new TriangulatedPoints3D({
    size: { x: 10, y: 5, z: 200 },
    shape: 'sphere',
    fillStyle: new SolidFill({ color: ColorRGBA(255, 0, 0) })
    }))

    Returns

    New TriangulatedPoints3D object

    Parameters

    • size: number | Coord3D

      Points size.

    Returns TriangulatedPoints3D