CompoundStructure.SplitRegion
Description:
Splits the region which contains the specified grid point by a line with the specified direction.
Splits the region which contains the specified grid point by a line with the specified direction.
Remarks:
This method is meant to be used in conjunction with FindEnclosingRegionAndSegments(UV, RectangularGridSegmentOrientation, Int32., Int32.). Grid coordinates correspond to uv coordinates of faces.
This method is meant to be used in conjunction with FindEnclosingRegionAndSegments(UV, RectangularGridSegmentOrientation, Int32., Int32.). Grid coordinates correspond to uv coordinates of faces.
Overloads (2):
SplitRegion(UV,RectangularGridSegmentOrientation,Int32)
public int SplitRegion(
UV gridUV,
RectangularGridSegmentOrientation splitDirection,
out int newSegmentId
)
-
gridUVCoordinates of a point in the rectangular grid of this compound structure.
-
splitDirectionSpecifies the direction of the split.
-
Int32%newSegmentIdThe id of segment that bounds both the original region and the new region.
Return Value
int
The id of the region created by this operation.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration
-
Split and merge regions operations can be used only for vertically compound structures without variable thickness layers.