API Reference > geometry-core > CartesianGeometry > PolylineOps PolylineOps Class PolylineOps is a collection of static methods operating on polylines. Methods Name Description constructor(): PolylineOps compressByChordError(source: Point3d[], chordTolerance: number): Point3d[] Static Return a simplified subset of given points. compressByPerpendicularDistance(source: Point3d[], maxDistance: number, numPass: number = 2): Point3d[] Static Return a simplified subset of given points, omitting points if close to the edge between neighboring points before and after compressShortEdges(source: Point3d[], maxEdgeLength: number): Point3d[] Static Return a simplified subset of given points, omitting points if very close to their neighbors. compressSmallTriangles(source: Point3d[], maxTriangleArea: number): Point3d[] Static Return a simplified subset of given points, omitting points of the triangle with adjacent points is small. edgeLengthRange(points: Point3d[]): Range1d Static Return a Range1d with the shortest and longest edge lengths of the polyline. Defined in geometry3d/PolylineOps.ts Line 19 Last Updated: 11 June, 2024