You are here: Start » FIL.NET » Function Reference » Geometry 3D » Geometry 3D Fitting » FIL.FitSegmentToPoints3D

FIL.FitSegmentToPoints3D

Approximates points in 3D with a segment using selected outliers suppression method.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void FitSegmentToPoints3D
(
	IList<FilNet.Point3D> inPoints,
	INullable<FilNet.Segment3D> outSegment
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<FilNet.Point3D>
outSegmentFilNet.INullable<FilNet.Segment3D>Fitted segment or nothing if method failed to converge. This parameter cannot be null.

Errors

List of possible exceptions:

Error type Description
DomainError Empty point array on input in FitSegmentToPoints3D.

Function Overrides

See also