You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » AVL.AlignPoint3DArrayToPlane

AVL.AlignPoint3DArrayToPlane

Rotates an array 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 AlignPoint3DArrayToPlane
(
	IList<AvlNet.Point3D> inPoints,
	AvlNet.Plane3D inPlane,
	IList<AvlNet.Point3D> outPoints,
	NullableRef<AvlNet.Matrix> outTransform,
	NullableRef<AvlNet.Matrix> outInvertedTransform
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point3D>
inPlaneAvlNet.Plane3DThe plane that determines rotation transform.
outPointsSystem.Collections.Generic.IList<AvlNet.Point3D>
outTransformAvlNet.NullableRef<AvlNet.Matrix>Matrix of the transform used to align the input points. Can be null to skip this parameter calculation.
outInvertedTransformAvlNet.NullableRef<AvlNet.Matrix>Matrix of the transform rotating the output points to the input ones. Can be null to skip this parameter calculation.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in AlignPoint3DArrayToPlane.

Function Overrides

See also