mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
119 lines
4.6 KiB
Plaintext
Executable File
119 lines
4.6 KiB
Plaintext
Executable File
-- Created on: 1994-03-14
|
|
-- Created by: Frederic UNTEREINER
|
|
-- Copyright (c) 1994-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
|
|
--
|
|
-- The content of this file is subject to the Open CASCADE Technology Public
|
|
-- License Version 6.5 (the "License"). You may not use the content of this file
|
|
-- except in compliance with the License. Please obtain a copy of the License
|
|
-- at http://www.opencascade.org and read it completely before using this file.
|
|
--
|
|
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
|
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
|
--
|
|
-- The Original Code and all software distributed under the License is
|
|
-- distributed on an "AS IS" basis, without warranty of any kind, and the
|
|
-- Initial Developer hereby disclaims all such warranties, including without
|
|
-- limitation, any warranties of merchantability, fitness for a particular
|
|
-- purpose or non-infringement. Please see the License for the specific terms
|
|
-- and conditions governing the rights and limitations under the License.
|
|
|
|
|
|
|
|
class BasicSurface from IGESToBRep inherits CurveAndSurface from IGESToBRep
|
|
|
|
---Purpose : Provides methods to transfer basic geometric surface entities
|
|
-- from IGES to CASCADE.
|
|
-- These can be :
|
|
-- * Spline surface
|
|
-- * BSpline surface
|
|
|
|
uses
|
|
|
|
CurveAndSurface from IGESToBRep,
|
|
PlaneSurface from IGESSolid,
|
|
CylindricalSurface from IGESSolid,
|
|
ConicalSurface from IGESSolid,
|
|
SphericalSurface from IGESSolid,
|
|
ToroidalSurface from IGESSolid,
|
|
IGESEntity from IGESData,
|
|
SplineSurface from IGESGeom,
|
|
BSplineSurface from IGESGeom,
|
|
Surface from Geom,
|
|
BSplineSurface from Geom,
|
|
Plane from Geom,
|
|
CylindricalSurface from Geom,
|
|
ConicalSurface from Geom,
|
|
SphericalSurface from Geom,
|
|
ToroidalSurface from Geom
|
|
|
|
is
|
|
|
|
Create returns BasicSurface;
|
|
---Purpose: Creates a tool BasicSurface ready to run, with
|
|
-- epsilons set to 1.E-04, TheModeTopo to True, the
|
|
-- optimization of the continuity to False.
|
|
|
|
Create(CS : CurveAndSurface from IGESToBRep) returns BasicSurface;
|
|
---Purpose: Creates a tool BasicSurface ready to run and sets its
|
|
-- fields as CS's.
|
|
|
|
Create(eps : Real;
|
|
epsGeom : Real;
|
|
epsCoeff : Real;
|
|
mode : Boolean;
|
|
modeapprox : Boolean;
|
|
optimized : Boolean)
|
|
returns BasicSurface;
|
|
---Purpose: Creates a tool BasicSurface ready to run.
|
|
|
|
TransferBasicSurface (me : in out;
|
|
start : IGESEntity from IGESData)
|
|
returns mutable Surface from Geom;
|
|
---Purpose: Returns Surface from Geom if the last transfer has
|
|
-- succeded.
|
|
|
|
TransferPlaneSurface (me : in out;
|
|
start : PlaneSurface from IGESSolid)
|
|
returns mutable Plane from Geom;
|
|
---Purpose: Returns Plane from Geom if the transfer has
|
|
-- succeded.
|
|
|
|
TransferRigthCylindricalSurface(me : in out;
|
|
start: CylindricalSurface from IGESSolid)
|
|
returns mutable CylindricalSurface from Geom;
|
|
---Purpose: Returns CylindricalSurface from Geom if the transfer has
|
|
-- succeded.
|
|
|
|
TransferRigthConicalSurface (me : in out;
|
|
start: ConicalSurface from IGESSolid)
|
|
returns mutable ConicalSurface from Geom;
|
|
---Purpose: Returns ConicalSurface from Geom if the transfer has
|
|
-- succeded.
|
|
|
|
TransferSphericalSurface(me : in out;
|
|
start: SphericalSurface from IGESSolid)
|
|
returns mutable SphericalSurface from Geom;
|
|
---Purpose: Returns SphericalSurface from Geom if the transfer has
|
|
-- succeded.
|
|
|
|
TransferToroidalSurface (me : in out;
|
|
start: ToroidalSurface from IGESSolid)
|
|
returns mutable ToroidalSurface from Geom;
|
|
---Purpose: Returns SphericalSurface from Geom if the transfer has
|
|
-- succeded.
|
|
|
|
TransferSplineSurface (me : in out;
|
|
start: SplineSurface from IGESGeom)
|
|
returns mutable BSplineSurface from Geom;
|
|
---Purpose: Returns BSplineSurface from Geom if the transfer has
|
|
-- succeded.
|
|
|
|
TransferBSplineSurface (me : in out;
|
|
start: BSplineSurface from IGESGeom)
|
|
returns mutable BSplineSurface from Geom;
|
|
---Purpose: Returns BSplineSurface from Geom if the transfer has
|
|
-- succeded.
|
|
|
|
end BasicSurface;
|