You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Constructions » FIL.ProjectPointsOnLine

FIL.ProjectPointsOnLine

Projects points onto a line.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void ProjectPointsOnLine
(
	IList<FilNet.Point2D> inPoints,
	FilNet.Line2D inLine,
	IList<FilNet.Point2D> outProjectionPoints,
	out FilNet.Segment2D? outProjectionSegment
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<FilNet.Point2D>
inLineFilNet.Line2D
outProjectionPointsSystem.Collections.Generic.IList<FilNet.Point2D>
outProjectionSegmentFilNet.Segment2D?

Description

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

Examples

ProjectPointsOnLine performed on points and line.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in ProjectPointsOnLine.

Function Overrides

See also