You are here: Start » AVL.NET » AVL.PointsOnLineProjection(AvlNet.Point2D[], AvlNet.Line2D, AvlNet.Point2D[], AvlNet.Segment2D?)

AVL.PointsOnLineProjection(AvlNet.Point2D[], AvlNet.Line2D, AvlNet.Point2D[], AvlNet.Segment2D?)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void PointsOnLineProjection(
	AvlNet.Point2D[] inPoints,
	AvlNet.Line2D inLine,
	out AvlNet.Point2D[] outProjectionPoints,
	out AvlNet.Segment2D? outProjectionSegment
)

Parameters

inPoints
Type: AvlNet.Point2D
inLine
Type: AvlNet.Line2D
outProjectionPoints
Type: AvlNet.Point2D
outProjectionSegment
Type: System.Nullable<AvlNet.Segment2D>

Description

The orientation of the resulting outProjectionSegment is always between 0 and 180 degrees.

Examples

PointsOnLineProjection performed on points and line.

Errors

Error type Description
DomainError Indefinite line on input in PointsOnLineProjection.

See also