Clips polygon (must be planar and convex) by given plane 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,
Point3D planePoint,
Vector3D planeNormal
) |
Visual Basic |
---|
Public Shared Sub ClipPolygon ( _
positions As List(Of Point3D), _
planePoint As Point3D, _
planeNormal As Vector3D _
) |
JScript |
---|
public static function ClipPolygon(
positions : List<Point3D>,
planePoint : Point3D,
planeNormal : Vector3D
) |
Parameters
- positions
- Type: System.Collections.Generic..::..List<(Of <(<'Point3D>)>)>
Sequence of polygon vertices to be adjusted.
- planePoint
- Type: System.Windows.Media.Media3D..::..Point3D
Point in the clipping plane.
- planeNormal
- Type: System.Windows.Media.Media3D..::..Vector3D
Normal of the clipping plane.
See Also