Mesh1D

class steno3d.core.Mesh1D

Mesh for Steno3D Line resources

This mesh provides the geometry for Line resources. It consists of an m x 3 array of spatial vertices and an n x 2 array of vertex indices to define the line segments. Segment values must be between 1 and m. Mesh1D has additional options to customize the appearance of the line.

Mesh1D implements props.HasProps for dynamic, type-checked properties

Required Properties:

Vertices (props.Array) - Spatial coordinates of line vertices, Shape: {*, 3}, DataType: float

Segments (props.Array) - Endpoint vertex indices of line segments, Shape: {*, 2}, DataType: int

Optional Properties:

Opts (props.Instance) - Options for the mesh, Class: Mesh1DOptions

Title (props.String) - Content title

Description (props.String) - Content description

See the EXAMPLES

See also steno3d.core.Line, steno3d.core.opts.Mesh1DOptions