DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > Models > Entities > Geometry > Point Sets Search Documentation


Point Sets

Point Sets are entities (objects) which represent a collection of separate 3D points. As entities Point Sets have local frame and can be joined to a parent or have children.

Properties of Point Sets:

Point Array - 3D coordinates of points of type double

Point Size - specifies size of the displayed points in pixels.

Color Per Vertex - Boolean property. True if points have separate colors in Color Array

Color Array Keep array of colors. Has size 1 when Color Per Vertex is false

Currently Point Sets can be created with a call to Create method of Object Generator with eType parameter set to eObjTypePointSet or by importing a VRML file with "PointSet" node.

Programming Point Set Entities

Programmatic access to Point Sets is available via ISectionPointSet Interface. Query IArray2 from ISectionPointSet to obtain or modify size of the point set or delete points. To insert a new point in the set, use  iArray2.Add(null) in C# or similar construct in other languages. Coordinates of an individual point can be modified via IMatrixData queried form the ISectionPointSet.

See also: LowDim Sample.