1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00
occt/src/IGESToBRep/IGESToBRep_BasicCurve.cdl
abv 6e33d3ced2 0024830: Remove redundant keyword 'mutable' in CDL declarations
Redundant keyword 'mutable' removed in CDL files.
In IGESConvGeom_GeomBuilder, unused methods MakeXY() and MakeXYZ() removed.
Method StepAP214_AutoDesignGroupAssignment::Init() replicating same method of the base class is removed as it causes CDL extraction error after above (seemingly irrelevant) changes.
2014-05-29 14:58:25 +04:00

146 lines
5.2 KiB
Plaintext

-- Created on: 1994-03-14
-- Created by: s: Christophe GUYOT & 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.
class BasicCurve from IGESToBRep inherits CurveAndSurface from IGESToBRep
---Purpose : 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
uses
CurveAndSurface from IGESToBRep,
IGESEntity from IGESData,
BSplineCurve from IGESGeom,
CircularArc from IGESGeom,
ConicArc from IGESGeom,
CopiousData from IGESGeom,
Line from IGESGeom,
Point from IGESGeom,
SplineCurve from IGESGeom,
TransformationMatrix from IGESGeom,
Curve from Geom,
BezierCurve from Geom,
BSplineCurve from Geom,
TrimmedCurve from Geom,
CartesianPoint from Geom,
Transformation from Geom,
Curve from Geom2d,
BezierCurve from Geom2d,
BSplineCurve from Geom2d,
TrimmedCurve from Geom2d,
CartesianPoint from Geom2d
is
Create returns BasicCurve;
---Purpose : Creates a tool BasicCurve 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 BasicCurve;
---Purpose : Creates a tool BasicCurve ready to run and sets its
-- fields as CS's.
Create(eps : Real;
epsGeom : Real;
epsCoeff : Real;
mode : Boolean;
modeapprox : Boolean;
optimized : Boolean) returns BasicCurve;
---Purpose : Creates a tool BasicCurve ready to run.
TransferBasicCurve (me : in out;
start : IGESEntity from IGESData)
returns Curve from Geom;
---Purpose : Transfert a IGESEntity which answer True to the
-- member : IGESToBRep::IsBasicCurve(IGESEntity). If this
-- Entity could not be converted, this member returns a NullEntity.
Transfer2dBasicCurve (me : in out;
start : IGESEntity from IGESData)
returns Curve from Geom2d;
---Purpose : 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.
TransferBSplineCurve (me : in out;
start : BSplineCurve from IGESGeom)
returns Curve from Geom;
Transfer2dBSplineCurve (me : in out;
start : BSplineCurve from IGESGeom)
returns Curve from Geom2d;
TransferCircularArc (me : in out;
start : CircularArc from IGESGeom)
returns Curve from Geom;
Transfer2dCircularArc (me : in out;
start : CircularArc from IGESGeom)
returns Curve from Geom2d;
TransferConicArc (me : in out;
start : ConicArc from IGESGeom)
returns Curve from Geom;
Transfer2dConicArc (me : in out;
start : ConicArc from IGESGeom)
returns Curve from Geom2d;
TransferCopiousData (me : in out;
start : CopiousData from IGESGeom)
returns BSplineCurve from Geom;
Transfer2dCopiousData (me : in out;
start : CopiousData from IGESGeom)
returns BSplineCurve from Geom2d;
TransferLine (me : in out;
start : Line from IGESGeom)
returns Curve from Geom;
Transfer2dLine (me : in out;
start : Line from IGESGeom)
returns Curve from Geom2d;
TransferSplineCurve (me : in out;
start : SplineCurve from IGESGeom)
returns BSplineCurve from Geom;
Transfer2dSplineCurve (me : in out;
start : SplineCurve from IGESGeom)
returns BSplineCurve from Geom2d;
TransferTransformation (me : in out;
start : TransformationMatrix from IGESGeom)
returns Transformation from Geom;
end BasicCurve;