ProjectSurfaceOntoPlane


Projects a surface on another plane, replacing Z coordinate of a point with its distance from a given plane.

Syntax

C++
C#
Python
 
def ProjectSurfaceOntoPlane(
	inSurface: Surface,
	inPlane: Plane3D,
	outSurface: Surface,
	/,
	*,
	inUseAbsoluteDistance: bool = False,
	inPreserveOffsetsAndScales: bool = True,
	outTransform: Matrix | None = None
)
-> None

Parameters

Name Type Default Description
Input value inSurface Surface
Input value inPlane Plane3D
Input value inUseAbsoluteDistance bool False
Input value inPreserveOffsetsAndScales bool True Flag indicating whether to preserve input surface offsets and scales or to adjust them accordingly
Output value outSurface Surface
Output value outTransform Matrix | None None Matrix of the transform used to compute the output surface; signed distance usage is assumed

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.