Skip to content

LineCurve

new LineCurve(v1?: Vector2, v2?: Vector2)

THREE equivalent: THREE.LineCurve

2D line segment between two points.

Name Type Description
v1 Vector2 Start point.
v2 Vector2 End point.
Method Description
getPoint(t: number, target?: Vector2): Vector2 Returns the linearly interpolated point at t.