0024509: Suspect unused variable in TPrsStd_ConstraintTools.cxx
authoraba <aba@opencascade.com>
Thu, 22 May 2014 13:13:04 +0000 (17:13 +0400)
committerapn <apn@opencascade.com>
Thu, 22 May 2014 13:13:50 +0000 (17:13 +0400)
commit011b361de561202ce92670d5e2cc5db1d98917bd
treebedef506dde3e8bb5e92faebe760c30e132d4954
parent1ee621b6619db5cad2190cbd15b0b29deb44ddda
0024509: Suspect unused variable in TPrsStd_ConstraintTools.cxx

- AIS_TypeOfDist is not used for length dimension construction;
- Added opportunity to build TPrsSrd length constraint on one edge.
- length dimension in TPrsStd_ConstraintTool is build on one or two shapes, but not on three.
Added validation of dimension plane.
Warnings were corrected.
src/TPrsStd/TPrsStd_ConstraintTools.cxx