mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +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:
@@ -1,111 +0,0 @@
|
||||
-- Created on: 1993-12-03
|
||||
-- Created by: Christophe MARION
|
||||
-- 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 BRepExtrema
|
||||
|
||||
---Purpose: This package gives tools to compute extrema between
|
||||
-- Shapes from BRep.
|
||||
|
||||
uses
|
||||
Standard,
|
||||
StdFail,
|
||||
TopoDS,
|
||||
GeomAdaptor,
|
||||
BRepAdaptor,
|
||||
gp,
|
||||
Extrema,
|
||||
TColStd,
|
||||
TopTools,
|
||||
TCollection,
|
||||
Bnd
|
||||
|
||||
is
|
||||
|
||||
----------------------------------------------------------
|
||||
-- Extrema between two Shapes with triangulation.
|
||||
----------------------------------------------------------
|
||||
imported Poly;
|
||||
|
||||
|
||||
----------------------------------------------------------
|
||||
-- Extrema between a Point and an Edge.
|
||||
----------------------------------------------------------
|
||||
imported ExtPC;
|
||||
|
||||
|
||||
----------------------------------------------------------
|
||||
-- Extrema between two Edges.
|
||||
----------------------------------------------------------
|
||||
imported ExtCC;
|
||||
|
||||
|
||||
----------------------------------------------------------
|
||||
-- Extrema between a Point and a Face.
|
||||
----------------------------------------------------------
|
||||
imported ExtPF;
|
||||
|
||||
|
||||
----------------------------------------------------------
|
||||
-- Extrema between an Edge and a Face.
|
||||
----------------------------------------------------------
|
||||
imported ExtCF;
|
||||
|
||||
|
||||
----------------------------------------------------------
|
||||
-- Extrema between two Faces.
|
||||
----------------------------------------------------------
|
||||
imported ExtFF;
|
||||
|
||||
|
||||
----------------------------------------------------------
|
||||
--
|
||||
----------------------------------------------------------
|
||||
exception UnCompatibleShape inherits DomainError;
|
||||
|
||||
|
||||
----------------------------------------------------------
|
||||
-- enumeration used to describe the type of the support solution:
|
||||
-- IsVertex => The solution is a vertex.
|
||||
-- IsOnEdge => The solution belongs to an Edge.
|
||||
-- IsInFace => The solution is inside a Face.
|
||||
|
||||
----------------------------------------------------------
|
||||
imported SupportType;
|
||||
|
||||
|
||||
----------------------------------------------------------
|
||||
-- This class gives tools to compute the minimum distance value
|
||||
-- between two shapes and the corresponding couples of solution points.
|
||||
|
||||
----------------------------------------------------------
|
||||
imported DistShapeShape;
|
||||
|
||||
|
||||
----------------------------------------------------------
|
||||
-- This class is used to store a solution on a Shape.
|
||||
-- (used only by class DistShapeShape)
|
||||
----------------------------------------------------------
|
||||
imported SolutionElem;
|
||||
|
||||
|
||||
----------------------------------------------------------
|
||||
-- This sequence is used to store all the solution on each Shape.
|
||||
----------------------------------------------------------
|
||||
imported SeqOfSolution;
|
||||
|
||||
imported DistanceSS;
|
||||
|
||||
end BRepExtrema;
|
37
src/BRepExtrema/BRepExtrema_UnCompatibleShape.hxx
Normal file
37
src/BRepExtrema/BRepExtrema_UnCompatibleShape.hxx
Normal file
@@ -0,0 +1,37 @@
|
||||
// Created on: 1993-12-03
|
||||
// Created by: Christophe MARION
|
||||
// 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 _BRepExtrema_UnCompatibleShape_HeaderFile
|
||||
#define _BRepExtrema_UnCompatibleShape_HeaderFile
|
||||
|
||||
#include <Standard_Type.hxx>
|
||||
#include <Standard_DefineException.hxx>
|
||||
#include <Standard_SStream.hxx>
|
||||
#include <Standard_DomainError.hxx>
|
||||
|
||||
class BRepExtrema_UnCompatibleShape;
|
||||
DEFINE_STANDARD_HANDLE(BRepExtrema_UnCompatibleShape, Standard_DomainError)
|
||||
|
||||
#if !defined No_Exception && !defined No_BRepExtrema_UnCompatibleShape
|
||||
#define BRepExtrema_UnCompatibleShape_Raise_if(CONDITION, MESSAGE) \
|
||||
if (CONDITION) BRepExtrema_UnCompatibleShape::Raise(MESSAGE);
|
||||
#else
|
||||
#define BRepExtrema_UnCompatibleShape_Raise_if(CONDITION, MESSAGE)
|
||||
#endif
|
||||
|
||||
DEFINE_STANDARD_EXCEPTION(BRepExtrema_UnCompatibleShape, Standard_DomainError)
|
||||
|
||||
#endif // _BRepExtrema_UnCompatibleShape_HeaderFile
|
@@ -1,29 +1,30 @@
|
||||
BRepExtrema_DistanceSS.hxx
|
||||
BRepExtrema_DistanceSS.cxx
|
||||
BRepExtrema_DistShapeShape.hxx
|
||||
BRepExtrema_DistanceSS.hxx
|
||||
BRepExtrema_DistShapeShape.cxx
|
||||
BRepExtrema_ExtCC.hxx
|
||||
BRepExtrema_DistShapeShape.hxx
|
||||
BRepExtrema_ElementFilter.hxx
|
||||
BRepExtrema_ExtCC.cxx
|
||||
BRepExtrema_ExtCF.hxx
|
||||
BRepExtrema_ExtCC.hxx
|
||||
BRepExtrema_ExtCF.cxx
|
||||
BRepExtrema_ExtFF.hxx
|
||||
BRepExtrema_ExtCF.hxx
|
||||
BRepExtrema_ExtFF.cxx
|
||||
BRepExtrema_ExtPC.hxx
|
||||
BRepExtrema_ExtFF.hxx
|
||||
BRepExtrema_ExtPC.cxx
|
||||
BRepExtrema_ExtPF.hxx
|
||||
BRepExtrema_ExtPC.hxx
|
||||
BRepExtrema_ExtPF.cxx
|
||||
BRepExtrema_Poly.hxx
|
||||
BRepExtrema_ExtPF.hxx
|
||||
BRepExtrema_MapOfIntegerPackedMapOfInteger.hxx
|
||||
BRepExtrema_OverlapTool.cxx
|
||||
BRepExtrema_OverlapTool.hxx
|
||||
BRepExtrema_Poly.cxx
|
||||
BRepExtrema_Poly.hxx
|
||||
BRepExtrema_SelfIntersection.cxx
|
||||
BRepExtrema_SelfIntersection.hxx
|
||||
BRepExtrema_SeqOfSolution.hxx
|
||||
BRepExtrema_ShapeProximity.cxx
|
||||
BRepExtrema_ShapeProximity.hxx
|
||||
BRepExtrema_SolutionElem.hxx
|
||||
BRepExtrema_SupportType.hxx
|
||||
BRepExtrema_TriangleSet.hxx
|
||||
BRepExtrema_TriangleSet.cxx
|
||||
BRepExtrema_OverlapTool.hxx
|
||||
BRepExtrema_OverlapTool.cxx
|
||||
BRepExtrema_ElementFilter.hxx
|
||||
BRepExtrema_ShapeProximity.hxx
|
||||
BRepExtrema_ShapeProximity.cxx
|
||||
BRepExtrema_SelfIntersection.hxx
|
||||
BRepExtrema_SelfIntersection.cxx
|
||||
BRepExtrema_MapOfIntegerPackedMapOfInteger.hxx
|
||||
BRepExtrema_TriangleSet.hxx
|
||||
BRepExtrema_UnCompatibleShape.hxx
|
||||
|
Reference in New Issue
Block a user