Description
Adds a reference box by fitting a specified unordered point set to both model and project tree. Then it returns an RFErrorCode value indicating whether there occurs error or not.
Syntax
Function RFRefGeomTools.AddRefBoxFitPoints(pointCount As Long, pPoints As RFPoint3, pRefGeomID As RFEntityID) As RFErrorCode
The AddRefCircleFitPoints syntax has these parts:
| Part | Description |
|---|---|
| pointCount | [IN] Long Required. The number of points. |
| pPoints | [IN] RFPoint3 Required. The first element of RFPoint3 array containing a point set to fit to a reference box. |
| pRefGeomID | [OUT] RFEntityID Required. The RFEntityID of reference box which is added. |
Remarks