API Reference > geometry-core > CartesianGeometry > Segment1d > set set Method replace both end values. set(x0: number, x1: number): void Parameter Type Description x0 number new x0 value x1 number new y0 value Returns - void Defined in core/geometry/src/geometry3d/Segment1d.ts Line 40 Last Updated: 13 June, 2024