Clips polygon (must be planar and convex) by given axis-aligned bounding box
using the Sutherland-Hodgman algorithm.
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public static void ClipPolygon(
List<Point3D> positions,
Rect3D clip
) |
Visual Basic |
---|
Public Shared Sub ClipPolygon ( _
positions As List(Of Point3D), _
clip As Rect3D _
) |
JScript |
---|
public static function ClipPolygon(
positions : List<Point3D>,
clip : Rect3D
) |
Parameters
- positions
- Type: System.Collections.Generic..::..List<(Of <(<'Point3D>)>)>
Sequence of polygon vertices to be adjusted.
- clip
- Type: System.Windows.Media.Media3D..::..Rect3D
Clipping volume.
See Also