Brief Index      Full Index      Events Index      I.M. Reference

Compute_Transformed_Points

Functions

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

Detailed Description

Function Documentation

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.
void DCompute_Transformed_Points ( int  count,
const HCD_POINT *  points,
const float *  matrix,
HCD_POINT *  out_points 
)

Similar to Compute_Transformed_Points() but accepts and returns double-precision values. This command can be used only when the application links with the HOOPS double precision module.

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.

Brief Index      Full Index      Events Index      I.M. Reference