You are here: Start » AVL.NET » Function Reference » Point3DGrid » Point3DGrid Spatial Transforms » 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 | |
---|---|---|---|---|---|
inGrid | AvlNet.Point3DGrid | ||||
inPlane | AvlNet.Plane3D | The plane that determines rotation transform. | |||
outGrid | AvlNet.Point3DGrid | ||||
outTransform | AvlNet.Matrix | Matrix of the transform used to align the input grid. | |||
outInvertedTransform | AvlNet.Matrix | Matrix 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
- AlignPoint3DGridToPlane(Point3DGrid, Plane3D, Point3DGrid)
- AlignPoint3DGridToPlane(Point3DGrid, Plane3D, Point3DGrid, NullableRef<Matrix>, NullableRef<Matrix>)