View Issue Details

IDProjectCategoryView StatusLast Update
0016832Open CASCADEOCCT:Foundation Classespublic2012-01-12 16:30
ReporteragvAssigned Toagv 
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.2.1 
Summary0016832: New methods in Bnd classes (Bnd_B2x and Bnd_B3x).
DescriptionThe improvement contains:

New methods added to classes Bnd_B2x and Bnd_B3x (2- and 3-dimensional bounding
box):
  - IsVoid() indicates whether the box is uninitialized. The uninitialized state
should be checked before calling CornerMin(), CornerMax() and SquareExtent(),
otherwise these methods return irrelevant results;
  - IsIn (theBox) checks if the box is completely inside the given box 'theBox';
  - IsIn (theBox, theTrsf) checks if the box is completely inside 'theBox'
transformed with the given transformation 'theTrsf'.

In method IsOut() checking for intersection of the box with a circle/sphere, the
3rd parameter is added defining if the circle/sphere is hollow. If True, then
the box inside the circle/sphere is be considered in intersection.

In method Bnd_B3x::IsOut (theLine, isRay) the 3rd parameter is added -
theOverthickness. It defines the addition to the size of the tested box; it can
also be understood as the radius of the cylinder that is checked for
intersection instead of the given line.
Additional information
and documentation updates
Documentation remark, added by AGV 2007-09-21 08:13:12:

New features:
New methods added to classes Bnd_B2x and Bnd_B3x (2- and 3-dimensional bounding
box):
  - IsVoid() indicates whether the box is uninitialized. The uninitialized state
should be checked before calling CornerMin(), CornerMax() and SquareExtent(),
otherwise these methods return irrelevant results;
  - IsIn (theBox) checks if the box is completely inside the given box theBox';
  - IsIn (theBox, theTrsf) checks if the box is completely inside 'theBox'
transformed with the given transformation 'theTrsf'.

In method IsOut() checking for intersection of the box with a circle/sphere, the
3rd parameter is added defining if the circle/sphere is hollow. If True, then a
box that is completely inside the circle/sphere is not considered in intersection.

In method Bnd_B3x::IsOut (theLine, isRay) the 3rd parameter is added -
theOverthickness. It defines the addition to the size of the tested box; it can
also be understood as the radius of the cylinder that is checked for
intersection instead of the given line.
Modified entities:
Package Bnd
Classes Bnd_B3f, Bnd_B3d, Bnd_B2f, Bnd_B2d
TagsNo tags attached.
Test case number

Attached Files

  • OCC16832.tar.gz (6,218 bytes)

Activities

2007-09-02 15:58

 

OCC16832.tar.gz (6,218 bytes)

Issue History

Date Modified Username Field Change
2007-09-17 15:28 bugmaster Assigned To bugmaster => agv
2007-09-17 15:28 bugmaster Status new => assigned
2007-09-17 15:29 bugmaster Status assigned => verified
2009-06-23 17:10 bugmaster Status verified => closed
2009-06-23 17:10 bugmaster Resolution @0@ => fixed
2011-08-02 11:23 bugmaster Category OCCT:FDC => OCCT:Foundation Classes
2012-01-12 16:30 atp Description Updated
2012-01-12 16:30 atp Additional Information Updated