You are here: Start » AVL.NET » Invoke.TrimSegmentToRectangle

Invoke.TrimSegmentToRectangle

Creates a segment contained in a rectangle from another segment.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void TrimSegmentToRectangle
(
	Avl.Segment2D inSegment,
	Avl.Rectangle2D inRectangle,
	Conditional<Avl.Segment2D> outSegment
)

Parameters

Name Type Range Default Description
inSegmentAvl.Segment2D
inRectangleAvl.Rectangle2DRectangle defining a region the input segment will be cropped to.
outSegmentAtl.Conditional<Avl.Segment2D>

See also