Compute_Transformed_Points

Functions

void Compute_Transformed_Points (int count, const HC_POINT *points, const float *matrix, HC_POINT *out_points)
 Applies a user-specified transform to any number of points. More...
 
void DCompute_Transformed_Points (int count, const HCD_POINT *points, const double *matrix, HCD_POINT *out_points)
 Similar to Compute_Transformed_Points() but accepts and returns double-precision values. More...
 

Detailed Description

Function Documentation

◆ Compute_Transformed_Points()

void Compute_Transformed_Points ( int  count,
const HC_POINT *  points,
const float *  matrix,
HC_POINT *  out_points 
)

Applies a user-specified transform to any number of points.

Parameters
count- Number of xyz triplets in points
points- As in Insert_Polygon() , xyz triplets to specify the 3D vertices of the polygon.
matrix- Input transformation matrix.
out_points- Output points: points put through matrix. Can point to the same place as points.

DETAILS

NOTES

RESTRICTIONS

See also
Compute_Coordinates, Compute_Transform, Set_Modelling_Matrix, Show_Device_Info, Show_Polyline, Show_Shell, Show_Marker.

◆ DCompute_Transformed_Points()

void DCompute_Transformed_Points ( int  count,
const HCD_POINT *  points,
const double *  matrix,
HCD_POINT *  out_points 
)

Similar to Compute_Transformed_Points() but accepts and returns double-precision values.

Parameters
count- Number of xyz triplets in points
points- As in Insert_Polygon() , xyz triplets to specify the 3D vertices of the polygon.
matrix- Input transformation matrix.
out_points- Output points: points put through matrix. Can point to the same place as points.

DETAILS

No additional details. See Compute_Transformed_Points().