mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
Automatic upgrade of OCCT code by command "occt_upgrade . -nocdl": - WOK-generated header files from inc and sources from drv are moved to src - CDL files removed - All packages are converted to nocdlpack
125 lines
4.0 KiB
C++
125 lines
4.0 KiB
C++
// Created on: 1994-03-14
|
|
// Created by: Frederic UNTEREINER
|
|
// Copyright (c) 1994-1999 Matra Datavision
|
|
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
|
//
|
|
// This file is part of Open CASCADE Technology software library.
|
|
//
|
|
// This library is free software; you can redistribute it and/or modify it under
|
|
// the terms of the GNU Lesser General Public License version 2.1 as published
|
|
// by the Free Software Foundation, with special exception defined in the file
|
|
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
// distribution for complete text of the license and disclaimer of any warranty.
|
|
//
|
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
|
// commercial license or contractual agreement.
|
|
|
|
#ifndef _IGESToBRep_BasicSurface_HeaderFile
|
|
#define _IGESToBRep_BasicSurface_HeaderFile
|
|
|
|
#include <Standard.hxx>
|
|
#include <Standard_DefineAlloc.hxx>
|
|
#include <Standard_Handle.hxx>
|
|
|
|
#include <IGESToBRep_CurveAndSurface.hxx>
|
|
#include <Standard_Real.hxx>
|
|
#include <Standard_Boolean.hxx>
|
|
class IGESToBRep_CurveAndSurface;
|
|
class Geom_Surface;
|
|
class IGESData_IGESEntity;
|
|
class Geom_Plane;
|
|
class IGESSolid_PlaneSurface;
|
|
class Geom_CylindricalSurface;
|
|
class IGESSolid_CylindricalSurface;
|
|
class Geom_ConicalSurface;
|
|
class IGESSolid_ConicalSurface;
|
|
class Geom_SphericalSurface;
|
|
class IGESSolid_SphericalSurface;
|
|
class Geom_ToroidalSurface;
|
|
class IGESSolid_ToroidalSurface;
|
|
class Geom_BSplineSurface;
|
|
class IGESGeom_SplineSurface;
|
|
class IGESGeom_BSplineSurface;
|
|
|
|
|
|
//! Provides methods to transfer basic geometric surface entities
|
|
//! from IGES to CASCADE.
|
|
//! These can be :
|
|
//! * Spline surface
|
|
//! * BSpline surface
|
|
class IGESToBRep_BasicSurface : public IGESToBRep_CurveAndSurface
|
|
{
|
|
public:
|
|
|
|
DEFINE_STANDARD_ALLOC
|
|
|
|
|
|
//! Creates a tool BasicSurface ready to run, with
|
|
//! epsilons set to 1.E-04, TheModeTopo to True, the
|
|
//! optimization of the continuity to False.
|
|
Standard_EXPORT IGESToBRep_BasicSurface();
|
|
|
|
//! Creates a tool BasicSurface ready to run and sets its
|
|
//! fields as CS's.
|
|
Standard_EXPORT IGESToBRep_BasicSurface(const IGESToBRep_CurveAndSurface& CS);
|
|
|
|
//! Creates a tool BasicSurface ready to run.
|
|
Standard_EXPORT IGESToBRep_BasicSurface(const Standard_Real eps, const Standard_Real epsGeom, const Standard_Real epsCoeff, const Standard_Boolean mode, const Standard_Boolean modeapprox, const Standard_Boolean optimized);
|
|
|
|
//! Returns Surface from Geom if the last transfer has
|
|
//! succeded.
|
|
Standard_EXPORT Handle(Geom_Surface) TransferBasicSurface (const Handle(IGESData_IGESEntity)& start);
|
|
|
|
//! Returns Plane from Geom if the transfer has
|
|
//! succeded.
|
|
Standard_EXPORT Handle(Geom_Plane) TransferPlaneSurface (const Handle(IGESSolid_PlaneSurface)& start);
|
|
|
|
//! Returns CylindricalSurface from Geom if the transfer has
|
|
//! succeded.
|
|
Standard_EXPORT Handle(Geom_CylindricalSurface) TransferRigthCylindricalSurface (const Handle(IGESSolid_CylindricalSurface)& start);
|
|
|
|
//! Returns ConicalSurface from Geom if the transfer has
|
|
//! succeded.
|
|
Standard_EXPORT Handle(Geom_ConicalSurface) TransferRigthConicalSurface (const Handle(IGESSolid_ConicalSurface)& start);
|
|
|
|
//! Returns SphericalSurface from Geom if the transfer has
|
|
//! succeded.
|
|
Standard_EXPORT Handle(Geom_SphericalSurface) TransferSphericalSurface (const Handle(IGESSolid_SphericalSurface)& start);
|
|
|
|
//! Returns SphericalSurface from Geom if the transfer has
|
|
//! succeded.
|
|
Standard_EXPORT Handle(Geom_ToroidalSurface) TransferToroidalSurface (const Handle(IGESSolid_ToroidalSurface)& start);
|
|
|
|
//! Returns BSplineSurface from Geom if the transfer has
|
|
//! succeded.
|
|
Standard_EXPORT Handle(Geom_BSplineSurface) TransferSplineSurface (const Handle(IGESGeom_SplineSurface)& start);
|
|
|
|
//! Returns BSplineSurface from Geom if the transfer has
|
|
//! succeded.
|
|
Standard_EXPORT Handle(Geom_BSplineSurface) TransferBSplineSurface (const Handle(IGESGeom_BSplineSurface)& start);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _IGESToBRep_BasicSurface_HeaderFile
|