API Reference > OdGe Classes > OdGeExtents2d Class
OdGeExtents2d Class
OdGeExtents2d
Syntax
C++
class OdGeExtents2d;

GeExtents2d.h

This class represents 2D bounding boxes as minimum and maximum 2d points. 

Corresponding C++ library: TD_Ge 

 

 
Name 
Description 
 
This is the overview for the OdGeExtents2d constructor overload. 
 
Name 
Description 
 
The invalid extents. 
 
Name 
Description 
 
Types of intersection results. 
 
Name 
Description 
 
Updates the extents of this Extents object with the specified Extents object.
 
 
Updates the extents of this Extents object with the specified point.
 
 
Updates the extents of this Extents object with the specified array of points.
 
 
Returns a center point of this Extents object. 
 
Sets the minimum and maximum points for this Extents object to that of the box defined by pt1 and pt2.
 
 
This is the overview for the contains method overload. 
 
Returns the vector from minimal to maximal point. 
 
Updates the extents of this Extents object by the specified vector.  
 
Determines the intersection of the specified Extents object with this one, and returns the resulting intersection box.
 
 
Indicates whether the specified Extents object intersects this Extents object.
 
 
Checks if this Extents object is equal to the passed Extents object.
 
 
Returns true if and only if this Extents object contains valid extents. 
 
Returns the maximum point of this Extents object. 
 
Returns the minimum point of this Extents object. 
 
set 
Sets the minimum and maximum points for this Extents object.
 
 
Applies the 2D transformation matrix to the extents.
 
 
This is translate, a member of class OdGeExtents2d. 
 
Name 
Description 
 
!= 
Comparison operator for the OdGeExtents2d object. 
 
== 
Comparison operator for the OdGeExtents2d object. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.