 |
SlicerSliceGroupNode(GroupNode, GroupNode, GroupNode) Method |
Slices the specified GroupNode with the specified Plane and creates two new GroupNode objects:
one GroupNode that is in front of the plane (in the direction of plane's Normal vector) and one GroupNode that is in the back of the plane.
If the specified GroupNode is fully in front (or in back) of the Plane, then the same instance of GroupNode is returned (the other returned GroupNode is null).
If the specified GroupNode intersects the Plane, it is sliced and new GroupNode objects are created from it.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic void SliceGroupNode(
GroupNode groupNode,
out GroupNode?? frontGroupNode,
out GroupNode?? backGroupNode
)
Parameters
- groupNode GroupNode
- GroupNode to slice
- frontGroupNode GroupNode
- out parameter with the front GroupNode (null if groupNode is fully in the back of the plane)
- backGroupNode GroupNode
- out parameter with the back GroupNode (null if groupNode is fully in the front of the plane)
See Also