Clips a line segment by an axis oriented bounding box
            (using the Cohen-Sutherland algorithm).
            
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
| C# | 
|---|
public static bool ClipLineSegment(
	ref Point3D startPoint,
	ref Point3D endPoint,
	Rect3D clip
)  | 
| Visual Basic | 
|---|
Public Shared Function ClipLineSegment ( _
	ByRef startPoint As Point3D, _
	ByRef endPoint As Point3D, _
	clip As Rect3D _
) As Boolean  | 
| JScript | 
|---|
public static function ClipLineSegment(
	startPoint : Point3D, 
	endPoint : Point3D, 
	clip : Rect3D
) : boolean  | 
Parameters
- startPoint
 - Type: System.Windows.Media.Media3D..::..Point3D%
Point of the line segment. 
- endPoint
 - Type: System.Windows.Media.Media3D..::..Point3D%
Point of the line segment. 
- clip
 - Type: System.Windows.Media.Media3D..::..Rect3D
Clipping bounding box. 
Return Value
True, if at least part of the line segment was detected inside the clipping area.
See Also