API Reference > geometry-core > CartesianGeometry > Point2dArray Point2dArray Class The Point2dArray class contains static methods that act on arrays of 2d points. Methods Name Description clonePoint2dArray(data: Point2d[]): Point2d[] Static Return an array containing clones of the Point3d data[] isAlmostEqual(dataA: undefined | Point2d[], dataB: undefined | Point2d[]): boolean Static Return true if arrays have same length and matching coordinates. pointCountExcludingTrailingWraparound(data: XAndY[]): number Static Return the number of points when trailing points that match point 0 are excluded. Defined in core/geometry/src/geometry3d/PointHelpers.ts Line 153 Last Updated: 13 June, 2024