API Reference > geometry-core > CartesianGeometry > ClipUtilities > clipSegmentToCCWTriangleXY clipSegmentToCCWTriangleXY MethodStatic Clip an interval of a line segment to a triangle. Triangle is assumed CCW clipSegmentToCCWTriangleXY(pointA: Readonly<WritableXAndY>, pointB: Readonly<WritableXAndY>, pointC: Readonly<WritableXAndY>, segment0: Readonly<WritableXAndY>, segment1: Readonly<WritableXAndY>, interval: Range1d, absoluteTolerance: number = 1.0e-14): void Parameter Type Description pointA Readonly<WritableXAndY> point of triangle. pointB Readonly<WritableXAndY> point of triangle. pointC Readonly<WritableXAndY> point of triangle. segment0 Readonly<WritableXAndY> start of segment segment1 Readonly<WritableXAndY> end of segment interval Range1d Pre-initialized interval of live part of segment absoluteTolerance number absolute tolerance for begin "on a line" Returns - void Defined in clipping/ClipUtils.ts Line 593 Last Updated: 11 June, 2024