AlignPoint3DArrayToPlane


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

Syntax

C++
C#
Python
 
def AlignPoint3DArrayToPlane(
	inPoints: list[Point3D],
	inPlane: Plane3D,
	/,
	*,
	outTransform: Matrix | None = None,
	outInvertedTransform: Matrix | None = None
)
-> outPoints: list[Point3D]

Parameters

Name Type Default Description
Input value inPoints list[Point3D]
Input value inPlane Plane3D The plane that determines rotation transform
Output value outPoints list[Point3D]
Output value outTransform Matrix | None None Matrix of the transform used to align the input points
Output value outInvertedTransform Matrix | None None Matrix of the transform rotating the output points to the input ones