Open CASCADE Technology  7.1.0.beta
Public Member Functions

ProjLib_Plane Class Reference

Projects elementary curves on a plane. More...

#include <ProjLib_Plane.hxx>

Inheritance diagram for ProjLib_Plane:
Inheritance graph
[legend]

Public Member Functions

 ProjLib_Plane ()
 Undefined projection. More...
 
 ProjLib_Plane (const gp_Pln &Pl)
 Projection on the plane <Pl>. More...
 
 ProjLib_Plane (const gp_Pln &Pl, const gp_Lin &L)
 Projection of the line <L> on the plane <Pl>. More...
 
 ProjLib_Plane (const gp_Pln &Pl, const gp_Circ &C)
 Projection of the circle on the plane <Pl>. More...
 
 ProjLib_Plane (const gp_Pln &Pl, const gp_Elips &E)
 Projection of the ellipse <E> on the plane <Pl>. More...
 
 ProjLib_Plane (const gp_Pln &Pl, const gp_Parab &P)
 Projection of the parabola. More...
 
 ProjLib_Plane (const gp_Pln &Pl, const gp_Hypr &H)
 Projection of the hyperbola <H> on the plane <Pl>. More...
 
void Init (const gp_Pln &Pl)
 
virtual void Project (const gp_Lin &L) override
 
virtual void Project (const gp_Circ &C) override
 
virtual void Project (const gp_Elips &E) override
 
virtual void Project (const gp_Parab &P) override
 
virtual void Project (const gp_Hypr &H) override
 
- Public Member Functions inherited from ProjLib_Projector
 ProjLib_Projector ()
 Sets the type to OtherCurve. More...
 
virtual ~ProjLib_Projector ()
 
Standard_Boolean IsDone () const
 
void Done ()
 Set isDone = Standard_True;. More...
 
GeomAbs_CurveType GetType () const
 
void SetBSpline (const Handle< Geom2d_BSplineCurve > &C)
 
void SetBezier (const Handle< Geom2d_BezierCurve > &C)
 
void SetType (const GeomAbs_CurveType Type)
 
Standard_Boolean IsPeriodic () const
 
void SetPeriodic ()
 
const gp_Lin2dLine () const
 
const gp_Circ2dCircle () const
 
const gp_Elips2dEllipse () const
 
const gp_Hypr2dHyperbola () const
 
const gp_Parab2dParabola () const
 
Handle< Geom2d_BezierCurveBezier () const
 
Handle< Geom2d_BSplineCurveBSpline () const
 
void UFrame (const Standard_Real CFirst, const Standard_Real CLast, const Standard_Real UFirst, const Standard_Real Period)
 Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ UFirst, UFirst + Period [. More...
 
void VFrame (const Standard_Real CFirst, const Standard_Real CLast, const Standard_Real VFirst, const Standard_Real Period)
 Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ VFirst, VFirst + Period [. More...
 

Additional Inherited Members

- Protected Attributes inherited from ProjLib_Projector
GeomAbs_CurveType myType
 
gp_Lin2d myLin
 
gp_Circ2d myCirc
 
gp_Elips2d myElips
 
gp_Hypr2d myHypr
 
gp_Parab2d myParab
 
Handle< Geom2d_BSplineCurvemyBSpline
 
Handle< Geom2d_BezierCurvemyBezier
 
Standard_Boolean myIsPeriodic
 
Standard_Boolean isDone
 

Detailed Description

Projects elementary curves on a plane.

Constructor & Destructor Documentation

ProjLib_Plane::ProjLib_Plane ( )

Undefined projection.

ProjLib_Plane::ProjLib_Plane ( const gp_Pln Pl)

Projection on the plane <Pl>.

ProjLib_Plane::ProjLib_Plane ( const gp_Pln Pl,
const gp_Lin L 
)

Projection of the line <L> on the plane <Pl>.

ProjLib_Plane::ProjLib_Plane ( const gp_Pln Pl,
const gp_Circ C 
)

Projection of the circle on the plane <Pl>.

ProjLib_Plane::ProjLib_Plane ( const gp_Pln Pl,
const gp_Elips E 
)

Projection of the ellipse <E> on the plane <Pl>.

ProjLib_Plane::ProjLib_Plane ( const gp_Pln Pl,
const gp_Parab P 
)

Projection of the parabola.

on the plane <Pl>.

ProjLib_Plane::ProjLib_Plane ( const gp_Pln Pl,
const gp_Hypr H 
)

Projection of the hyperbola <H> on the plane <Pl>.

Member Function Documentation

void ProjLib_Plane::Init ( const gp_Pln Pl)
virtual void ProjLib_Plane::Project ( const gp_Lin L)
overridevirtual

Reimplemented from ProjLib_Projector.

virtual void ProjLib_Plane::Project ( const gp_Circ C)
overridevirtual

Reimplemented from ProjLib_Projector.

virtual void ProjLib_Plane::Project ( const gp_Elips E)
overridevirtual

Reimplemented from ProjLib_Projector.

virtual void ProjLib_Plane::Project ( const gp_Parab P)
overridevirtual

Reimplemented from ProjLib_Projector.

virtual void ProjLib_Plane::Project ( const gp_Hypr H)
overridevirtual

Reimplemented from ProjLib_Projector.


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