MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #29419 All Revisions ] Back to Issue ]
Summary 0029419: Make V3d_Viewer::PrivilegedPlane() return const reference rather than a temp object
Revision 2018-01-11 16:23 by Vico Liang
Description The declare of of PrivilegedPlane in class V3d_Viewer as below:

gp_Ax3 PrivilegedPlane() const;

It's better to change it to:
inline const gp_Ax3& PrivilegedPlane() const {return myPrivilegedPlane;}

I have one more question, why not use gp_Ax2 as PrivilegedPlane? is it need to use left hand coordinate system?
Revision 2018-01-11 16:21 by Vico Liang
Description The declare of of PrivilegedPlane in class V3d_Viewer as below:

gp_Ax3 PrivilegedPlane() const;

It's better to change it to:
inline const gp_Ax3& PrivilegedPlane() const {return return myPrivilegedPlane;}

I have one more question, why not use gp_Ax2 as PrivilegedPlane? is it need to use left hand coordinate system?


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker