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 clipping/AlternatingConvexClipTree.ts Line 72 Last Updated: 11 June, 2024