Click or drag to resize
Ab4d.SharpEngine logo

ModelUtilsSliceGroupNode(Plane, GroupNode) Method

Slices the specified GroupNode with the specified Plane and returns 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.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public static (GroupNode frontGroupNode, GroupNode? backGroupNode) SliceGroupNode(
	Plane plane,
	GroupNode groupNode
)

Parameters

plane  Plane
Plane
groupNode  GroupNode
GroupNode to slice

Return Value

ValueTupleGroupNode, GroupNode
(frontGroupNode, backGroupNode) - two GroupNode as a Tuple
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.ModelUtils.SliceGroupNode(System.Numerics.Plane,Ab4d.SharpEngine.SceneNodes.GroupNode)"]

See Also