API Reference > geometry-core > CartesianGeometry > FrameBuilder > createFrameWithCCWPolygon createFrameWithCCWPolygon MethodStatic try to create a frame whose xy plane is through points, with the points appearing CCW in the local frame. if 3 or more distinct points are present, the x axis is from the first point to the most distance, and y direction is toward the point most distant from that line. createFrameWithCCWPolygon(points: Point3d[]): Transform | undefined Parameter Type Description points Point3d[] array of points Returns - Transform | undefined Defined in core/geometry/src/geometry3d/FrameBuilder.ts Line 276 Last Updated: 13 June, 2024