API Reference > OdDg Classes > OdDgGraphicsElementPE Class > OdDgGraphicsElementPE Methods > OdDgGraphicsElementPE::getRange Method
OdDgGraphicsElementPE::getRange Method
Syntax
C++
virtual OdResult getRange(const OdDgGraphicsElement* obj, OdGeExtents3d& extents) const;

This method returns the extents of an element as it was saved in file before.

  1. All extents are given in UOR measure system.
  2. These values are not recalculated if their element is changed.
  3. It can be used as a fast alternative of getGeomExtents() when somebody relies on these saved values.
Copyright © 2002–2021. Open Design Alliance. All rights reserved.