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

AVL.AlignPoint3DGridToPlane

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void AlignPoint3DGridToPlane
(
	AvlNet.Point3DGrid inGrid,
	AvlNet.Plane3D inPlane,
	AvlNet.Point3DGrid outGrid,
	AvlNet.Matrix outTransform,
	AvlNet.Matrix outInvertedTransform
)

Parameters

Name Type Range Default Description
inGridAvlNet.Point3DGrid
inPlaneAvlNet.Plane3DThe plane that determines rotation transform.
outGridAvlNet.Point3DGrid
outTransformAvlNet.MatrixMatrix of the transform used to align the input grid.
outInvertedTransformAvlNet.MatrixMatrix of the transform rotating the output grid to the input one.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in AlignPoint3DGridToPlane.

Function Overrides

See also