You are here: Start » FIL.NET » Function Reference » Point3DGrid » Point3DGrid Spatial Transforms » FIL.AlignPoint3DGridToPlane

FIL.AlignPoint3DGridToPlane

Rotates a grid of 3D points with a rotation that transforms the input plane to be parallel to XY plane.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void AlignPoint3DGridToPlane
(
	FilNet.Point3DGrid inGrid,
	FilNet.Plane3D inPlane,
	FilNet.Point3DGrid outGrid,
	NullableRef<FilNet.Matrix> outTransform,
	NullableRef<FilNet.Matrix> outInvertedTransform
)

Parameters

Name Type Range Default Description
inGridFilNet.Point3DGrid
inPlaneFilNet.Plane3DThe plane that determines rotation transform.
outGridFilNet.Point3DGrid
outTransformFilNet.NullableRef<FilNet.Matrix>Matrix of the transform used to align the input grid. Can be null to skip this parameter calculation.
outInvertedTransformFilNet.NullableRef<FilNet.Matrix>Matrix of the transform rotating the output grid to the input one. Can be null to skip this parameter calculation.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in AlignPoint3DGridToPlane.

Function Overrides

See also