Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
isPolygonOutOfRect2d Function
Syntax
C++
GE_TOOLKIT_EXPORT bool isPolygonOutOfRect2d(OdUInt32 numPt, const OdGePoint2d* pPoints, const OdGePoint2d& minPt, const OdGePoint2d& maxPt);

Determines whether the polygon is out of the specified rectangle. 

 

Parameters
Description
numPt
[in] Count of polygon points.
pPoints
[in] Pointer to an array of polygon points.
minPt
[in] Minimum extents point.
maxPt
[in] Maximum extents point.

true if polygon is out of the rectangle or if polygon contains a rectangle. This method returns false if the polygon is inside the specified rectangle or if they intersect.

Corresponding C++ library: TD_Ge

File: GeGbl.h 

Module: API Reference 

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