HC_Compute_Transformed_Plane

bool HC_Compute_Transformed_Plane(Plane const *plane, float const matrix[], Plane *out_plane)
bool HC_Compute_Transformed_Plane(Plane const plane, float const matrix, Plane out_plane)

Applies a user-defined transform to a single plane.

Since by nature a plane transform involves a (expensive) matrix adjoint calculation, it is important for performance reasons to use the Compute_Transformed_Planes() variant whenever you have a large number of planes that need to be transformed by the same matrix.

HC_Compute_Coordinates, HC_Compute_Polygon_Plane, HC_Compute_Transform, HC_Set_Modelling_Matrix, HC_Show_Device_Info, HC_Show_Geometry_Pointer, HC_Show_Polygon, HC_Show_Shell.

Parameters

plane: Input plane equation parameters (a,b,c,d).

matrix: Input transformation matrix.

out_plane: Plane equation parameters (a,b,c,d ). Returned to caller. Can point to the same place as plane.

Returns

True if the calculation was a success