Open CASCADE Technology 7.8.2.dev
IGESToBRep_BasicCurve Class Reference

Provides methods to transfer basic geometric curves entities from IGES to CASCADE. These can be : More...

#include <IGESToBRep_BasicCurve.hxx>

Inheritance diagram for IGESToBRep_BasicCurve:

Public Member Functions

 IGESToBRep_BasicCurve ()
 Creates a tool BasicCurve ready to run, with epsilons set to 1.E-04, TheModeTopo to True, the optimization of the continuity to False.
 
 IGESToBRep_BasicCurve (const IGESToBRep_CurveAndSurface &CS)
 Creates a tool BasicCurve ready to run and sets its fields as CS's.
 
 IGESToBRep_BasicCurve (const Standard_Real eps, const Standard_Real epsGeom, const Standard_Real epsCoeff, const Standard_Boolean mode, const Standard_Boolean modeapprox, const Standard_Boolean optimized)
 Creates a tool BasicCurve ready to run.
 
Handle< Geom_CurveTransferBasicCurve (const Handle< IGESData_IGESEntity > &start)
 Transfert a IGESEntity which answer True to the member : IGESToBRep::IsBasicCurve(IGESEntity). If this Entity could not be converted, this member returns a NullEntity.
 
Handle< Geom2d_CurveTransfer2dBasicCurve (const Handle< IGESData_IGESEntity > &start)
 Transfert a IGESEntity which answer True to the member : IGESToBRep::IsBasicCurve(IGESEntity). The IGESEntity must be a curve UV and its associed TRSF must be planar .If this Entity could not be converted, this member returns a NullEntity.
 
Handle< Geom_CurveTransferBSplineCurve (const Handle< IGESGeom_BSplineCurve > &start)
 
Handle< Geom2d_CurveTransfer2dBSplineCurve (const Handle< IGESGeom_BSplineCurve > &start)
 
Handle< Geom_CurveTransferCircularArc (const Handle< IGESGeom_CircularArc > &start)
 
Handle< Geom2d_CurveTransfer2dCircularArc (const Handle< IGESGeom_CircularArc > &start)
 
Handle< Geom_CurveTransferConicArc (const Handle< IGESGeom_ConicArc > &start)
 
Handle< Geom2d_CurveTransfer2dConicArc (const Handle< IGESGeom_ConicArc > &start)
 
Handle< Geom_BSplineCurveTransferCopiousData (const Handle< IGESGeom_CopiousData > &start)
 
Handle< Geom2d_BSplineCurveTransfer2dCopiousData (const Handle< IGESGeom_CopiousData > &start)
 
Handle< Geom_CurveTransferLine (const Handle< IGESGeom_Line > &start)
 
Handle< Geom2d_CurveTransfer2dLine (const Handle< IGESGeom_Line > &start)
 
Handle< Geom_BSplineCurveTransferSplineCurve (const Handle< IGESGeom_SplineCurve > &start)
 
Handle< Geom2d_BSplineCurveTransfer2dSplineCurve (const Handle< IGESGeom_SplineCurve > &start)
 
Handle< Geom_TransformationTransferTransformation (const Handle< IGESGeom_TransformationMatrix > &start)
 
- Public Member Functions inherited from IGESToBRep_CurveAndSurface
 IGESToBRep_CurveAndSurface ()
 Creates a tool CurveAndSurface ready to run, with epsilons set to 1.E-04, myModeTopo to True, the optimization of the continuity to False.
 
 IGESToBRep_CurveAndSurface (const Standard_Real eps, const Standard_Real epsGeom, const Standard_Real epsCoeff, const Standard_Boolean mode, const Standard_Boolean modeapprox, const Standard_Boolean optimized)
 Creates a tool CurveAndSurface ready to run.
 
void Init ()
 Initializes the field of the tool CurveAndSurface with default creating values.
 
void SetEpsilon (const Standard_Real eps)
 Changes the value of "myEps".
 
Standard_Real GetEpsilon () const
 Returns the value of "myEps".
 
void SetEpsCoeff (const Standard_Real eps)
 Changes the value of "myEpsCoeff".
 
Standard_Real GetEpsCoeff () const
 Returns the value of "myEpsCoeff".
 
void SetEpsGeom (const Standard_Real eps)
 Changes the value of "myEpsGeom".
 
Standard_Real GetEpsGeom () const
 Returns the value of "myEpsGeom".
 
void SetMinTol (const Standard_Real mintol)
 Changes the value of "myMinTol".
 
void SetMaxTol (const Standard_Real maxtol)
 Changes the value of "myMaxTol".
 
