1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024002: Overall code and build procedure refactoring -- automatic

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
This commit is contained in:
abv
2015-07-12 07:42:38 +03:00
parent 543a996496
commit 42cf5bc1ca
15354 changed files with 623957 additions and 509844 deletions

9
src/GeomAbs/FILES Normal file
View File

@@ -0,0 +1,9 @@
GeomAbs_BSplKnotDistribution.hxx
GeomAbs_CurveForm.hxx
GeomAbs_CurveType.hxx
GeomAbs_IsoType.hxx
GeomAbs_JoinType.hxx
GeomAbs_Shape.hxx
GeomAbs_SurfaceForm.hxx
GeomAbs_SurfaceType.hxx
GeomAbs_UVSense.hxx

View File

@@ -1,130 +0,0 @@
-- Created on: 1993-02-22
-- Created by: Modelistation
-- 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.
package GeomAbs
---Purpose: This package gives resources for Geometric applications
--
-- it contains :
-- CurveType enumeration to describe the different type of
-- curves
--
-- SurfaceType enumeration to describe the different type of
-- surfaces
--
-- Shape enumeration to describe the continuity of curve
-- or surface
--
-- CurveForm enumeration to describe the specific form of
-- curve
--
-- SurfaceForm enumeration to describe the specific form of
-- surface
--
-- BSplKnotDistribution enumeration to describe the
-- repartition of set of knots
--
-- UVSense enumeration to describe the orientation of
-- the parametric surface
uses Standard
is
enumeration CurveType
is Line, Circle, Ellipse, Hyperbola, Parabola,
BezierCurve, BSplineCurve,OtherCurve end;
---Purpose:
-- Identifies the type of a curve.
enumeration SurfaceType
is Plane, Cylinder, Cone ,Sphere ,Torus, BezierSurface,
BSplineSurface, SurfaceOfRevolution , SurfaceOfExtrusion,
OffsetSurface,OtherSurface end;
enumeration Shape is C0, G1, C1, G2, C2, C3, CN;
--- Purpose :
-- Provides information about the continuity of a curve:
-- - C0: only geometric continuity.
-- - G1: for each point on the curve, the tangent vectors
-- "on the right" and "on the left" are collinear with the same orientation.
-- - C1: continuity of the first derivative. The "C1" curve is
-- also "G1" but, in addition, the tangent vectors " on the
-- right" and "on the left" are equal.
-- - G2: for each point on the curve, the normalized
-- normal vectors "on the right" and "on the left" are equal.
-- - C2: continuity of the second derivative.
-- - C3: continuity of the third derivative.
-- - CN: continuity of the N-th derivative, whatever is the
-- value given for N (infinite order of continuity).
-- Also provides information about the continuity of a surface:
-- - C0: only geometric continuity.
-- - C1: continuity of the first derivatives; any
-- isoparametric (in U or V) of a surface "C1" is also "C1".
-- - G2: for BSpline curves only; "on the right" and "on the
-- left" of a knot the computation of the "main curvature
-- radii" and the "main directions" (when they exist) gives the same result.
-- - C2: continuity of the second derivative.
-- - C3: continuity of the third derivative.
-- - CN: continuity of any N-th derivative, whatever is the
-- value given for N (infinite order of continuity).
-- We may also say that a surface is "Ci" in u, and "Cj" in v
-- to indicate the continuity of its derivatives up to the order
-- i in the u parametric direction, and j in the v parametric direction.
enumeration SurfaceForm is
PlanarForm, ConicalForm, CylindricalForm, ToroidalForm, SphericalForm,
RevolutionForm, RuledForm, QuadricForm, OtherSurfaceForm;
--- Purpose :
-- This enumeration is used to note specific surface form.
enumeration CurveForm is
PolylineForm, CircularForm, EllipticForm, HyperbolicForm, ParabolicForm,
OtherCurveForm;
--- Purpose :
-- This enumeration is used to note specific curve form.
enumeration BSplKnotDistribution is
NonUniform, Uniform, QuasiUniform, PiecewiseBezier;
--- Purpose :
-- This enumeration is used in the classes BSplineCurve and
-- BSplineSurface to describe the repartition of set of knots.
-- (comments in classes BSplineCurve and BSplineSurface)
enumeration UVSense is SameUV, SameU, SameV, OppositeUV;
--- Purpose :
-- This enumeration is used in the class RectangularTrimmedSurface
-- to compare the orientation of the basic surface and the orientation
-- of the trimmed surface and in the class ElementarySurface to know
-- the direction of parametrization by comparison with the default
-- construction mode.
enumeration IsoType is IsoU,IsoV,NoneIso;
---Purpose: this enumeration describes if a curve is an U isoparaetric
-- or V isoparametric
enumeration JoinType is Arc, Tangent, Intersection;
---Purpose: Characterizes the type of a join, built by an algorithm for
-- constructing parallel curves, between two consecutive
-- arcs of a contour parallel to a given contour.
end GeomAbs;

