OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    StepToGeom Class Reference

    This class provides static methods to convert STEP geometric entities to OCCT. The methods returning handles will return null handle in case of error. The methods returning boolean will return True if succeeded and False if error. More...

    #include <StepToGeom.hxx>

    Static Public Member Functions

    static occ::handle< Geom_Axis1Placement > MakeAxis1Placement (const occ::handle< StepGeom_Axis1Placement > &SA, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Axis2Placement > MakeAxis2Placement (const occ::handle< StepGeom_Axis2Placement3d > &SA, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Axis2Placement > MakeAxis2Placement (const occ::handle< StepGeom_SuParameters > &SP)
    static occ::handle< Geom2d_AxisPlacement > MakeAxisPlacement (const occ::handle< StepGeom_Axis2Placement2d > &SA, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_BoundedCurve > MakeBoundedCurve (const occ::handle< StepGeom_BoundedCurve > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_BoundedCurve > MakeBoundedCurve2d (const occ::handle< StepGeom_BoundedCurve > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_BoundedSurface > MakeBoundedSurface (const occ::handle< StepGeom_BoundedSurface > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_BSplineCurve > MakeBSplineCurve (const occ::handle< StepGeom_BSplineCurve > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_BSplineCurve > MakeBSplineCurve2d (const occ::handle< StepGeom_BSplineCurve > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_BSplineSurface > MakeBSplineSurface (const occ::handle< StepGeom_BSplineSurface > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_CartesianPoint > MakeCartesianPoint (const occ::handle< StepGeom_CartesianPoint > &SP, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_CartesianPoint > MakeCartesianPoint2d (const occ::handle< StepGeom_CartesianPoint > &SP, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Circle > MakeCircle (const occ::handle< StepGeom_Circle > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_Circle > MakeCircle2d (const occ::handle< StepGeom_Circle > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Conic > MakeConic (const occ::handle< StepGeom_Conic > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_Conic > MakeConic2d (const occ::handle< StepGeom_Conic > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_ConicalSurface > MakeConicalSurface (const occ::handle< StepGeom_ConicalSurface > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Curve > MakeCurve (const occ::handle< StepGeom_Curve > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_Curve > MakeCurve2d (const occ::handle< StepGeom_Curve > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_CylindricalSurface > MakeCylindricalSurface (const occ::handle< StepGeom_CylindricalSurface > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Direction > MakeDirection (const occ::handle< StepGeom_Direction > &SD)
    static occ::handle< Geom2d_Direction > MakeDirection2d (const occ::handle< StepGeom_Direction > &SD)
    static occ::handle< Geom_ElementarySurface > MakeElementarySurface (const occ::handle< StepGeom_ElementarySurface > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Ellipse > MakeEllipse (const occ::handle< StepGeom_Ellipse > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_Ellipse > MakeEllipse2d (const occ::handle< StepGeom_Ellipse > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Hyperbola > MakeHyperbola (const occ::handle< StepGeom_Hyperbola > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_Hyperbola > MakeHyperbola2d (const occ::handle< StepGeom_Hyperbola > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Line > MakeLine (const occ::handle< StepGeom_Line > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_Line > MakeLine2d (const occ::handle< StepGeom_Line > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Parabola > MakeParabola (const occ::handle< StepGeom_Parabola > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_Parabola > MakeParabola2d (const occ::handle< StepGeom_Parabola > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Plane > MakePlane (const occ::handle< StepGeom_Plane > &SP, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_BSplineCurve > MakePolyline (const occ::handle< StepGeom_Polyline > &SPL, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_BSplineCurve > MakePolyline2d (const occ::handle< StepGeom_Polyline > &SPL, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_RectangularTrimmedSurface > MakeRectangularTrimmedSurface (const occ::handle< StepGeom_RectangularTrimmedSurface > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_SphericalSurface > MakeSphericalSurface (const occ::handle< StepGeom_SphericalSurface > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_Surface > MakeSurface (const occ::handle< StepGeom_Surface > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_SurfaceOfLinearExtrusion > MakeSurfaceOfLinearExtrusion (const occ::handle< StepGeom_SurfaceOfLinearExtrusion > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_SurfaceOfRevolution > MakeSurfaceOfRevolution (const occ::handle< StepGeom_SurfaceOfRevolution > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_SweptSurface > MakeSweptSurface (const occ::handle< StepGeom_SweptSurface > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_ToroidalSurface > MakeToroidalSurface (const occ::handle< StepGeom_ToroidalSurface > &SS, const StepData_Factors &theLocalFactors=StepData_Factors())
    static bool MakeTransformation2d (const occ::handle< StepGeom_CartesianTransformationOperator2d > &SCTO, gp_Trsf2d &CT, const StepData_Factors &theLocalFactors=StepData_Factors())
    static bool MakeTransformation3d (const occ::handle< StepGeom_CartesianTransformationOperator3d > &SCTO, gp_Trsf &CT, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_TrimmedCurve > MakeTrimmedCurve (const occ::handle< StepGeom_TrimmedCurve > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_BSplineCurve > MakeTrimmedCurve2d (const occ::handle< StepGeom_TrimmedCurve > &SC, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom_VectorWithMagnitude > MakeVectorWithMagnitude (const occ::handle< StepGeom_Vector > &SV, const StepData_Factors &theLocalFactors=StepData_Factors())
    static occ::handle< Geom2d_VectorWithMagnitude > MakeVectorWithMagnitude2d (const occ::handle< StepGeom_Vector > &SV)
    static occ::handle< NCollection_HArray1< double > > MakeYprRotation (const StepKinematics_SpatialRotation &SR, const occ::handle< StepRepr_GlobalUnitAssignedContext > &theCntxt)

    Detailed Description

    This class provides static methods to convert STEP geometric entities to OCCT. The methods returning handles will return null handle in case of error. The methods returning boolean will return True if succeeded and False if error.

    Member Function Documentation

    ◆ MakeAxis1Placement()

    occ::handle< Geom_Axis1Placement > StepToGeom::MakeAxis1Placement ( const occ::handle< StepGeom_Axis1Placement > & SA,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeAxis2Placement() [1/2]

    occ::handle< Geom_Axis2Placement > StepToGeom::MakeAxis2Placement ( const occ::handle< StepGeom_Axis2Placement3d > & SA,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeAxis2Placement() [2/2]

    occ::handle< Geom_Axis2Placement > StepToGeom::MakeAxis2Placement ( const occ::handle< StepGeom_SuParameters > & SP)
    static

    ◆ MakeAxisPlacement()

    occ::handle< Geom2d_AxisPlacement > StepToGeom::MakeAxisPlacement ( const occ::handle< StepGeom_Axis2Placement2d > & SA,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeBoundedCurve()

    occ::handle< Geom_BoundedCurve > StepToGeom::MakeBoundedCurve ( const occ::handle< StepGeom_BoundedCurve > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeBoundedCurve2d()

    occ::handle< Geom2d_BoundedCurve > StepToGeom::MakeBoundedCurve2d ( const occ::handle< StepGeom_BoundedCurve > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeBoundedSurface()

    occ::handle< Geom_BoundedSurface > StepToGeom::MakeBoundedSurface ( const occ::handle< StepGeom_BoundedSurface > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeBSplineCurve()

    occ::handle< Geom_BSplineCurve > StepToGeom::MakeBSplineCurve ( const occ::handle< StepGeom_BSplineCurve > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeBSplineCurve2d()

    occ::handle< Geom2d_BSplineCurve > StepToGeom::MakeBSplineCurve2d ( const occ::handle< StepGeom_BSplineCurve > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeBSplineSurface()

    occ::handle< Geom_BSplineSurface > StepToGeom::MakeBSplineSurface ( const occ::handle< StepGeom_BSplineSurface > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeCartesianPoint()

    occ::handle< Geom_CartesianPoint > StepToGeom::MakeCartesianPoint ( const occ::handle< StepGeom_CartesianPoint > & SP,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeCartesianPoint2d()

    occ::handle< Geom2d_CartesianPoint > StepToGeom::MakeCartesianPoint2d ( const occ::handle< StepGeom_CartesianPoint > & SP,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeCircle()

    occ::handle< Geom_Circle > StepToGeom::MakeCircle ( const occ::handle< StepGeom_Circle > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeCircle2d()

    occ::handle< Geom2d_Circle > StepToGeom::MakeCircle2d ( const occ::handle< StepGeom_Circle > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeConic()

    occ::handle< Geom_Conic > StepToGeom::MakeConic ( const occ::handle< StepGeom_Conic > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeConic2d()

    occ::handle< Geom2d_Conic > StepToGeom::MakeConic2d ( const occ::handle< StepGeom_Conic > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeConicalSurface()

    occ::handle< Geom_ConicalSurface > StepToGeom::MakeConicalSurface ( const occ::handle< StepGeom_ConicalSurface > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeCurve()

    occ::handle< Geom_Curve > StepToGeom::MakeCurve ( const occ::handle< StepGeom_Curve > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeCurve2d()

    occ::handle< Geom2d_Curve > StepToGeom::MakeCurve2d ( const occ::handle< StepGeom_Curve > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeCylindricalSurface()

    occ::handle< Geom_CylindricalSurface > StepToGeom::MakeCylindricalSurface ( const occ::handle< StepGeom_CylindricalSurface > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeDirection()

    occ::handle< Geom_Direction > StepToGeom::MakeDirection ( const occ::handle< StepGeom_Direction > & SD)
    static

    ◆ MakeDirection2d()

    occ::handle< Geom2d_Direction > StepToGeom::MakeDirection2d ( const occ::handle< StepGeom_Direction > & SD)
    static

    ◆ MakeElementarySurface()

    occ::handle< Geom_ElementarySurface > StepToGeom::MakeElementarySurface ( const occ::handle< StepGeom_ElementarySurface > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeEllipse()

    occ::handle< Geom_Ellipse > StepToGeom::MakeEllipse ( const occ::handle< StepGeom_Ellipse > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeEllipse2d()

    occ::handle< Geom2d_Ellipse > StepToGeom::MakeEllipse2d ( const occ::handle< StepGeom_Ellipse > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeHyperbola()

    occ::handle< Geom_Hyperbola > StepToGeom::MakeHyperbola ( const occ::handle< StepGeom_Hyperbola > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeHyperbola2d()

    occ::handle< Geom2d_Hyperbola > StepToGeom::MakeHyperbola2d ( const occ::handle< StepGeom_Hyperbola > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeLine()

    occ::handle< Geom_Line > StepToGeom::MakeLine ( const occ::handle< StepGeom_Line > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeLine2d()

    occ::handle< Geom2d_Line > StepToGeom::MakeLine2d ( const occ::handle< StepGeom_Line > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeParabola()

    occ::handle< Geom_Parabola > StepToGeom::MakeParabola ( const occ::handle< StepGeom_Parabola > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeParabola2d()

    occ::handle< Geom2d_Parabola > StepToGeom::MakeParabola2d ( const occ::handle< StepGeom_Parabola > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakePlane()

    occ::handle< Geom_Plane > StepToGeom::MakePlane ( const occ::handle< StepGeom_Plane > & SP,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakePolyline()

    occ::handle< Geom_BSplineCurve > StepToGeom::MakePolyline ( const occ::handle< StepGeom_Polyline > & SPL,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakePolyline2d()

    occ::handle< Geom2d_BSplineCurve > StepToGeom::MakePolyline2d ( const occ::handle< StepGeom_Polyline > & SPL,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeRectangularTrimmedSurface()

    occ::handle< Geom_RectangularTrimmedSurface > StepToGeom::MakeRectangularTrimmedSurface ( const occ::handle< StepGeom_RectangularTrimmedSurface > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeSphericalSurface()

    occ::handle< Geom_SphericalSurface > StepToGeom::MakeSphericalSurface ( const occ::handle< StepGeom_SphericalSurface > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeSurface()

    occ::handle< Geom_Surface > StepToGeom::MakeSurface ( const occ::handle< StepGeom_Surface > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeSurfaceOfLinearExtrusion()

    occ::handle< Geom_SurfaceOfLinearExtrusion > StepToGeom::MakeSurfaceOfLinearExtrusion ( const occ::handle< StepGeom_SurfaceOfLinearExtrusion > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeSurfaceOfRevolution()

    occ::handle< Geom_SurfaceOfRevolution > StepToGeom::MakeSurfaceOfRevolution ( const occ::handle< StepGeom_SurfaceOfRevolution > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeSweptSurface()

    occ::handle< Geom_SweptSurface > StepToGeom::MakeSweptSurface ( const occ::handle< StepGeom_SweptSurface > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeToroidalSurface()

    occ::handle< Geom_ToroidalSurface > StepToGeom::MakeToroidalSurface ( const occ::handle< StepGeom_ToroidalSurface > & SS,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeTransformation2d()

    bool StepToGeom::MakeTransformation2d ( const occ::handle< StepGeom_CartesianTransformationOperator2d > & SCTO,
    gp_Trsf2d & CT,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeTransformation3d()

    bool StepToGeom::MakeTransformation3d ( const occ::handle< StepGeom_CartesianTransformationOperator3d > & SCTO,
    gp_Trsf & CT,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeTrimmedCurve()

    occ::handle< Geom_TrimmedCurve > StepToGeom::MakeTrimmedCurve ( const occ::handle< StepGeom_TrimmedCurve > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeTrimmedCurve2d()

    occ::handle< Geom2d_BSplineCurve > StepToGeom::MakeTrimmedCurve2d ( const occ::handle< StepGeom_TrimmedCurve > & SC,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeVectorWithMagnitude()

    occ::handle< Geom_VectorWithMagnitude > StepToGeom::MakeVectorWithMagnitude ( const occ::handle< StepGeom_Vector > & SV,
    const StepData_Factors & theLocalFactors = StepData_Factors() )
    static

    ◆ MakeVectorWithMagnitude2d()

    occ::handle< Geom2d_VectorWithMagnitude > StepToGeom::MakeVectorWithMagnitude2d ( const occ::handle< StepGeom_Vector > & SV)
    static

    ◆ MakeYprRotation()

    occ::handle< NCollection_HArray1< double > > StepToGeom::MakeYprRotation ( const StepKinematics_SpatialRotation & SR,
    const occ::handle< StepRepr_GlobalUnitAssignedContext > & theCntxt )
    static

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