Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
OdBmDBView::isElementClipped Method
Syntax
C++
bool isElementClipped(const OdBmElementPtr& elem, bool included) const;

Checks if an element is out of the current view's clip region. 

 

Parameters
Description
elem
[in] Input element.
included
[in] Flag that affects the output value.

True if an element is out of the curren't view's clip region, false - otherwise. 

remarks The 'included' param has the following meaning: When you compare two boxes positioned against each other, then there're 3 cases: when one is completely inside another, when they have intersections and when one is completely outside. Method always returns 'false' for the first case and 'true' for the last case. The value returned in case of intersection depends on 'included' param value. It will be true when 'included' is false and vice versa.

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