View File

@@ -0,0 +1,32 @@
// Created on: 1993-02-22
// Created by: Modelistation
// 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.
#ifndef _GeomAbs_BSplKnotDistribution_HeaderFile
#define _GeomAbs_BSplKnotDistribution_HeaderFile
//! This enumeration is used in the classes BSplineCurve and
//! BSplineSurface to describe the repartition of set of knots.
//! (comments in classes BSplineCurve and BSplineSurface)
enum GeomAbs_BSplKnotDistribution
{
GeomAbs_NonUniform,
GeomAbs_Uniform,
GeomAbs_QuasiUniform,
GeomAbs_PiecewiseBezier
};
#endif // _GeomAbs_BSplKnotDistribution_HeaderFile

View File

@@ -0,0 +1,32 @@
// Created on: 1993-02-22
// Created by: Modelistation
// 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.
#ifndef _GeomAbs_CurveForm_HeaderFile
#define _GeomAbs_CurveForm_HeaderFile
//! This enumeration is used to note specific curve form.
enum GeomAbs_CurveForm
{
GeomAbs_PolylineForm,
GeomAbs_CircularForm,
GeomAbs_EllipticForm,
GeomAbs_HyperbolicForm,
GeomAbs_ParabolicForm,
GeomAbs_OtherCurveForm
};
#endif // _GeomAbs_CurveForm_HeaderFile

View File

@@ -0,0 +1,34 @@
// Created on: 1993-02-22
// Created by: Modelistation
// 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.
#ifndef _GeomAbs_CurveType_HeaderFile
#define _GeomAbs_CurveType_HeaderFile
//! Identifies the type of a curve.
enum GeomAbs_CurveType
{
GeomAbs_Line,
GeomAbs_Circle,
GeomAbs_Ellipse,
GeomAbs_Hyperbola,
GeomAbs_Parabola,
GeomAbs_BezierCurve,
GeomAbs_BSplineCurve,
GeomAbs_OtherCurve
};
#endif // _GeomAbs_CurveType_HeaderFile

View File

@@ -0,0 +1,29 @@
// Created on: 1993-02-22
// Created by: Modelistation
// 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.
#ifndef _GeomAbs_IsoType_HeaderFile
#define _GeomAbs_IsoType_HeaderFile
//! this enumeration describes if a curve is an U isoparaetric
//! or V isoparametric
enum GeomAbs_IsoType
{
GeomAbs_IsoU,
GeomAbs_IsoV,
GeomAbs_NoneIso
};
#endif // _GeomAbs_IsoType_HeaderFile

View File

@@ -0,0 +1,30 @@
// Created on: 1993-02-22
// Created by: Modelistation
// 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.
#ifndef _GeomAbs_JoinType_HeaderFile
#define _GeomAbs_JoinType_HeaderFile
//! Characterizes the type of a join, built by an algorithm for
//! constructing parallel curves, between two consecutive
//! arcs of a contour parallel to a given contour.
enum GeomAbs_JoinType
{
GeomAbs_Arc,
GeomAbs_Tangent,
GeomAbs_Intersection
};
#endif // _GeomAbs_JoinType_HeaderFile

View File

