|
| | Draw_Display () |
| |
| void | SetColor (const Draw_Color &col) const |
| | Following drawings will use this color.
|
| |
| void | SetMode (const int M) const |
| | Set the drawing mode, 3 = copy, 6 = xor.
|
| |
| void | Flush () const |
| |
| void | MoveTo (const gp_Pnt &pt) |
| |
| void | DrawTo (const gp_Pnt &pt) |
| |
| void | MoveTo (const gp_Pnt2d &pt) |
| |
| void | DrawTo (const gp_Pnt2d &pt) |
| |
| void | Draw (const gp_Pnt &p1, const gp_Pnt &p2) |
| |
| void | Draw (const gp_Pnt2d &p1, const gp_Pnt2d &p2) |
| |
| void | Draw (const gp_Circ &C, const double A1, const double A2, const bool ModifyWithZoom=true) |
| | Draw a circle from angle <A1> to <A2> (Radians). if ModifyWithZoom = 0, then rayon of circle is convert to Integer.
|
| |
| void | Draw (const gp_Circ2d &C, const double A1, const double A2, const bool ModifyWithZoom=true) |
| | Draw a 2D circle from angle <A1> to <A2> (Radians). if ModifyWithZoom = 0, then rayon of circle is convert to Integer.
|
| |
| void | DrawMarker (const gp_Pnt &pt, const Draw_MarkerShape S, const int Size=5) |
| |
| void | DrawMarker (const gp_Pnt2d &pt, const Draw_MarkerShape S, const int Size=5) |
| |
| void | DrawMarker (const gp_Pnt &pt, const Draw_MarkerShape S, const double Size) |
| |
| void | DrawMarker (const gp_Pnt2d &pt, const Draw_MarkerShape S, const double Size) |
| |
| void | DrawString (const gp_Pnt &pt, const char *const S) |
| |
| void | DrawString (const gp_Pnt2d &pt, const char *const S) |
| |
| void | DrawString (const gp_Pnt &pt, const char *const S, const double moveX, const double moveY) |
| |
| void | DrawString (const gp_Pnt2d &pt, const char *const S, const double moveX, const double moveY) |
| |
| gp_Pnt2d | Project (const gp_Pnt &pt) const |
| | Returns the 2D projection of a 3D point.
|
| |
| void | Project (const gp_Pnt &pt, gp_Pnt2d &pt2d) const |
| | Returns the 2D projection of a 3D point.
|
| |
| double | Zoom () const |
| | Returns the current Zoom value.
|
| |
| int | ViewId () const |
| | Returns the identifier of the view where the display is drawing.
|
| |
| bool | HasPicked () const |
| | Returns True if the last drawing operations generated a pick hit. When HasPicked is True the Drawing should be resumed.
|
| |
Use to draw in a 3d or a 2d view.
- The 3d methods draw in the 3d system, in a 2d view the drawing is projected on X,Y.
- The 2d methods draw in the projection plane.
- To draw in screen coordinates the length must be divided by the zoom.