createStartEnd MethodStatic

Return a vector defined by start and end points (end - start).

createStartEnd(start: Readonly<WritableXAndY> | Readonly<WritableXYAndZ>, end: Readonly<WritableXAndY> | Readonly<WritableXYAndZ>, result?: Vector3d): Vector3d

Parameter Type Description
start Readonly<WritableXAndY> | Readonly<WritableXYAndZ> start point for vector.
end Readonly<WritableXAndY> | Readonly<WritableXYAndZ> end point for vector.
result Vector3d optional result.

Returns - Vector3d

Defined in

Last Updated: 21 November, 2024