Skip to main content

CurveMesh<TGeometry, TMaterial>

Represents an alignment 3D curve mesh with additional civil engineering properties. Extends THREE.LineSegments to provide geometry and material for the curve.

Extends

  • LineSegments<TGeometry, TMaterial>

Type parameters

Type parameterValueDescription
TGeometry extends THREE.BufferGeometryTHREE.BufferGeometryThe type of geometry for the curve mesh. Default is THREE.BufferGeometry.
TMaterial extends THREE.Material | THREE.Material[]THREE.Material | THREE.Material[]The type of material(s) for the curve mesh. Default is THREE.Material or THREE.Material[].

Constructors

new CurveMesh()

new CurveMesh<TGeometry, TMaterial>(index, data, alignment, geometry?, material?): CurveMesh<TGeometry, TMaterial>

Constructs a new instance of CurveMesh.

Parameters

ParameterTypeDescription
indexnumberThe index of the curve mesh.
dataobjectThe data associated with the curve mesh.
alignmentAlignmentThe alignment of the curve mesh.
geometry?TGeometryThe geometry for the curve mesh. Optional.
material?TMaterialThe material(s) for the curve mesh. Optional.

Returns

CurveMesh<TGeometry, TMaterial>

Overrides

THREE.LineSegments<TGeometry, TMaterial>.constructor

Properties

curve

curve: CivilCurve

The civil curve associated with this curve mesh.