AlignPoint3DGridToPlane


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

Syntax

C++
C#
Python
 
def AlignPoint3DGridToPlane(
	inGrid: Point3DGrid,
	inPlane: Plane3D,
	outGrid: Point3DGrid,
	/,
	*,
	outTransform: Matrix | None = None,
	outInvertedTransform: Matrix | None = None
)
-> None

Parameters

Name Type Default Description
Input value inGrid Point3DGrid
Input value inPlane Plane3D The plane that determines rotation transform
Output value outGrid Point3DGrid
Output value outTransform Matrix | None None Matrix of the transform used to align the input grid
Output value outInvertedTransform Matrix | None None Matrix of the transform rotating the output grid to the input one