Parameters |
Description |
const OdModelerGeometry& obj |
[in] The modeler geometry object. |
const OdDbSubentId& subId |
[in] The object subentity (may be null). |
const OdGeMatrix3d& toWc |
[in] Transformation from ECS of the modeler geometry object to WCS. |
OdGePoint3d& nearestPt |
[out] Receives a closest point on the object in WCS. |
ptWc |
[in] Input point (defined in WCS). |
eOk if successful, or an appropriate error code if not.
Calculates point on the given modeler geometry object (or its subentity) closest to the given point. Matrix toWc defines transformations applied to the modeler geometry object before calculations.
Copyright © 2002–2021. Open Design Alliance. All rights reserved.
|