Parameters |
Description |
const OdGeInterval& range = OdGeInterval() |
[in] The part of the curve to be bounded. |
const OdGeMatrix3d* coordSystem = NULL |
[in] The local coordinate system in which box extents are computed. |
Returns the bounding box of the whole curve or a part of it. The box is axis-aligned in the specified local coordinate system. It is guaranteed to enclose the curve, but not guaranteed to be tight/minimal.
If the range is unbounded (e.g. by default), then the bounding box of the whole curve (which range can be obtained by getInterval method) is computed. Otherwise the bounding box is computed only for the set of points with parameter in the specified range. If coordSystem is NULL (e.g. by default), than the bounding box is aligned with global coordinate axes. Otherwise, the box will be axis-aligned in the local coordinate system specified by the coordSystem matrix.
Copyright © 2002–2022. Open Design Alliance. All rights reserved.
|