| Description |
| Computes the clearance between two objects. If the function is computing clearance between two parts then it also tries to determine if there is interfernece. |
| Replacement in Object TOOLKIT: | pfcSelectionEvaluator::ComputeClearance |
| Synopsis |
| #include <ProFit.h> |
| ProError | ProFitClearanceCompute | ( |
| ProSelection sel1 | |
| /*
(In) |
| The first selection. Not allowed to be NULL. |
| */ |
| ProFitComputeOptions comp_opt_1 | |
| /*
(In) |
| The option for first selection. |
| */ |
| ProSelection sel2 | |
| /*
(In) |
| The second selection whose clearance is to be calculated with the first. Not allowed to be NULL. |
| */ |
| ProFitComputeOptions comp_opt_2 | |
| /*
(In) |
| The option for second selection. |
| */ |
| ProFitPickType pick_type | |
| /*
(In) |
| The option to select the pick type. |
| */ |
| ProSelection proj_reference | |
| /*
(In) |
| The selection to calculate the projected clearance. |
| */ |
| ProBoolean view_plane | |
| /*
(In) |
| If this is PRO_B_TRUE, the clearance calculated is with reference flat to screen. If PRO_B_FALSE, the clearance calculated is with reference to proj_reference. |
| */ |
| double* clearance_dist | |
| /*
(Out) |
| The total clearance between the selections. |
| */ |
| double* proj_distance | |
| /*
(Out) |
| The clearance from the projection reference. |
| */ |
| ProBoolean* is_interference_found | |
| /*
(Out) |
| The interference between the selection. If this is PRO_B_TRUE, interference detected. In case of surface clearance, this value is undefined. |
| */ |
| Pro3dPnt pnt_arr[2] | |
| /*
(Out) |
| The co-ordinates of the closest points with reference to the top-level assembly. |
| */ |
| ) |
| Returns |
|
|