View Issue Details

IDProjectCategoryView StatusLast Update
0022558CommunityOCCT:Modeling Algorithmspublic2012-03-29 17:26
Reporterszy Assigned Tobugmaster  
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Product Version6.5.0 
Target Version6.5.3 
Summary0022558: Bug in gp_Dir::Mirror(const gp_Ax2 & axis)
DescriptionPost from the Forum http://www.opencascade.org/org/forum/thread_20781/.
gp_Dir toSym(1,1,1);

gp_Dir dir(1,0,0);
gp_Pnt loc(0,0,0);
gp_Ax2 symObj(loc,dir);

toSym.Mirror(symObj);
std::cout<<"the result "<<toSym.X()<<" "<<toSym.Y()<<" "<<toSym.Z()<<std::endl;

And the result is :
the result -0.57735 -0.57735 -0.57735

but we should have :
the result -0.57735 0.57735 0.57735
TagsNo tags attached.
Test case numberchl 934 T5

Attached Files

  • T5 (627 bytes)

Relationships

duplicate of 0022117 closedbugmaster Open CASCADE Wrong calculation in gp_Dir::Mirror(const gp_Ax2&) 

Activities

abv

2012-02-09 09:10

manager   ~0019474

As it is a duplicate, I suggest this bug is closed provided that relevant test case exists

bugmaster

2012-02-09 10:28

administrator   ~0019479

Mikhail,

Please create testing case and close this issue as duplicate

apn

2012-02-22 12:50

administrator   ~0019723

Last edited: 2012-02-22 12:51

New DRAW command "OCC22558" was created in QAOCC.cxx in svn branch http://svn/svn/occt/branches/OCC22558
Test case for this bug is chl 934 T5. It's OK.

apn

2012-02-22 12:52

administrator  

T5 (627 bytes)

bugmaster

2012-02-22 16:46

administrator   ~0019740

DRAW command for testing case has been integrated into trunk of occt repository

Date: 2012-02-22 16:44:17 +0400 (Wed, 22 Feb 2012)
New Revision: 10598

Modified:
   trunk/src/QAOCC/QAOCC.cxx

Related Changesets

occt: master c5cb4686

2012-02-22 12:44:17

apn


Committer: bugmaster Details Diff
0022558: Bug in gp_Dir::Mirror(const gp_Ax2 & axis) Affected Issues
0022558
mod - src/QAOCC/QAOCC.cxx Diff File

Issue History

Date Modified Username Field Change
2011-08-02 11:31 bugmaster Category OCCT:MOA => OCCT:Modeling Algorithms
2011-11-24 15:25 szy Assigned To bugmaster => jgv
2011-11-24 15:25 szy Status acknowledged => assigned
2011-11-24 15:25 szy Resolution suspended => reopened
2011-11-24 15:25 szy Product Version => 6.5.0
2011-11-24 15:25 szy Fixed in Version EMPTY =>
2011-11-24 15:25 szy Target Version => 6.5.3
2011-11-24 15:25 szy Description Updated
2011-12-07 06:19 abv Relationship added duplicate of 0022117
2012-02-09 09:10 abv Note Added: 0019474
2012-02-09 09:10 abv Assigned To jgv => bugmaster
2012-02-09 09:10 abv Status assigned => feedback
2012-02-09 10:28 bugmaster Note Added: 0019479
2012-02-09 10:28 bugmaster Assigned To bugmaster => mkv
2012-02-17 16:45 mkv Assigned To mkv => apn
2012-02-22 12:50 apn Note Added: 0019723
2012-02-22 12:51 apn Note Edited: 0019723
2012-02-22 12:52 apn File Added: T5
2012-02-22 12:52 apn Assigned To apn => bugmaster
2012-02-22 12:52 apn Status feedback => tested
2012-02-22 12:52 apn Test case number => chl 934 T5
2012-02-22 16:46 bugmaster Note Added: 0019740
2012-02-22 16:46 bugmaster Status tested => closed
2012-02-22 16:46 bugmaster Resolution reopened => no change required
2012-03-29 17:26 bugmaster Changeset attached => occt master c5cb4686