-<!--
-Copyright (C) 2018-20xx CEA/DEN, EDF R&D
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Lesser General Public License for more details.
-
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-See http:##www.salome-platform.org/ or
-email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
--->
-
<source>
<toolbox id="MeasureKind">
<box id="Length" title="Edge length" icon="icons/Features/meas_length_32x32.png">
default="">
</shape_selector>
</box>
- <box id="Radius" title="Radius of circular" icon="icons/Features/meas_radius_32x32.png">
+ <box id="Radius" title="Radius of circular edge, cylindrical surface or sphere" icon="icons/Features/meas_radius_32x32.png">
<shape_selector id="circular"
icon=""
label="Object"
shape_types="edge"
default="">
<validator id="GeomValidators_ShapeType" parameters="edge"/>
+ <validator id="GeomValidators_Intersected" parameters="angle_to"/>
</shape_selector>
<shape_selector id="angle_to"
icon="icons/Features/edge.png"
shape_types="edge"
default="">
<validator id="GeomValidators_ShapeType" parameters="edge"/>
+ <validator id="GeomValidators_Intersected" parameters="angle_from"/>
+ </shape_selector>
+ </box>
+ <box id="AngleBy3Points" title="Angle by 3 points" icon="icons/Features/meas_angle3p_32x32.png">
+ <shape_selector id="angle_point_1"
+ icon="icons/Features/point.png"
+ label="Start point"
+ tooltip="Select a point"
+ shape_types="vertex"
+ default="">
+ <validator id="GeomValidators_ShapeType" parameters="vertex"/>
+ </shape_selector>
+ <shape_selector id="angle_point_2"
+ icon="icons/Features/point.png"
+ label="Angle apex"
+ tooltip="Select a point"
+ shape_types="vertex"
+ default="">
+ <validator id="GeomValidators_ShapeType" parameters="vertex"/>
+ </shape_selector>
+ <shape_selector id="angle_point_3"
+ icon="icons/Features/point.png"
+ label="End point"
+ tooltip="Select a point"
+ shape_types="vertex"
+ default="">
+ <validator id="GeomValidators_ShapeType" parameters="vertex"/>
</shape_selector>
</box>
</toolbox>
- <label id="result"/>
+ <label id="result" isSelectable="true"/>
</source>