Open CASCADE Technology  7.1.0.beta
Public Member Functions

IntTools_Curve Class Reference

class is a container of one 3d curve two 2d curves More...

#include <IntTools_Curve.hxx>

Public Member Functions

 IntTools_Curve ()
 Empty constructor. More...
 
 IntTools_Curve (const Handle< Geom_Curve > &Curve3d, const Handle< Geom2d_Curve > &FirstCurve2d, const Handle< Geom2d_Curve > &SecondCurve2d)
 Initializes me by a 3d curve and two 2d curves. More...
 
void SetCurves (const Handle< Geom_Curve > &Curve3d, const Handle< Geom2d_Curve > &FirstCurve2d, const Handle< Geom2d_Curve > &SecondCurve2d)
 Modifier. More...
 
void SetCurve (const Handle< Geom_Curve > &Curve3d)
 Modifier. More...
 
void SetFirstCurve2d (const Handle< Geom2d_Curve > &FirstCurve2d)
 Modifier. More...
 
void SetSecondCurve2d (const Handle< Geom2d_Curve > &SecondCurve2d)
 Modifier. More...
 
const Handle< Geom_Curve > & Curve () const
 Selector. More...
 
const Handle< Geom2d_Curve > & FirstCurve2d () const
 Selector. More...
 
const Handle< Geom2d_Curve > & SecondCurve2d () const
 Selector. More...
 
Standard_Boolean HasBounds () const
 Returns true if 3d curve is BoundedCurve from Geom. More...
 
void Bounds (Standard_Real &aT1, Standard_Real &aT2, gp_Pnt &aP1, gp_Pnt &aP2) const
 Returns boundary parameters and corresponded 3d point. More...
 
Standard_Boolean D0 (Standard_Real &aT1, gp_Pnt &aP1) const
 Computes 3d point corresponded to parameter aT1 Returns true if given parameter aT1 is inside the boundaries of the curve. More...
 
GeomAbs_CurveType Type () const
 Returns the type of 3d curve. More...
 

Detailed Description

class is a container of one 3d curve two 2d curves

Constructor & Destructor Documentation

IntTools_Curve::IntTools_Curve ( )

Empty constructor.

IntTools_Curve::IntTools_Curve ( const Handle< Geom_Curve > &  Curve3d,
const Handle< Geom2d_Curve > &  FirstCurve2d,
const Handle< Geom2d_Curve > &  SecondCurve2d 
)

Initializes me by a 3d curve and two 2d curves.

Member Function Documentation

void IntTools_Curve::Bounds ( Standard_Real aT1,
Standard_Real aT2,
gp_Pnt aP1,
gp_Pnt aP2 
) const

Returns boundary parameters and corresponded 3d point.

Warning: If HasBounds returns false the returned parameters are equal to zero.

const Handle< Geom_Curve >& IntTools_Curve::Curve ( ) const

Selector.

Standard_Boolean IntTools_Curve::D0 ( Standard_Real aT1,
gp_Pnt aP1 
) const

Computes 3d point corresponded to parameter aT1 Returns true if given parameter aT1 is inside the boundaries of the curve.

const Handle< Geom2d_Curve >& IntTools_Curve::FirstCurve2d ( ) const

Selector.

Standard_Boolean IntTools_Curve::HasBounds ( ) const

Returns true if 3d curve is BoundedCurve from Geom.

const Handle< Geom2d_Curve >& IntTools_Curve::SecondCurve2d ( ) const

Selector.

void IntTools_Curve::SetCurve ( const Handle< Geom_Curve > &  Curve3d)

Modifier.

void IntTools_Curve::SetCurves ( const Handle< Geom_Curve > &  Curve3d,
const Handle< Geom2d_Curve > &  FirstCurve2d,
const Handle< Geom2d_Curve > &  SecondCurve2d 
)

Modifier.

void IntTools_Curve::SetFirstCurve2d ( const Handle< Geom2d_Curve > &  FirstCurve2d)

Modifier.

void IntTools_Curve::SetSecondCurve2d ( const Handle< Geom2d_Curve > &  SecondCurve2d)

Modifier.

GeomAbs_CurveType IntTools_Curve::Type ( ) const

Returns the type of 3d curve.


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