Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeExtents3d::intersectWith Method
Syntax
C++
IntersectionStatus intersectWith(const OdGeExtents3d& extents, OdGeExtents3d* pResult = 0) const;

Determines the intersection of the specified OdGeExtents3d object with this one, and returns the resulting intersection box. 

 

Parameters
Description
extents
[in] Any 3D Extents object.
pResult
[out] Receives extents of the intersection.

Possible return values are as follows: 

untitled table kIntersectUnknown Either or both extents boxes are invalid kIntersectNot The extents boxes are not intersecting kIntersectOpIn The specified Extents object is completely within this one kIntersectOpOut This OdGeExtents3d object is completely within the specified one kIntersectOk The extents boxes are intersecting, and a result is returned

pResult object should be created by the caller.

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