void UpdateMinMaxTol ()
 Sets values of "myMinTol" and "myMaxTol" as follows myMaxTol = Max ("read.maxprecision.val", myEpsGeom * myUnitFactor) myMinTol = Precision::Confusion() Remark: This method is automatically invoked each time the values of "myEpsGeom" or "myUnitFactor" are changed.
 
Standard_Real GetMinTol () const
 Returns the value of "myMinTol".
 
Standard_Real GetMaxTol () const
 Returns the value of "myMaxTol".
 
void SetModeApprox (const Standard_Boolean mode)
 Changes the value of "myModeApprox".
 
Standard_Boolean GetModeApprox () const
 Returns the value of "myModeApprox".
 
void SetModeTransfer (const Standard_Boolean mode)
 Changes the value of "myModeIsTopo".
 
Standard_Boolean GetModeTransfer () const
 Returns the value of "myModeIsTopo".
 
void SetOptimized (const Standard_Boolean optimized)
 Changes the value of "myContIsOpti".
 
Standard_Boolean GetOptimized () const
 Returns the value of "myContIsOpti".
 
Standard_Real GetUnitFactor () const
 Returns the value of " myUnitFactor".
 
void SetSurfaceCurve (const Standard_Integer ival)
 Changes the value of "mySurfaceCurve".
 
Standard_Integer GetSurfaceCurve () const
 Returns the value of " mySurfaceCurve" 0 = value in file , 2 = kepp 2d and compute 3d 3 = keep 3d and compute 2d.
 
void SetModel (const Handle< IGESData_IGESModel > &model)
 Set the value of "myModel".
 
Handle< IGESData_IGESModelGetModel () const
 Returns the value of "myModel".
 
void SetContinuity (const Standard_Integer continuity)
 Changes the value of "myContinuity" if continuity = 0 do nothing else if continuity = 1 try C1 if continuity = 2 try C2.
 
Standard_Integer GetContinuity () const
 Returns the value of "myContinuity".
 
void SetTransferProcess (const Handle< Transfer_TransientProcess > &TP)
 Set the value of "myMsgReg".
 
Handle< Transfer_TransientProcessGetTransferProcess () const
 Returns the value of "myMsgReg".
 
TopoDS_Shape TransferCurveAndSurface (const Handle< IGESData_IGESEntity > &start, const Message_ProgressRange &theProgress=Message_ProgressRange())
 Returns the result of the transfert of any IGES Curve or Surface Entity. If the transfer has failed, this member return a NullEntity.
 
TopoDS_Shape TransferGeometry (const Handle< IGESData_IGESEntity > &start, const Message_ProgressRange &theProgress=Message_ProgressRange())
 Returns the result of the transfert the geometry of any IGESEntity. If the transfer has failed, this member return a NullEntity.
 
void SendFail (const Handle< IGESData_IGESEntity > &start, const Message_Msg &amsg)
 Records a new Fail message.
 
void SendWarning (const Handle< IGESData_IGESEntity > &start, const Message_Msg &amsg)
 Records a new Warning message.
 
void SendMsg (const Handle< IGESData_IGESEntity > &start, const Message_Msg &amsg)
 Records a new Information message from the definition of a Msg (Original+Value)
 
Standard_Boolean HasShapeResult (const Handle< IGESData_IGESEntity > &start) const
 Returns True if start was already treated and has a result in "myMap" else returns False.
 
TopoDS_Shape GetShapeResult (const Handle< IGESData_IGESEntity > &start) const
 Returns the result of the transfer of the IGESEntity "start" contained in "myMap" . (if HasShapeResult is True).
 
void SetShapeResult (const Handle< IGESData_IGESEntity > &start, const TopoDS_Shape &result)
 set in "myMap" the result of the transfer of the IGESEntity "start".
 
Standard_Integer NbShapeResult (const Handle< IGESData_IGESEntity > &start) const
 Returns the number of shapes results contained in "myMap" for the IGESEntity start ( type VertexList or EdgeList).
 
TopoDS_Shape GetShapeResult (const Handle< IGESData_IGESEntity > &start, const Standard_Integer num) const
 Returns the numth result of the IGESEntity start (type VertexList or EdgeList) in "myMap". (if NbShapeResult is not null).
 
void AddShapeResult (const Handle< IGESData_IGESEntity > &start, const TopoDS_Shape &result)
 set in "myMap" the result of the transfer of the entity of the IGESEntity start ( type VertexList or EdgeList).
 
void SetSurface (const Handle< Geom_Surface > &theSurface)
 
Handle< Geom_SurfaceSurface () const
 
