Open CASCADE Technology  6.9.0
Static Public Member Functions

DrawTrSurf Class Reference

This package supports the display of parametric curves and surfaces. More...

#include <DrawTrSurf.hxx>

Static Public Member Functions

static void Set (const Standard_CString Name, const gp_Pnt &G)
 Sets <G> in the variable <Name>. Overwrite the variable if already set. More...
 
static void Set (const Standard_CString Name, const gp_Pnt2d &G)
 Sets <G> in the variable <Name>. Overwrite the variable if already set. More...
 
static void Set (const Standard_CString Name, const Handle< Geom_Geometry > &G, const Standard_Boolean isSenseMarker=Standard_True)
 Sets <G> in the variable <Name>. Overwrite the variable if already set. isSenseMarker indicates whether to render the sense glyph (arrow) for curves or not. More...
 
static void Set (const Standard_CString Name, const Handle< Geom2d_Curve > &C, const Standard_Boolean isSenseMarker=Standard_True)
 Sets in the variable <Name>. Overwrite the variable if already set. isSenseMarker indicates whether to render the sense glyph (arrow) for curves or not. More...
 
static void Set (const Standard_CString Name, const Handle< Poly_Triangulation > &T)
 Sets <T> in the variable <Name>. Overwrite the variable if already set. More...
 
static void Set (const Standard_CString Name, const Handle< Poly_Polygon3D > &P)
 Sets. More...
 
static void Set (const Standard_CString Name, const Handle< Poly_Polygon2D > &P)
 Sets. More...
 
static Handle< Geom_GeometryGet (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Standard_Boolean GetPoint (Standard_CString &Name, gp_Pnt &P)
 Gets the variable. Returns False if none and print a warning message. More...
 
static Standard_Boolean GetPoint2d (Standard_CString &Name, gp_Pnt2d &P)
 Gets the variable. Returns False if none and print a warning message. More...
 
static Handle< Geom_CurveGetCurve (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle< Geom_BezierCurveGetBezierCurve (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle< Geom_BSplineCurveGetBSplineCurve (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle< Geom2d_CurveGetCurve2d (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle< Geom2d_BezierCurveGetBezierCurve2d (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle
< Geom2d_BSplineCurve
GetBSplineCurve2d (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle< Geom_SurfaceGetSurface (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle< Geom_BezierSurfaceGetBezierSurface (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle
< Geom_BSplineSurface
GetBSplineSurface (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle< Poly_TriangulationGetTriangulation (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle< Poly_Polygon3DGetPolygon3D (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static Handle< Poly_Polygon2DGetPolygon2D (Standard_CString &Name)
 Get the variable <S>. Returns a null handle if none, and print a warning message. More...
 
static void BasicCommands (Draw_Interpretor &I)
 defines display commands. More...
 

Detailed Description

This package supports the display of parametric curves and surfaces.

The Drawable deferred classes is inherited from the Drawable3D class from the package Draw, it adds methods to draw 3D Curves and Curves on 3D Surfaces.

The classes Curve Curve2d and Surface are drawable and can be used to draw a single curve from packages Geom or Geom2d or a surface from Geom.

The Triangulation and Polygon from the package Poly are also supported.

Member Function Documentation

static void DrawTrSurf::BasicCommands ( Draw_Interpretor I)
static

defines display commands.

static Handle< Geom_Geometry > DrawTrSurf::Get ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Geom_BezierCurve > DrawTrSurf::GetBezierCurve ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Geom2d_BezierCurve > DrawTrSurf::GetBezierCurve2d ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Geom_BezierSurface > DrawTrSurf::GetBezierSurface ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Geom_BSplineCurve > DrawTrSurf::GetBSplineCurve ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Geom2d_BSplineCurve > DrawTrSurf::GetBSplineCurve2d ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Geom_BSplineSurface > DrawTrSurf::GetBSplineSurface ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Geom_Curve > DrawTrSurf::GetCurve ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Geom2d_Curve > DrawTrSurf::GetCurve2d ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Standard_Boolean DrawTrSurf::GetPoint ( Standard_CString Name,
gp_Pnt P 
)
static

Gets the variable. Returns False if none and print a warning message.

static Standard_Boolean DrawTrSurf::GetPoint2d ( Standard_CString Name,
gp_Pnt2d P 
)
static

Gets the variable. Returns False if none and print a warning message.

static Handle< Poly_Polygon2D > DrawTrSurf::GetPolygon2D ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Poly_Polygon3D > DrawTrSurf::GetPolygon3D ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Geom_Surface > DrawTrSurf::GetSurface ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static Handle< Poly_Triangulation > DrawTrSurf::GetTriangulation ( Standard_CString Name)
static

Get the variable <S>. Returns a null handle if none, and print a warning message.

static void DrawTrSurf::Set ( const Standard_CString  Name,
const gp_Pnt G 
)
static

Sets <G> in the variable <Name>. Overwrite the variable if already set.

static void DrawTrSurf::Set ( const Standard_CString  Name,
const gp_Pnt2d G 
)
static

Sets <G> in the variable <Name>. Overwrite the variable if already set.

static void DrawTrSurf::Set ( const Standard_CString  Name,
const Handle< Geom_Geometry > &  G,
const Standard_Boolean  isSenseMarker = Standard_True 
)
static

Sets <G> in the variable <Name>. Overwrite the variable if already set. isSenseMarker indicates whether to render the sense glyph (arrow) for curves or not.

static void DrawTrSurf::Set ( const Standard_CString  Name,
const Handle< Geom2d_Curve > &  C,
const Standard_Boolean  isSenseMarker = Standard_True 
)
static

Sets in the variable <Name>. Overwrite the variable if already set. isSenseMarker indicates whether to render the sense glyph (arrow) for curves or not.

static void DrawTrSurf::Set ( const Standard_CString  Name,
const Handle< Poly_Triangulation > &  T 
)
static

Sets <T> in the variable <Name>. Overwrite the variable if already set.

static void DrawTrSurf::Set ( const Standard_CString  Name,
const Handle< Poly_Polygon3D > &  P 
)
static

Sets.

in the variable <Name>. Overwrite the variable if already set.

static void DrawTrSurf::Set ( const Standard_CString  Name,
const Handle< Poly_Polygon2D > &  P 
)
static

Sets.

in the variable <Name>. Overwrite the variable if already set.


The documentation for this class was generated from the following file: