View Issue Details

IDProjectCategoryView StatusLast Update
0013963Open CASCADEOCCT:Foundation Classespublic2012-01-13 12:49
ReporterabvAssigned Tobugmaster  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.2.0 
Summary0013963: Some improvements in Bnd and gp classes
DescriptionThis IMP is extraction of improvements in Bnd, gp, and Precision packages
initially included in OCC13258, but not related to 64-bit issues.

The improvements are:

- Bnd_B2x/Bnd_B3x: added methods IsOut for circle/sphere and for other box with
transformed position

- gp_GTrsf: corrected method SetAffinity

- Precision: simplification of inline methods (Confusion() etc.)
Additional information
and documentation updates
Documentation remark, added by ABV 2006-11-22 16:47:47:

New features:
New methods added in Bnd_B*x classes.

Generic bounding box class Bnd_B2x (hence the classes Bnd_B2f and Bnd_B2d) now
provides two new intersections:
  - with another box transformed with a given transformation:
        IsOut (const Bnd_B2x& theOtherBox, const gp_Trsf2d& theTrsf);
  - with a circle:
        IsOut (const gp_XY& theCenter, const Standard_Real theRadius);

Generic bounding box class Bnd_B3x (hence the classes Bnd_B3f and Bnd_3d) now
provides two new intersections:
  - with another box transformed with a given transformation:
        IsOut (const Bnd_B3x& theOtherBox, const gp_Trsf& theTrsf);
  - with a sphere:
        IsOut (const gp_XY& theCenter, const Standard_Real theRadius);

All these methods return a boolean that is True when there is no intersection.

Improvements:
Method gp_GTrsf::SetAffinity() corrected to create a transformation
that now produces the correct result, according to the description in
gp_GTrsf.cdl: "Transformation of any point P into a point P' such that if H is
the orthogonal projection of P on the plane A2, the vectors HP and HP'
satisfy: HP' = Ratio * HP".
TagsNo tags attached.
Test case number

Attached Files

  • occ13963-abv-v1.tar.gz (7,339 bytes)
  • OCC13963-test.tar.gz (43,782 bytes)
  • C1 (1,242 bytes)
  • C2 (1,243 bytes)

Activities

2006-11-21 16:23

 

occ13963-abv-v1.tar.gz (7,339 bytes)

2006-12-01 10:24

 

OCC13963-test.tar.gz (43,782 bytes)

2006-12-01 13:53

 

C1 (1,242 bytes)

2006-12-01 13:54

 

C2 (1,243 bytes)

Issue History

Date Modified Username Field Change
2006-11-22 18:35 bugmaster Assigned To bugmaster => abv
2006-11-22 18:35 bugmaster Status new => assigned
2006-11-22 18:50 abv Status assigned => resolved
2006-11-30 17:16 bugmaster Status resolved => tested
2007-01-19 15:59 bugmaster Status tested => closed
2007-01-19 15:59 bugmaster Resolution @0@ => fixed
2007-01-24 19:13 bugmaster Assigned To abv => bugmaster
2007-01-24 19:13 bugmaster Status closed => assigned
2007-01-24 19:13 bugmaster Resolution fixed => @0@
2007-01-24 19:13 bugmaster Status assigned => verified
2007-06-01 12:15 bugmaster Status verified => closed
2007-06-01 12:15 bugmaster Resolution @0@ => fixed
2011-08-02 11:23 bugmaster Category OCCT:FDC => OCCT:Foundation Classes
2012-01-13 12:49 atp Description Updated
2012-01-13 12:49 atp Additional Information Updated