You are here: Start » AVL.NET » AVS.AlignPoint3DGridToPlane Method

AVS.AlignPoint3DGridToPlane Method

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

public static void AlignPoint3DGridToPlane
(
	AvlNet.Point3DGrid inGrid,
	AvlNet.Plane3D inPlane,
	AvlNet.Point3DGrid outGrid,
	NullableRef<AvlNet.Matrix> outTransform,
	NullableRef<AvlNet.Matrix> outInvertedTransform
)

Parameters

Name Type Range Default Description
inGridAvlNet.Point3DGrid
inPlaneAvlNet.Plane3DThe plane that determines rotation transform.
outGridAvlNet.Point3DGrid
outTransformAvlNet.NullableRef<AvlNet.Matrix>Matrix of the transform used to align the input grid. Can be null to skip this parameter calculation.
outInvertedTransformAvlNet.NullableRef<AvlNet.Matrix>Matrix of the transform rotating the output grid to the input one. Can be null to skip this parameter calculation.

Function Overrides

See also