DisplayBag
ReferencesA growing collection of display shapes.
Bags are used to collect display geometry. Once full, a bag emits a DisplayCache object which contains the minimum amount of necessary data needed to draw shapes. Bags are mutable, caches are immutable.
Constructors
DisplayBag
#Create a new bag.
Parameters:
| obj (IDocumentObject) | |
| solution (SolutionId) | |
| rules (DisplayRules) |
Properties
Methods
AddMesh
#Adds a shaded mesh. Draw its edges when it is mesh geometry in its own right, not when it stands in for geometry which draws its own edges.
AddMesh
#Adds a shaded mesh without drawing its edges.
AddMeshes
#Adds shaded meshes, optionally drawing their edges.
Parameters:
| meshes (IEnumerable<Pear<Mesh>>) | |
| drawEdges (bool) |
AddMeshes
#Adds shaded meshes without drawing their edges.
Parameters:
| meshes (IEnumerable<Pear<Mesh>>) |