]> SALOME platform Git repositories - modules/geom.git/blob - src/SKETCHER/GEOM_SketcherStatus.h
Salome HOME
NRI : First integration.
[modules/geom.git] / src / SKETCHER / GEOM_SketcherStatus.h
1 //  File      : GEOM_SketcherStatus.h
2 //  Created   : Wed Jul 5 10:12:09 2000
3 //  Author    : Martine LANGLOIS
4
5 //  Modified  : Tue Dec 11 21:29:57 2001
6 //  Author    : Nicolas REJNERI
7 //  Project   : SALOME
8 //  Module    : SALOMEGUI
9 //  Copyright : Open CASCADE
10 //  $Header$
11
12 enum TransitionStatus {
13         NOCONSTRAINT, // no constraint between consecutive edges
14         TANGENT,      // arc and segment are tangent
15         PERPENDICULAR,// arc is tangent to the perpendicular to the segment
16         ANGLE,        // Angular constraint between 2 segments
17         LENGTH_FIXED, // Length of segment has been fixed 
18         X_FIXED,      // X coordinate for segment has been fixed
19         Y_FIXED       // Y coordinate for segment has been fixed
20         };
21
22 enum TypeOfParameter {
23         ANGLE_PARAMETER,
24         LENGTH_PARAMETER,
25         RADIUS_PARAMETER,
26         XVALUE_PARAMETER,
27         YVALUE_PARAMETER
28         };
29
30 enum SketchStatus {
31         BEGIN_SKETCH, // Begin sketch; no edges created yet
32         SEGMENT,      // Current mode for creation is segment
33         ARC_CHORD,    // Current mode for creation is arc by chord
34         ARC_CHORD_END,// Chord validated, waiting for radius or center
35         END_SKETCH    // End sketch
36 };