Standard_Real GetUVResolution ()
 

Detailed Description

Provides methods to transfer basic geometric curves entities from IGES to CASCADE. These can be :

  • Circular arc
  • Conic arc
  • Spline curve
  • BSpline curve
  • Line
  • Copious data
  • Point
  • Transformation matrix

Constructor & Destructor Documentation

◆ IGESToBRep_BasicCurve() [1/3]

IGESToBRep_BasicCurve::IGESToBRep_BasicCurve ( )

Creates a tool BasicCurve ready to run, with epsilons set to 1.E-04, TheModeTopo to True, the optimization of the continuity to False.

◆ IGESToBRep_BasicCurve() [2/3]

IGESToBRep_BasicCurve::IGESToBRep_BasicCurve ( const IGESToBRep_CurveAndSurface & CS)

Creates a tool BasicCurve ready to run and sets its fields as CS's.

◆ IGESToBRep_BasicCurve() [3/3]

IGESToBRep_BasicCurve::IGESToBRep_BasicCurve ( const Standard_Real eps,
const Standard_Real epsGeom,
const Standard_Real epsCoeff,
const Standard_Boolean mode,
const Standard_Boolean modeapprox,
const Standard_Boolean optimized )

Creates a tool BasicCurve ready to run.

Member Function Documentation

◆ Transfer2dBasicCurve()

Handle< Geom2d_Curve > IGESToBRep_BasicCurve::Transfer2dBasicCurve ( const Handle< IGESData_IGESEntity > & start)

Transfert a IGESEntity which answer True to the member : IGESToBRep::IsBasicCurve(IGESEntity). The IGESEntity must be a curve UV and its associed TRSF must be planar .If this Entity could not be converted, this member returns a NullEntity.

◆ Transfer2dBSplineCurve()

Handle< Geom2d_Curve > IGESToBRep_BasicCurve::Transfer2dBSplineCurve ( const Handle< IGESGeom_BSplineCurve > & start)

◆ Transfer2dCircularArc()

Handle< Geom2d_Curve > IGESToBRep_BasicCurve::Transfer2dCircularArc ( const Handle< IGESGeom_CircularArc > & start)

◆ Transfer2dConicArc()

Handle< Geom2d_Curve > IGESToBRep_BasicCurve::Transfer2dConicArc ( const Handle< IGESGeom_ConicArc > & start)

◆ Transfer2dCopiousData()

Handle< Geom2d_BSplineCurve > IGESToBRep_BasicCurve::Transfer2dCopiousData ( const Handle< IGESGeom_CopiousData > & start)

◆ Transfer2dLine()

Handle< Geom2d_Curve > IGESToBRep_BasicCurve::Transfer2dLine ( const Handle< IGESGeom_Line > & start)

◆ Transfer2dSplineCurve()

Handle< Geom2d_BSplineCurve > IGESToBRep_BasicCurve::Transfer2dSplineCurve ( const Handle< IGESGeom_SplineCurve > & start)

◆ TransferBasicCurve()

Handle< Geom_Curve > IGESToBRep_BasicCurve::TransferBasicCurve ( const Handle< IGESData_IGESEntity > & start)

Transfert a IGESEntity which answer True to the member : IGESToBRep::IsBasicCurve(IGESEntity). If this Entity could not be converted, this member returns a NullEntity.

◆ TransferBSplineCurve()

Handle< Geom_Curve > IGESToBRep_BasicCurve::TransferBSplineCurve ( const Handle< IGESGeom_BSplineCurve > & start)

◆ TransferCircularArc()

Handle< Geom_Curve > IGESToBRep_BasicCurve::TransferCircularArc ( const Handle< IGESGeom_CircularArc > & start)

◆ TransferConicArc()

Handle< Geom_Curve > IGESToBRep_BasicCurve::TransferConicArc ( const Handle< IGESGeom_ConicArc > & start)

◆ TransferCopiousData()

Handle< Geom_BSplineCurve > IGESToBRep_BasicCurve::TransferCopiousData ( const Handle< IGESGeom_CopiousData > & start)

◆ TransferLine()

Handle< Geom_Curve > IGESToBRep_BasicCurve::TransferLine ( const Handle< IGESGeom_Line > & start)

◆ TransferSplineCurve()

Handle< Geom_BSplineCurve > IGESToBRep_BasicCurve::TransferSplineCurve ( const Handle< IGESGeom_SplineCurve > & start)

◆ TransferTransformation()

Handle< Geom_Transformation > IGESToBRep_BasicCurve::TransferTransformation ( const Handle< IGESGeom_TransformationMatrix > & start)

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