API Reference > geometry-core > CartesianGeometry > Segment1d > clampDirectedTo01 clampDirectedTo01 Method On input, (f0,f1) is a (directed) segment. On output, it is restricted to (0,1) while maintaining direction If the clip leaves nothing, leave this segment alone and return false. If the clip leaves something, update this segment and return true. clampDirectedTo01(): boolean Returns - boolean Defined in core/geometry/src/geometry3d/Segment1d.ts Line 147 Last Updated: 13 June, 2024