mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-26 11:05:31 +03:00
Generic classes "LProp_FuncCurExt", "LProp_FuncCurNul" and "LProp_NumericCurInf" from "LProp" package converted to the non-generic classes and moved to the "Geom2dLProp" package. Therefore names of this classes were changed to "Geom2dLProp_FuncCurExt", "Geom2dLProp_FuncCurNul" and "Geom2dLProp_NumericCurInf". Generic class "Sweep_LinearRegularSweep" from "Sweep" package converted to the non-generic classes and moved to the "BRepSweep" package. Therefore name of this class was changed to "BRepSweep_NumLinearRegularSweep". Also 2 internal classes of "BRepSweep_NumLinearRegularSweep" moved to "BRepSweep.cdl". Generic classes "Primitives_Wedge" and "Primitives_OneAxis" from "Primitives" package converted to the non-generic classes and moved to the "BRepPrim" package. Therefore names of this classes were changed to "BRepPrim_GWedge" and "BRepPrim_OneAxis". Also enum "Direction" moved to BRepPrim. Therefore all "Primitives" package was deleted. And some other minor changes were done. Internal classes Array2OfShapes and SequenceOfShapes from BRepSweep_NumLinearRegularSweep replaced to Array2OfShape and SequenceOfShape from TopTools.
74 lines
1.8 KiB
Plaintext
74 lines
1.8 KiB
Plaintext
-- Created on: 1991-07-24
|
|
-- Created by: Christophe MARION
|
|
-- Copyright (c) 1991-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.
|
|
|
|
package BRepPrim
|
|
|
|
---Purpose: this package implements the primitives of the
|
|
-- Primitives package with the BRep Topology
|
|
--
|
|
-- Contains :
|
|
-- a Builder implementing the Template from Primitives
|
|
--
|
|
-- The instantiations of the algorithms :
|
|
-- OneAxis
|
|
-- Wedge
|
|
--
|
|
-- The rotational primitives inherited from OneAxis
|
|
--
|
|
-- Revolution
|
|
-- Cylinder
|
|
-- Cone
|
|
-- Sphere
|
|
-- Torus
|
|
--
|
|
-- The class FaceBuilder is a tool to build a face
|
|
-- from a Geom surface.
|
|
|
|
uses
|
|
gp,
|
|
Geom2d,
|
|
Geom,
|
|
TopoDS,
|
|
BRep
|
|
|
|
is
|
|
enumeration Direction is
|
|
---Purpose:
|
|
XMin, XMax, YMin, YMax, ZMin, ZMax
|
|
end Direction;
|
|
|
|
class Builder;
|
|
|
|
deferred class OneAxis;
|
|
|
|
class Revolution;
|
|
|
|
class Cylinder;
|
|
|
|
class Cone;
|
|
|
|
class Sphere;
|
|
|
|
class Torus;
|
|
|
|
class GWedge;
|
|
|
|
class Wedge;
|
|
|
|
class FaceBuilder;
|
|
|
|
end BRepPrim;
|