API Reference > Other Classes > OdModelerTools Class > OdModelerTools Methods > OdModelerTools::getExtremePoints Method
OdModelerTools::getExtremePoints Method
Syntax
C++
virtual OdResult getExtremePoints(const OdModelerGeometry& object, const OdGeVector3d& direction, OdGePoint3d& minPoint, OdGePoint3d& maxPoint) = 0;
Parameters 
Description 
const OdModelerGeometry& object 
[in] The modeler geometry object.  
const OdGeVector3d& direction 
[in] The direction along which the extreme points are to be calculated.  
OdGePoint3d& minPoint 
[out] Receives an extreme point on object along the direction in opposite sense in WCS.  
OdGePoint3d& maxPoint 
[out] Receives an extreme point on object along the direction in WCS.  

eOk if successful, or an appropriate error code if not.

Calculates the extreme points on the given modeler geometry object along a certain direction. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.