Creates a LineGeometry object out of a polyline.
Center of the polyline.
Array of numbers
describing a polyline.
Array of numbers
representing line segment offsets.
Array of numbers
representing texture coordinates.
Array of numbers
describing a polyline's colors.
LineGeometry object used to store the vertex and index attributes.
If true
will create high-precision vertex information.
Creates a LineGeometry object out of a polyline.
Array of numbers
describing a polyline.
Array of numbers
describing a polyline's colors.
LineGeometry object used to store the vertex and index attributes.
Returns the number of points in circle used for caps.
Width of line.
Reconstruct the original points of a line from the vertices of the triangulated line.
Buffer with vertices.
Start index, will differ from 0
if the line has caps.
Buffer containing the original points of the triangulated line.
Extract the line width from a triangulated line.
Array of vertex elements of a triangulated line.
Start index, will differ from 0
if the line has caps.
Create a triangle mesh from the given polyline.
Sequence of (x,y,z) coordinates.
The width of the extruded line.
The output vertex buffer.
The output index buffer.
true
if the line should start will a circle.
true
if the line should end with a circle.
Generated using TypeDoc
@here/harp-lines
Overview
This module provides the functionality needed to create
three.js
geometries for wide lines.