You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » 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 | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point3D> | ||||
inPlane | AvlNet.Plane3D | The plane that determines rotation transform. | |||
outPoints | System.Collections.Generic.IList<AvlNet.Point3D> | ||||
outTransform | AvlNet.NullableRef<AvlNet.Matrix> | Matrix of the transform used to align the input points. Can be null to skip this parameter calculation. | |||
outInvertedTransform | AvlNet.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
- AlignPoint3DArrayToPlane(IList<Point3D>, Plane3D, IList<Point3D>)
- AlignPoint3DArrayToPlane(IList<Point3D>, Plane3D, IList<Point3D>, Matrix, Matrix)