MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #24509 All Revisions ] Back to Issue ]
Summary 0024509: Suspect unused variable in TPrsStd_ConstraintTools.cxx
Revision 2014-10-06 12:30 by aba
Additional information
and documentation updates
TPrsStdConstaraintTool::ComuteDistance() that builds length dimensions, was revised and redesigned to remove unused variables and to update method behavior after AIS_LengthDimension redesign (#24133).

1) AIS_TypeOfDist in TPrsStdConstaraintTool::ComuteDistance() method became unused.
In old dimension implementation it defined what type (vertical or horizontal relatively to screen ) dimension would be.
In the current implementation dimension line is parallel to attachment points line, so there is no need in AIS_TypeOfDist object.

2) TPrsStd length constraint now can build dimension not only:
    - on two vertices
    - on two faces
    - on edge and face,

but also:
    - on two edges
    - on one edge

3) Dimension in TPrsStd_ConstraintTool is build on one or two shapes, but not on three. Third shape was used earlier to determine direction of dimension (vertical or horizontal), but now dimension direction is computed as perpendicular to the attachment points line.
Revision 2014-01-02 01:49 by barbier
Additional information
and documentation updates


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker