API Reference > OdGe Classes > OdGeExtents3d Class > OdGeExtents3d Methods > OdGeExtents3d::comparingSet Method
OdGeExtents3d::comparingSet Method
Syntax
C++
void comparingSet(const OdGePoint3d& pt1, const OdGePoint3d& pt2);
Parameters 
Description 
const OdGePoint3d& pt1 
[in] First point that defines the extents.  
const OdGePoint3d& pt2 
[in] Second point that defines the extents. 

Sets the minimum and maximum points for this Extents object to that of the box defined by pt1 and pt2. 

 

The passed first and second points are only needed to define a box. The points themselves do not necessarily need to be minimum and maximum points. The coordinates of the passed points are compared and then set to real minimum and maximum points.

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