API Reference > OdGe Classes > OdGeExtents2d Class > OdGeExtents2d Methods > contains Method > OdGeExtents2d::contains Method (OdGePoint2d&, OdGeTol&)
OdGeExtents2d::contains Method (OdGePoint2d&, OdGeTol&)
Syntax
C++
bool contains(const OdGePoint2d& point, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePoint2d& point 
[in] A 2D point that is presumably contained inside this extents.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Tolerance of measurement error. 

Returns true if this Extents object contains the specified point. Otherwise returns false.

Indicates whether this Extents object contains the specified point. 

 

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