MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #29406 All Revisions ] Back to Issue ]
Summary 0029406: Foundation Classes - gp_Ax3 fails setting direction
Revision 2018-01-09 14:37 by abv
Description The following simple code fails due to stupid implementation of gp_Ax3 which does not check that newly set direction is parallel to currently set X direction, and tries to use their cross product to define new Y:

gp_Ax3 anAx;
anAx.SetDirection (gp::DX());

The same occurs with construction from gp_Ax1:

gp_Ax1 anAx1 (gp::Origin(), gp::DX());
anAx.SetAxis (anAx1);
Revision 2018-01-09 14:36 by abv
Description The following simple code fails due to stupid implementation of gp_Ax3 which does not check that newly set direction is parallel to currently set X direction, and tries to use their cross product to define new Y:

gp_Ax3 anAx;
anAx.SetDirection (gp::DX());

The same occurs with construction from gp_Ax1:

gp_Ax1 anAx1 (gp::Origin(), gp::DX());
gp_Ax3 anAx3 (anAx1);
Revision 2017-12-29 13:51 by abv
Description The following simple code fails due to stupid implementation of gp_Ax3 which does not check that newly set direction is parallel to currently set X direction, and tries to use their cross product to define new Y:

gp_Ax3 anAx;
anAx.SetDirection (gp::DX());


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker