View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023233 | Community | OCCT:Modeling Algorithms | public | 2012-07-02 11:02 | 2020-07-14 14:42 |
Reporter | Jerome Monaco | Assigned To | bugmaster | ||
Priority | normal | Severity | major | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2010 | ||
Product Version | 6.5.2 | ||||
Target Version | 7.1.0 | Fixed in Version | 7.1.0 | ||
Summary | 0023233: Bounding box incorrect for circle | ||||
Description | Generate a simple face from a gp_Circ of radius 100 mm Calculate the bouding box The resulting bounding box is wrong XMin=-108.239, XMax=108.239 and same for Y | ||||
Steps To Reproduce | pload MODELING circle c 0 0 0 100 mkedge e c wire w e plane p 0 0 0 0 0 1 mkface f p w bounding f /// Bounding box //-------------- BRepBuilderAPI_MakeEdge ME( gp_Circ( gp::XOY(), 100.0 ) ); BRepBuilderAPI_MakeWire MW( ME.Edge() ); BRepBuilderAPI_MakeFace MF( MW.Wire(), Standard_False ); MF.Build(); TopoDS_Shape s = MF.Shape(); Bnd_Box bb; BRepBndLib::Add( s, bb, Standard_False ); double xmin, ymin, xmax, ymax, zmin, zmax; bb.Get( xmin, ymin, zmin, xmax, ymax, zmax ); printf( "Xmin=%f, Xmax=%f", xmin, xmax ); /// Wrong values should be 100 printf( "Ymin=%f, Ymax=%f", ymin, ymax ); | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Dear bugmaster, bug is not reproducible since OCCT 7.1.0 (#0027352) - please close as fixed. OCCT 7.0.0: Draw[7]> bounding f -108.2392201292394 -108.2392201292394 -9.9999999999999995e-008 108.2392201292394 108.2392201292394 9.9999999999999995e-008 Current master: Draw[7]> bounding f -100.00000009999999 -100.00000009999999 -9.9999999999999995e-08 100.00000009999999 100.00000009999999 9.9999999999999995e-08 |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-02 11:02 | Jerome Monaco | New Issue | |
2012-07-02 11:02 | Jerome Monaco | Assigned To | => jgv |
2020-07-04 21:30 | kgv | Steps to Reproduce Updated | |
2020-07-04 21:30 | kgv | Fixed in Version | => 7.1.0 |
2020-07-04 21:30 | kgv | Target Version | => 7.1.0 |
2020-07-04 21:35 | kgv | Note Added: 0092988 | |
2020-07-04 21:35 | kgv | Assigned To | jgv => bugmaster |
2020-07-04 21:35 | kgv | Status | new => feedback |
2020-07-04 21:37 | kgv | Note Edited: 0092988 | |
2020-07-14 14:42 | bugmaster | Status | feedback => closed |
2020-07-14 14:42 | bugmaster | Resolution | open => fixed |