Open CASCADE Technology  7.5.0
Public Member Functions
StepToTopoDS_TranslateCompositeCurve Class Reference

Translate STEP entity composite_curve to TopoDS_Wire If surface is given, the curve is assumed to lie on that surface and in case if any segment of it is a curve_on_surface, the pcurve for that segment will be taken. Note: a segment of composite_curve may be itself composite_curve. Only one-level protection against cyclic references is implemented. More...

#include <StepToTopoDS_TranslateCompositeCurve.hxx>

Inheritance diagram for StepToTopoDS_TranslateCompositeCurve:
Inheritance graph
[legend]

Public Member Functions

 StepToTopoDS_TranslateCompositeCurve ()
 Empty constructor. More...
 
 StepToTopoDS_TranslateCompositeCurve (const Handle< StepGeom_CompositeCurve > &CC, const Handle< Transfer_TransientProcess > &TP)
 Translates standalone composite_curve. More...
 
 StepToTopoDS_TranslateCompositeCurve (const Handle< StepGeom_CompositeCurve > &CC, const Handle< Transfer_TransientProcess > &TP, const Handle< StepGeom_Surface > &S, const Handle< Geom_Surface > &Surf)
 Translates composite_curve lying on surface. More...
 
Standard_Boolean Init (const Handle< StepGeom_CompositeCurve > &CC, const Handle< Transfer_TransientProcess > &TP)
 Translates standalone composite_curve. More...
 
Standard_Boolean Init (const Handle< StepGeom_CompositeCurve > &CC, const Handle< Transfer_TransientProcess > &TP, const Handle< StepGeom_Surface > &S, const Handle< Geom_Surface > &Surf)
 Translates composite_curve lying on surface. More...
 
const TopoDS_WireValue () const
 Returns result of last translation or null wire if failed. More...
 
Standard_Boolean IsInfiniteSegment () const
 Returns True if composite_curve contains a segment with infinite parameters. More...
 
- Public Member Functions inherited from StepToTopoDS_Root
Standard_Boolean IsDone () const
 
Standard_Real Precision () const
 Returns the value of "MyPrecision". More...
 
void SetPrecision (const Standard_Real preci)
 Sets the value of "MyPrecision". More...
 
Standard_Real MaxTol () const
 Returns the value of "MaxTol". More...
 
void SetMaxTol (const Standard_Real maxpreci)
 Sets the value of MaxTol. More...
 

Additional Inherited Members

- Protected Member Functions inherited from StepToTopoDS_Root
 StepToTopoDS_Root ()
 
- Protected Attributes inherited from StepToTopoDS_Root
Standard_Boolean done
 

Detailed Description

Translate STEP entity composite_curve to TopoDS_Wire If surface is given, the curve is assumed to lie on that surface and in case if any segment of it is a curve_on_surface, the pcurve for that segment will be taken. Note: a segment of composite_curve may be itself composite_curve. Only one-level protection against cyclic references is implemented.

Constructor & Destructor Documentation

◆ StepToTopoDS_TranslateCompositeCurve() [1/3]

StepToTopoDS_TranslateCompositeCurve::StepToTopoDS_TranslateCompositeCurve ( )

Empty constructor.

◆ StepToTopoDS_TranslateCompositeCurve() [2/3]

StepToTopoDS_TranslateCompositeCurve::StepToTopoDS_TranslateCompositeCurve ( const Handle< StepGeom_CompositeCurve > &  CC,
const Handle< Transfer_TransientProcess > &  TP 
)

Translates standalone composite_curve.

◆ StepToTopoDS_TranslateCompositeCurve() [3/3]

StepToTopoDS_TranslateCompositeCurve::StepToTopoDS_TranslateCompositeCurve ( const Handle< StepGeom_CompositeCurve > &  CC,
const Handle< Transfer_TransientProcess > &  TP,
const Handle< StepGeom_Surface > &  S,
const Handle< Geom_Surface > &  Surf 
)

Translates composite_curve lying on surface.

Member Function Documentation

◆ Init() [1/2]

Standard_Boolean StepToTopoDS_TranslateCompositeCurve::Init ( const Handle< StepGeom_CompositeCurve > &  CC,
const Handle< Transfer_TransientProcess > &  TP 
)

Translates standalone composite_curve.

◆ Init() [2/2]

Standard_Boolean StepToTopoDS_TranslateCompositeCurve::Init ( const Handle< StepGeom_CompositeCurve > &  CC,
const Handle< Transfer_TransientProcess > &  TP,
const Handle< StepGeom_Surface > &  S,
const Handle< Geom_Surface > &  Surf 
)

Translates composite_curve lying on surface.

◆ IsInfiniteSegment()

Standard_Boolean StepToTopoDS_TranslateCompositeCurve::IsInfiniteSegment ( ) const

Returns True if composite_curve contains a segment with infinite parameters.

◆ Value()

const TopoDS_Wire& StepToTopoDS_TranslateCompositeCurve::Value ( ) const

Returns result of last translation or null wire if failed.


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