@@ -0,0 +1,59 @@
// Created on: 1993-02-22
// Created by: Modelistation
// 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.
#ifndef _GeomAbs_Shape_HeaderFile
#define _GeomAbs_Shape_HeaderFile
//! Provides information about the continuity of a curve:
//! - C0: only geometric continuity.
//! - G1: for each point on the curve, the tangent vectors
//! "on the right" and "on the left" are collinear with the same orientation.
//! - C1: continuity of the first derivative. The "C1" curve is
//! also "G1" but, in addition, the tangent vectors " on the
//! right" and "on the left" are equal.
//! - G2: for each point on the curve, the normalized
//! normal vectors "on the right" and "on the left" are equal.
//! - C2: continuity of the second derivative.
//! - C3: continuity of the third derivative.
//! - CN: continuity of the N-th derivative, whatever is the
//! value given for N (infinite order of continuity).
//! Also provides information about the continuity of a surface:
//! - C0: only geometric continuity.
//! - C1: continuity of the first derivatives; any
//! isoparametric (in U or V) of a surface "C1" is also "C1".
//! - G2: for BSpline curves only; "on the right" and "on the
//! left" of a knot the computation of the "main curvature
//! radii" and the "main directions" (when they exist) gives the same result.
//! - C2: continuity of the second derivative.
//! - C3: continuity of the third derivative.
//! - CN: continuity of any N-th derivative, whatever is the
//! value given for N (infinite order of continuity).
//! We may also say that a surface is "Ci" in u, and "Cj" in v
//! to indicate the continuity of its derivatives up to the order
//! i in the u parametric direction, and j in the v parametric direction.
enum GeomAbs_Shape
{
GeomAbs_C0,
GeomAbs_G1,
GeomAbs_C1,
GeomAbs_G2,
GeomAbs_C2,
GeomAbs_C3,
GeomAbs_CN
};
#endif // _GeomAbs_Shape_HeaderFile

View File

@@ -0,0 +1,35 @@
// Created on: 1993-02-22
// Created by: Modelistation
// 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.
#ifndef _GeomAbs_SurfaceForm_HeaderFile
#define _GeomAbs_SurfaceForm_HeaderFile
//! This enumeration is used to note specific surface form.
enum GeomAbs_SurfaceForm
{
GeomAbs_PlanarForm,
GeomAbs_ConicalForm,
GeomAbs_CylindricalForm,
GeomAbs_ToroidalForm,
GeomAbs_SphericalForm,
GeomAbs_RevolutionForm,
GeomAbs_RuledForm,
GeomAbs_QuadricForm,
GeomAbs_OtherSurfaceForm
};
#endif // _GeomAbs_SurfaceForm_HeaderFile

View File

@@ -0,0 +1,36 @@
// Created on: 1993-02-22
// Created by: Modelistation
// 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.
#ifndef _GeomAbs_SurfaceType_HeaderFile
#define _GeomAbs_SurfaceType_HeaderFile
enum GeomAbs_SurfaceType
{
GeomAbs_Plane,
GeomAbs_Cylinder,
GeomAbs_Cone,
GeomAbs_Sphere,
GeomAbs_Torus,
GeomAbs_BezierSurface,
GeomAbs_BSplineSurface,
GeomAbs_SurfaceOfRevolution,
GeomAbs_SurfaceOfExtrusion,
GeomAbs_OffsetSurface,
GeomAbs_OtherSurface
};
#endif // _GeomAbs_SurfaceType_HeaderFile

View File

@@ -0,0 +1,34 @@
// Created on: 1993-02-22
// Created by: Modelistation
// 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.
#ifndef _GeomAbs_UVSense_HeaderFile
#define _GeomAbs_UVSense_HeaderFile
//! This enumeration is used in the class RectangularTrimmedSurface
//! to compare the orientation of the basic surface and the orientation
//! of the trimmed surface and in the class ElementarySurface to know
//! the direction of parametrization by comparison with the default
//! construction mode.
enum GeomAbs_UVSense
{
GeomAbs_SameUV,
GeomAbs_SameU,
GeomAbs_SameV,
GeomAbs_OppositeUV
};
#endif // _GeomAbs_UVSense_HeaderFile