View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016832 | Open CASCADE | OCCT:Foundation Classes | public | 2007-09-02 17:56 | 2012-01-12 16:30 |
Reporter | Assigned To | ||||
Priority | normal | Severity | feature | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Fixed in Version | 6.2.1 | ||||
Summary | 0016832: New methods in Bnd classes (Bnd_B2x and Bnd_B3x). | ||||
Description | The 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 | ||||
Tags | No tags attached. | ||||
Test case number | |||||
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 |
|
Description Updated | |
2012-01-12 16:30 |
|
Additional Information Updated |