Threepp.LineCurve3¶
3D line curve
A curve representing a straight line between two points in 3D space.
Members¶
Constructors¶
Properties¶
Methods¶
LineCurve3¶
Constructor
Arguments
| Arguments | Default | Description |
|---|---|---|
v1 |
|
Start point (Vector3 or [x, y, z]). |
v2 |
|
End point (Vector3 or [x, y, z]). |
Description
Constructor
v1¶
Property \ Access: r/w
Description
Start point (read-only)
v2¶
Property \ Access: r/w
Description
End point (read-only)
getLength¶
Method
Description
Gets the length of the curve
getPoint¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
t |
|
Description
Gets the point at parameter t (0-1)
getPointAt¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
u |
|
Description
Gets the point at arc-length parameter u
getTangent¶
Method
Arguments
| Arguments | Default | Description |
|---|---|---|
t |
|
Description
Gets the tangent vector