API Reference > geometry-core > CartesianGeometry > AlternatingCCTreeNode > createTreeForPolygon createTreeForPolygon MethodStatic Build the tree for a polygon. Caller creates the root node with empty constructor AlternatingConvexClipTreeNode. createTreeForPolygon(points: Point3d[], result?: AlternatingCCTreeNode): AlternatingCCTreeNode Parameter Type Description points Point3d[] result AlternatingCCTreeNode Returns - AlternatingCCTreeNode Defined in core/geometry/src/clipping/AlternatingConvexClipTree.ts Line 71 Last Updated: 13 June, 2024