CommonTrees

public static class CommonTrees
Provides easy ways to construct commonly used types of OcTree.

Methods

ColourTree

#
public static SpatialTree<Color> ColourTree(ChannelMapping mapping, IEnumerable<Color> palette)
Create a new colour tree, most commonly used to store searchable colour palettes.
mapping (ChannelMapping)Colour channel mapping.
palette (IEnumerable<Color>)Initial palette.
OcTree with the specified channel mapping.

Point3Tree

#
public static SpatialTree<Point3d> Point3Tree(IEnumerable<Point3d> initial)
Create a new Point3d tree.
initial (IEnumerable<Point3d>)Initial cloud.