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] 2D extents from which conversion is calculated.  
Convert2dPlane plane = kConvert2dPlaneXY 
[in] Plane on which the OdGeExtents2d object lies. 

Sets minimum and maximum points for this OdGeExtents3d object from a passed OdGeExtents2d object. 

 

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

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