MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #29827 All Revisions ] Back to Issue ]
Summary 0029827: Modeling Data - TopoDS_Shape::Nullify() does not reset location
Revision 2018-05-31 16:39 by abv
Description TopoDS_Shape::Nullify() only nullifies the stored TShape but not location (and not orientation). This means that two different IsNull() shapes still can be neither IsEqual() nor even IsSame(), and have different hash codes.

It can be more consistent to reset also location to Null and orientation to default value (TopAbs_EXTERNAL) in the method Nullify().

(The issue has been detected during review of 0029814.)
Revision 2018-05-31 08:47 by abv
Description TopoDS_Shape::Nullify() only nullifies the stored TShape but not location (and not orientation). This means that two different IsNull() shapes still can be neither IsEqual() nor even IsSame(), and have different hash codes.

It can be more consistent to reset only location to Null and orientation to default value (TopAbs_EXTERNAL) in the method IsNull().

(The issue has been detected during review of 0029814.)


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker