You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AVL.TrimSegment

AVL.TrimSegment

Creates a segment contained in a box from another segment.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TrimSegment
(
	AvlNet.Segment2D inSegment,
	AvlNet.Box inBox,
	out AvlNet.Segment2D? outSegment
)

Parameters

Name Type Range Default Description
inSegmentAvlNet.Segment2D
inBoxAvlNet.Box
outSegmentAvlNet.Segment2D?

Examples

TrimSegment performed on the sample box and segment.

See also