1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/src/Geom2dHatch/Geom2dHatch_Element.cdl
dln 0b85f9a605 0024761: Convertation of the generic classes to the non-generic. Part 5
1) Generic class "GccEnt_QualifiedCurv" from "GccEnt" package converted to the non-generic class and moved to the "Geom2dGcc" package. Name of this class was changed to "Geom2dGcc_QCurve".

2) Generic classes "HatchGen_ElementGen", "HatchGen_ElementsGen", "HatchGen_HatchingGen" and "HatchGen_Hatcher" from "HatchGen" package converted to the non-generic classes and moved to the "Geom2dHatch" package. Names of this classes were changed to "Geom2dHatch_Element", "Geom2dHatch_Elements", "Geom2dHatch_Hatching" and "Geom2dHatch_Hatcher". Also all instantiations of the "internal" classes of this classes were moved to the "Geom2dHatch.cdl".

3) Generic classes "Extrema_GExtCC", "Extrema_GExtCC2d", "Extrema_GLocateExtCC" and "Extrema_GLocateExtCC2d" from "Extrema" package converted to the non-generic classes. Names of this classes were changed to "Extrema_ExtCC", "Extrema_ExtCC2d", "Extrema_LocateExtCC" and "Extrema_LocateExtCC2d". Also all instantiations of the "internal" classes of this classes were moved to the "Extrema.cdl".
2014-04-04 12:57:39 +04:00

86 lines
2.0 KiB
Plaintext

-- Created on: 1993-11-10
-- Created by: Jean Marc LACHAUME
-- Copyright (c) 1993-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 Element from Geom2dHatch
uses
Orientation from TopAbs,
Curve from Geom2dAdaptor
is
Create
returns Element from Geom2dHatch;
Create (Other : Element from Geom2dHatch)
---Purpose: Magic constructor.
returns Element from Geom2dHatch ;
Create (Curve : Curve from Geom2dAdaptor ;
Orientation : Orientation from TopAbs = TopAbs_FORWARD)
---Purpose: Creates an element.
returns Element from Geom2dHatch ;
Curve (me)
---Purpose: Returns the curve associated to the element.
---C++: return const &
returns Curve from Geom2dAdaptor
is static ;
ChangeCurve (me : in out)
---Purpose: Returns the curve associated to the element.
---C++: return &
returns Curve from Geom2dAdaptor
is static ;
Orientation (me : in out ; Orientation : Orientation from TopAbs)
---Purpose: Sets the orientation of the element.
is static ;
Orientation (me)
---Purpose: Returns the orientation of the element.
returns Orientation from TopAbs
is static ;
fields
myCurve : Curve from Geom2dAdaptor ;
myOrientation : Orientation from TopAbs ;
end Element from Geom2dHatch;