API Reference > OdGe Classes > OdGeExtents3d Class > OdGeExtents3d Methods > OdGeExtents3d::setFrom2d Method
OdGeExtents3d::setFrom2d Method
Syntax
C++
void setFrom2d(const OdGeExtents2d & extents, Convert2dPlane plane = kConvert2dPlaneXY);
Parameters 
Description 
const OdGeExtents2d & extents 
[in] A 2D Extents object from which conversion is calculated.  
Convert2dPlane plane = kConvert2dPlaneXY 
[in] Plane on which the 2D Extents object lies. 

Sets minimum and maximum points for this Extents object from a passed 2D Extents object. 

 

This method sets 0 to the coordinate on the axis that is absent in the passed 2D Extents object.

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