Chapter 5. CloudArray and CloudGraph

GroIMP support two ways of defining a point cloud object:

Whatever Cloud object you use, it will be embeeded in a PointCloud Node to be added to the Graph.

Despite not being Node, Cloud object can be directly added in a production rule (or an instantiation rule). In that case it will be automatically wrapped in a PointCloud Node and processed by the GraphManager.

Cloud c = new CloudList(new float[]{1,2,3});
[ Axiom ==> c; ]

result in the same as:

Cloud c = new CloudList(new float[]{1,2,3});
PointCloud pc = new PointCloudD(c);
[ Axiom ==> pc; ]