create MethodStatic
create segment1d with given end values
create(x0: number = 0, x1: number = 1, result?: Segment1d): Segment1d
Parameter | Type | Description |
---|---|---|
x0 | number | start value |
x1 | number | end value |
result | Segment1d | optional pre-existing result to be reinitialized. |
Returns - Segment1d
Defined in
- geometry3d/Segment1d.ts Line 53
Last Updated: 20 June, 2023