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

Invoke.TrimLineToRectangle

Creates a segment contained in a rectangle from a line.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void TrimLineToRectangle
(
	Avl.Line2D inLine,
	Avl.Rectangle2D inRectangle,
	Conditional<Avl.Segment2D> outSegment
)

Parameters

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

See also