Open CASCADE Technology  7.4.0
Public Member Functions | Protected Attributes
ProjLib_Projector Class Reference

Root class for projection algorithms, stores the result. More...

#include <ProjLib_Projector.hxx>

Inheritance diagram for ProjLib_Projector:
Inheritance graph
[legend]

Public Member Functions

 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
 
virtual void Project (const gp_Lin &L)
 
virtual void Project (const gp_Circ &C)
 
virtual void Project (const gp_Elips &E)
 
virtual void Project (const gp_Parab &P)
 
virtual void Project (const gp_Hypr &H)
 
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...
 

Protected Attributes

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

Root class for projection algorithms, stores the result.

Constructor & Destructor Documentation

◆ ProjLib_Projector()

ProjLib_Projector::ProjLib_Projector ( )

Sets the type to OtherCurve.

◆ ~ProjLib_Projector()

virtual ProjLib_Projector::~ProjLib_Projector ( )
virtual

Member Function Documentation

◆ Bezier()

Handle< Geom2d_BezierCurve > ProjLib_Projector::Bezier ( ) const

◆ BSpline()

Handle< Geom2d_BSplineCurve > ProjLib_Projector::BSpline ( ) const

◆ Circle()

const gp_Circ2d& ProjLib_Projector::Circle ( ) const

◆ Done()

void ProjLib_Projector::Done ( )

Set isDone = Standard_True;.

◆ Ellipse()

const gp_Elips2d& ProjLib_Projector::Ellipse ( ) const

◆ GetType()

GeomAbs_CurveType ProjLib_Projector::GetType ( ) const

◆ Hyperbola()

const gp_Hypr2d& ProjLib_Projector::Hyperbola ( ) const

◆ IsDone()

Standard_Boolean ProjLib_Projector::IsDone ( ) const

◆ IsPeriodic()

Standard_Boolean ProjLib_Projector::IsPeriodic ( ) const

◆ Line()

const gp_Lin2d& ProjLib_Projector::Line ( ) const

◆ Parabola()

const gp_Parab2d& ProjLib_Projector::Parabola ( ) const

◆ Project() [1/5]

virtual void ProjLib_Projector::Project ( const gp_Lin L)
virtual

◆ Project() [2/5]

virtual void ProjLib_Projector::Project ( const gp_Circ C)
virtual

◆ Project() [3/5]

virtual void ProjLib_Projector::Project ( const gp_Elips E)
virtual

◆ Project() [4/5]

virtual void ProjLib_Projector::Project ( const gp_Parab P)
virtual

◆ Project() [5/5]

virtual void ProjLib_Projector::Project ( const gp_Hypr H)
virtual

◆ SetBezier()

void ProjLib_Projector::SetBezier ( const Handle< Geom2d_BezierCurve > &  C)

◆ SetBSpline()

void ProjLib_Projector::SetBSpline ( const Handle< Geom2d_BSplineCurve > &  C)

◆ SetPeriodic()

void ProjLib_Projector::SetPeriodic ( )

◆ SetType()

void ProjLib_Projector::SetType ( const GeomAbs_CurveType  Type)

◆ UFrame()

void ProjLib_Projector::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 [.

◆ VFrame()

void ProjLib_Projector::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 [.

Field Documentation

◆ isDone

Standard_Boolean ProjLib_Projector::isDone
protected

◆ myBezier

Handle< Geom2d_BezierCurve > ProjLib_Projector::myBezier
protected

◆ myBSpline

Handle< Geom2d_BSplineCurve > ProjLib_Projector::myBSpline
protected

◆ myCirc

gp_Circ2d ProjLib_Projector::myCirc
protected

◆ myElips

gp_Elips2d ProjLib_Projector::myElips
protected

◆ myHypr

gp_Hypr2d ProjLib_Projector::myHypr
protected

◆ myIsPeriodic

Standard_Boolean ProjLib_Projector::myIsPeriodic
protected

◆ myLin

gp_Lin2d ProjLib_Projector::myLin
protected

◆ myParab

gp_Parab2d ProjLib_Projector::myParab
protected

◆ myType

GeomAbs_CurveType ProjLib_Projector::myType
protected

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