diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_DataMapIteratorOfDataMapOfIOStatus.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_DataMapIteratorOfDataMapOfIOStatus.hxx new file mode 100644 index 0000000000000000000000000000000000000000..23e46136cd8c6bbc8b0031d17f2e8522f6957359 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_DataMapIteratorOfDataMapOfIOStatus.hxx @@ -0,0 +1,19 @@ +// Copyright (c) 2015 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 AIS_DataMapIteratorOfDataMapOfIOStatus_HeaderFile +#define AIS_DataMapIteratorOfDataMapOfIOStatus_HeaderFile + +#include + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_ManipulatorMode.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_ManipulatorMode.hxx new file mode 100644 index 0000000000000000000000000000000000000000..65b5bb7c253c305593b1e0869f5853c2bd34ade9 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_ManipulatorMode.hxx @@ -0,0 +1,29 @@ +// Created on: 2015-02-05 +// Created by: Anastasia BORISOVA +// Copyright (c) 2015 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 _AIS_ManipulatorMode_HeaderFile +#define _AIS_ManipulatorMode_HeaderFile + +//! Mode to make definite kind of transformations with AIS_Manipulator object. +enum AIS_ManipulatorMode +{ + AIS_MM_None = 0, + AIS_MM_Translation = 1, + AIS_MM_Rotation, + AIS_MM_Scaling, + AIS_MM_TranslationPlane +}; + +#endif \ No newline at end of file diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_OffsetDimension.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_OffsetDimension.hxx new file mode 100644 index 0000000000000000000000000000000000000000..cb9b27f2cf0e36d407d9e61f1aa40bf52b6fc619 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AIS_OffsetDimension.hxx @@ -0,0 +1,22 @@ +// Copyright (c) 2020 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 _AIS_OffsetDimension_HeaderFile +#define _AIS_OffsetDimension_HeaderFile + +#include + +Standard_DEPRECATED("Deprecated alias to moved class") +typedef PrsDim_OffsetDimension AIS_OffsetDimension; + +#endif // _AIS_OffsetDimension_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AdvApprox_ApproxAFunction.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AdvApprox_ApproxAFunction.hxx new file mode 100644 index 0000000000000000000000000000000000000000..aeb5c427d2a1289b000f17721c876300f8ca3f05 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AdvApprox_ApproxAFunction.hxx @@ -0,0 +1,200 @@ +// Created on: 1995-05-29 +// Created by: Xavier BENVENISTE +// Copyright (c) 1995-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 _AdvApprox_ApproxAFunction_HeaderFile +#define _AdvApprox_ApproxAFunction_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class AdvApprox_Cutting; + +//! this approximate a given function +class AdvApprox_ApproxAFunction +{ +public: + DEFINE_STANDARD_ALLOC + + //! Constructs approximator tool. + //! + //! Warning: + //! the Func should be valid reference to object of type + //! inherited from class EvaluatorFunction from Approx + //! with life time longer than that of the approximator tool; + //! + //! the result should be formatted in the following way : + //! <--Num1DSS--> <--2 * Num2DSS--> <--3 * Num3DSS--> + //! R[0] .... R[Num1DSS]..... R[Dimension-1] + //! + //! the order in which each Subspace appears should be consistent + //! with the tolerances given in the create function and the + //! results will be given in that order as well that is : + //! Curve2d(n) will correspond to the nth entry + //! described by Num2DSS, Curve(n) will correspond to + //! the nth entry described by Num3DSS + //! The same type of schema applies to the Poles1d, Poles2d and + //! Poles. + Standard_EXPORT AdvApprox_ApproxAFunction(const Standard_Integer Num1DSS, + const Standard_Integer Num2DSS, + const Standard_Integer Num3DSS, + const Handle(TColStd_HArray1OfReal)& OneDTol, + const Handle(TColStd_HArray1OfReal)& TwoDTol, + const Handle(TColStd_HArray1OfReal)& ThreeDTol, + const Standard_Real First, + const Standard_Real Last, + const GeomAbs_Shape Continuity, + const Standard_Integer MaxDeg, + const Standard_Integer MaxSeg, + const AdvApprox_EvaluatorFunction& Func); + + //! Approximation with user methode of cutting + Standard_EXPORT AdvApprox_ApproxAFunction(const Standard_Integer Num1DSS, + const Standard_Integer Num2DSS, + const Standard_Integer Num3DSS, + const Handle(TColStd_HArray1OfReal)& OneDTol, + const Handle(TColStd_HArray1OfReal)& TwoDTol, + const Handle(TColStd_HArray1OfReal)& ThreeDTol, + const Standard_Real First, + const Standard_Real Last, + const GeomAbs_Shape Continuity, + const Standard_Integer MaxDeg, + const Standard_Integer MaxSeg, + const AdvApprox_EvaluatorFunction& Func, + const AdvApprox_Cutting& CutTool); + + Standard_EXPORT static void Approximation(const Standard_Integer TotalDimension, + const Standard_Integer TotalNumSS, + const TColStd_Array1OfInteger& LocalDimension, + const Standard_Real First, + const Standard_Real Last, + AdvApprox_EvaluatorFunction& Evaluator, + const AdvApprox_Cutting& CutTool, + const Standard_Integer ContinuityOrder, + const Standard_Integer NumMaxCoeffs, + const Standard_Integer MaxSegments, + const TColStd_Array1OfReal& TolerancesArray, + const Standard_Integer code_precis, + Standard_Integer& NumCurves, + TColStd_Array1OfInteger& NumCoeffPerCurveArray, + TColStd_Array1OfReal& LocalCoefficientArray, + TColStd_Array1OfReal& IntervalsArray, + TColStd_Array1OfReal& ErrorMaxArray, + TColStd_Array1OfReal& AverageErrorArray, + Standard_Integer& ErrorCode); + + Standard_Boolean IsDone() const; + + Standard_Boolean HasResult() const; + + //! returns the poles from the algorithms as is + Handle(TColStd_HArray2OfReal) Poles1d() const; + + //! returns the poles from the algorithms as is + Handle(TColgp_HArray2OfPnt2d) Poles2d() const; + + //! -- returns the poles from the algorithms as is + Handle(TColgp_HArray2OfPnt) Poles() const; + + //! as the name says + Standard_EXPORT Standard_Integer NbPoles() const; + + //! returns the poles at Index from the 1d subspace + Standard_EXPORT void Poles1d(const Standard_Integer Index, TColStd_Array1OfReal& P) const; + + //! returns the poles at Index from the 2d subspace + Standard_EXPORT void Poles2d(const Standard_Integer Index, TColgp_Array1OfPnt2d& P) const; + + //! returns the poles at Index from the 3d subspace + Standard_EXPORT void Poles(const Standard_Integer Index, TColgp_Array1OfPnt& P) const; + + Standard_Integer Degree() const; + + Standard_Integer NbKnots() const; + + Standard_Integer NumSubSpaces(const Standard_Integer Dimension) const; + + Handle(TColStd_HArray1OfReal) Knots() const; + + Handle(TColStd_HArray1OfInteger) Multiplicities() const; + + //! returns the error as is in the algorithms + Standard_EXPORT Handle(TColStd_HArray1OfReal) MaxError(const Standard_Integer Dimension) const; + + //! returns the error as is in the algorithms + Standard_EXPORT Handle(TColStd_HArray1OfReal) AverageError( + const Standard_Integer Dimension) const; + + Standard_EXPORT Standard_Real MaxError(const Standard_Integer Dimension, + const Standard_Integer Index) const; + + Standard_EXPORT Standard_Real AverageError(const Standard_Integer Dimension, + const Standard_Integer Index) const; + + //! display information on approximation. + Standard_EXPORT void Dump(Standard_OStream& o) const; + +protected: +private: + Standard_EXPORT void Perform(const Standard_Integer Num1DSS, + const Standard_Integer Num2DSS, + const Standard_Integer Num3DSS, + const AdvApprox_Cutting& CutTool); + + Standard_Integer myNumSubSpaces[3]; + Handle(TColStd_HArray1OfReal) my1DTolerances; + Handle(TColStd_HArray1OfReal) my2DTolerances; + Handle(TColStd_HArray1OfReal) my3DTolerances; + Standard_Real myFirst; + Standard_Real myLast; + GeomAbs_Shape myContinuity; + Standard_Integer myMaxDegree; + Standard_Integer myMaxSegments; + Standard_Boolean myDone; + Standard_Boolean myHasResult; + Handle(TColStd_HArray2OfReal) my1DPoles; + Handle(TColgp_HArray2OfPnt2d) my2DPoles; + Handle(TColgp_HArray2OfPnt) my3DPoles; + Handle(TColStd_HArray1OfReal) myKnots; + Handle(TColStd_HArray1OfInteger) myMults; + Standard_Integer myDegree; + Standard_Address myEvaluator; + Handle(TColStd_HArray1OfReal) my1DMaxError; + Handle(TColStd_HArray1OfReal) my1DAverageError; + Handle(TColStd_HArray1OfReal) my2DMaxError; + Handle(TColStd_HArray1OfReal) my2DAverageError; + Handle(TColStd_HArray1OfReal) my3DMaxError; + Handle(TColStd_HArray1OfReal) my3DAverageError; +}; + +#include + +#endif // _AdvApprox_ApproxAFunction_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AppParCurves_HArray1OfMultiCurve.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AppParCurves_HArray1OfMultiCurve.hxx new file mode 100644 index 0000000000000000000000000000000000000000..2a7eedfea0873bbe24c38d998818939cccd12749 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/AppParCurves_HArray1OfMultiCurve.hxx @@ -0,0 +1,26 @@ +// Created on: 1991-04-11 +// Created by: Laurent PAINNOT +// 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. + +#ifndef AppParCurves_HArray1OfMultiCurve_HeaderFile +#define AppParCurves_HArray1OfMultiCurve_HeaderFile + +#include +#include +#include + +DEFINE_HARRAY1(AppParCurves_HArray1OfMultiCurve, AppParCurves_Array1OfMultiCurve) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Approx_Curve3d.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Approx_Curve3d.hxx new file mode 100644 index 0000000000000000000000000000000000000000..453f379b7ea677c0d4e8b8f7855e31574f8cd3b7 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Approx_Curve3d.hxx @@ -0,0 +1,62 @@ +// Created on: 1998-08-20 +// Created by: Philippe MANGIN +// Copyright (c) 1998-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 _Approx_Curve3d_HeaderFile +#define _Approx_Curve3d_HeaderFile + +#include +#include +#include + +class Approx_Curve3d +{ +public: + DEFINE_STANDARD_ALLOC + + //! Approximation of a curve with respect of the + //! required tolerance Tol3D. + Standard_EXPORT Approx_Curve3d(const Handle(Adaptor3d_Curve)& Curve, + const Standard_Real Tol3d, + const GeomAbs_Shape Order, + const Standard_Integer MaxSegments, + const Standard_Integer MaxDegree); + + Standard_EXPORT Handle(Geom_BSplineCurve) Curve() const; + + //! returns Standard_True if the approximation has + //! been done within required tolerance + Standard_EXPORT Standard_Boolean IsDone() const; + + //! returns Standard_True if the approximation did come out + //! with a result that is not NECESSARELY within the required + //! tolerance + Standard_EXPORT Standard_Boolean HasResult() const; + + //! returns the Maximum Error (>0 when an approximation + //! has been done, 0 if no approximation) + Standard_EXPORT Standard_Real MaxError() const; + + //! Print on the stream o information about the object + Standard_EXPORT void Dump(Standard_OStream& o) const; + +private: + Standard_Boolean myIsDone; + Standard_Boolean myHasResult; + Handle(Geom_BSplineCurve) myBSplCurve; + Standard_Real myMaxError; +}; + +#endif // _Approx_Curve3d_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Aspect_VKeyFlags.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Aspect_VKeyFlags.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9678f67e3d2b63aa0e7bdc834c8b4c85c14852b5 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Aspect_VKeyFlags.hxx @@ -0,0 +1,51 @@ +// Copyright (c) 2016-2019 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 _Aspect_VKeyFlags_HeaderFile +#define _Aspect_VKeyFlags_HeaderFile + +//! Key modifier, for combining with general key from Aspect_VKey. +typedef unsigned int Aspect_VKeyFlags; + +//! Key modifier, for combining with general key from Aspect_VKey. +enum +{ + Aspect_VKeyFlags_NONE = 0, + // reserve first 8 bits to combine value with Aspect_VKey + Aspect_VKeyFlags_SHIFT = 1 << 8, //!< Aspect_VKey_Shift + Aspect_VKeyFlags_CTRL = 1 << 9, //!< Aspect_VKey_Control + Aspect_VKeyFlags_ALT = 1 << 10, //!< Aspect_VKey_Alt + Aspect_VKeyFlags_MENU = 1 << 11, //!< Aspect_VKey_Menu + Aspect_VKeyFlags_META = 1 << 12, //!< Aspect_VKey_Meta + + Aspect_VKeyFlags_ALL = Aspect_VKeyFlags_SHIFT | Aspect_VKeyFlags_CTRL | Aspect_VKeyFlags_ALT + | Aspect_VKeyFlags_MENU | Aspect_VKeyFlags_META +}; + +//! Mouse buttons, for combining with Aspect_VKey and Aspect_VKeyFlags. +typedef unsigned int Aspect_VKeyMouse; + +//! Mouse button bitmask +enum +{ + Aspect_VKeyMouse_NONE = 0, //!< no buttons + + Aspect_VKeyMouse_LeftButton = 1 << 13, //!< mouse left button + Aspect_VKeyMouse_MiddleButton = 1 << 14, //!< mouse middle button (scroll) + Aspect_VKeyMouse_RightButton = 1 << 15, //!< mouse right button + + Aspect_VKeyMouse_MainButtons = + Aspect_VKeyMouse_LeftButton | Aspect_VKeyMouse_MiddleButton | Aspect_VKeyMouse_RightButton +}; + +#endif // _Aspect_VKeyFlags_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPAlgo_CellsBuilder.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPAlgo_CellsBuilder.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d706b496cdb32d5703c5f763e30930fdb92416e3 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPAlgo_CellsBuilder.hxx @@ -0,0 +1,266 @@ +// Created by: Eugeny MALTCHIKOV +// Copyright (c) 2015 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 _BOPAlgo_CellsBuilder_HeaderFile +#define _BOPAlgo_CellsBuilder_HeaderFile + +#include + +#include + +#include + +#include +#include +#include +#include +#include + +//! The algorithm is based on the General Fuse algorithm (GFA). +//! The result of GFA is all split parts of the Arguments. +//! +//! The purpose of this algorithm is to provide the result with the content of: +//! 1. Cells (parts) defined by the user; +//! 2. Internal boundaries defined by the user. +//! +//! In other words the algorithm should provide the possibility for the user to add +//! or remove any part to (from) result and remove any internal boundaries between parts. +//! +//! All the requirements of GFA for the DATA are inherited in this algorithm. +//! The arguments could be of any type (dimension) and should be valid +//! in terms of BRepCheck_Analyzer and BOPAlgo_ArgumentAnalyzer. +//! +//! Results: +//! +//! The result of the algorithm is compound containing selected parts of the basic types (VERTEX, +//! EDGE, FACE or SOLID). The default result is empty compound. It is possible to add any split part +//! to the result by using the methods AddToRessult() and AddAllToResult(). It is also possible to +//! remove any part from the result by using methods RemoveFromResult() and RemoveAllFromResult(). +//! The method RemoveAllFromResult() is also suitable for clearing the result. +//! +//! To remove Internal boundaries it is necessary to set the same material to the +//! parts between which the boundaries should be removed and call the method +//! RemoveInternalBoundaries(). The material should not be equal to 0, as this is default material +//! value. The boundaries between parts with this value will not be removed. One part cannot be +//! added with the different materials. It is also possible to remove the boundaries during +//! combining the result. To do this it is necessary to set the material for parts (not equal to 0) +//! and set the flag bUpdate to TRUE. For the arguments of the types FACE or EDGE it is recommended +//! to remove the boundaries in the end when the result is completely built. +//! It will help to avoid self-intersections in the result. +//! +//! Note, that if the result contains the parts with same material but of different +//! dimension the boundaries between such parts will not be removed. +//! Currently, the removal of the internal boundaries between multi-dimensional shapes is not +//! supported. +//! +//! It is possible to create typed Containers from the parts added to result by using method +//! MakeContainers(). The type of the containers will depend on the type of the arguments: WIRES for +//! EEDGE, SHELLS for FACES and COMPSOLIDS for SOLIDS. The result will be compound containing +//! containers. Adding of the parts to such result will not update containers. The result compound +//! will contain the containers and new added parts (of basic type). Removing of the parts from such +//! result may affect some containers if the parts that should be removed is in container. In this +//! case this container will be rebuilt without that part. +//! +//! History: +//! +//! The algorithm supports history information for basic types of the shapes - VERTEX, EDGE, FACE. +//! This information available through the methods IsDeleted() and Modified(). +//! +//! In DRAW Test Harness it is available through the same commands +//! as for Boolean Operations (bmodified, bgenerated and bisdeleted). +//! +//! The algorithm can return the following Error Statuses: +//! - Error status acquired in the General Fuse algorithm. +//! The Error status can be checked with HasErrors() method. +//! If the Error status is not equal to zero, the result cannot be trustworthy. +//! +//! The algorithm can set the following Warning Statuses: +//! - Warning status acquired in the General Fuse algorithm; +//! - BOPAlgo_AlertRemovalOfIBForMDimShapes +//! - BOPAlgo_AlertRemovalOfIBForFacesFailed +//! - BOPAlgo_AlertRemovalOfIBForEdgesFailed +//! - BOPAlgo_AlertRemovalOfIBForSolidsFailed +//! +//! The Warning status can be checked with HasWarnings() method or printed with the DumpWarnings() +//! method. If warnings are recorded, the result may be not as expected. +//! +//! Examples: +//! +//! 1. API +//! @code +//! BOPAlgo_CellsBuilder aCBuilder; +//! TopTools_ListOfShape aLS = ...; // arguments +//! // parallel or single mode (the default value is FALSE) +//! bool toRunParallel = false; +//! // fuzzy option (default value is 0) +//! Standard_Real aTol = 0.0; +//! // +//! aCBuilder.SetArguments (aLS); +//! aCBuilder.SetRunParallel (toRunParallel); +//! aCBuilder.SetFuzzyValue (aTol); +//! // +//! aCBuilder.Perform(); +//! if (aCBuilder.HasErrors()) // check error status +//! { +//! return; +//! } +//! // empty compound, as nothing has been added yet +//! const TopoDS_Shape& aRes = aCBuilder.Shape(); +//! // all split parts +//! const TopoDS_Shape& aRes = aCBuilder.GetAllParts(); +//! // +//! TopTools_ListOfShape aLSToTake = ...; // parts of these arguments will be taken into result +//! TopTools_ListOfShape aLSToAvoid = ...; // parts of these arguments will not be taken into result +//! // +//! // defines the material common for the cells, +//! // i.e. the boundaries between cells with the same material will be removed. +//! // By default it is set to 0. +//! // Thus, to remove some boundary the value of this variable should not be equal to 0. +//! Standard_Integer iMaterial = ...; +//! // defines whether to update the result right now or not +//! bool toUpdate = ...; +//! // adding to result +//! aCBuilder.AddToResult (aLSToTake, aLSToAvoid, iMaterial, toUpdate); +//! aR = aCBuilder.Shape(); // the result +//! // removing of the boundaries (should be called only if toUpdate is false) +//! aCBuilder.RemoveInternalBoundaries(); +//! // +//! // removing from result +//! aCBuilder.AddAllToResult(); +//! aCBuilder.RemoveFromResult (aLSToTake, aLSToAvoid); +//! aR = aCBuilder.Shape(); // the result +//! @endcode +//! +//! 2. DRAW Test Harness +//! @code +//! psphere s1 15 +//! psphere s2 15 +//! psphere s3 15 +//! ttranslate s1 0 0 10 +//! ttranslate s2 20 0 10 +//! ttranslate s3 10 0 0 +//! # adding arguments +//! bclearobjects; bcleartools +//! baddobjects s1 s2 s3 +//! # intersection +//! bfillds +//! # rx will contain all split parts +//! bcbuild rx +//! # add to result the part that is common for all three spheres +//! bcadd res s1 1 s2 1 s3 1 -m 1 +//! # add to result the part that is common only for first and third spheres +//! bcadd res s1 1 s2 0 s3 1 -m 1 +//! # remove internal boundaries +//! bcremoveint res +//! @endcode +class BOPAlgo_CellsBuilder : public BOPAlgo_Builder +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT BOPAlgo_CellsBuilder(); + + Standard_EXPORT BOPAlgo_CellsBuilder(const Handle(NCollection_BaseAllocator)& theAllocator); + + Standard_EXPORT virtual ~BOPAlgo_CellsBuilder(); + + //! Redefined method Clear - clears the contents. + Standard_EXPORT virtual void Clear() Standard_OVERRIDE; + + //! Adding the parts to result.
+ //! The parts are defined by two lists of shapes:
+ //! defines the arguments which parts should be taken into result;
+ //! defines the arguments which parts should not be taken into result;
+ //! To be taken into result the part must be IN for all shapes from the list + //! and must be OUT of all shapes from the list .
+ //! + //! To remove internal boundaries between any cells in the result + //! variable should be used. The boundaries between + //! cells with the same material will be removed. Default value is 0.
+ //! Thus, to remove any boundary the value of this variable should not be equal to 0.
+ //! parameter defines whether to remove boundaries now or not. + Standard_EXPORT void AddToResult(const TopTools_ListOfShape& theLSToTake, + const TopTools_ListOfShape& theLSToAvoid, + const Standard_Integer theMaterial = 0, + const Standard_Boolean theUpdate = Standard_False); + + //! Add all split parts to result.
+ //! defines the removal of internal boundaries;
+ //! parameter defines whether to remove boundaries now or not. + Standard_EXPORT void AddAllToResult(const Standard_Integer theMaterial = 0, + const Standard_Boolean theUpdate = Standard_False); + + //! Removing the parts from result.
+ //! The parts are defined by two lists of shapes:
+ //! defines the arguments which parts should be removed from result;
+ //! defines the arguments which parts should not be removed from result.
+ //! To be removed from the result the part must be IN for all shapes from the list + //! and must be OUT of all shapes from the list . + Standard_EXPORT void RemoveFromResult(const TopTools_ListOfShape& theLSToTake, + const TopTools_ListOfShape& theLSToAvoid); + + //! Remove all parts from result. + Standard_EXPORT void RemoveAllFromResult(); + + //! Removes internal boundaries between cells with the same material.
+ //! If the result contains the cells with same material but of different dimension + //! the removal of internal boundaries between these cells will not be performed.
+ //! In case of some errors during the removal the method will set the appropriate warning + //! status - use GetReport() to access them. + Standard_EXPORT void RemoveInternalBoundaries(); + + //! Get all split parts. + Standard_EXPORT const TopoDS_Shape& GetAllParts() const; + + //! Makes the Containers of proper type from the parts added to result. + Standard_EXPORT void MakeContainers(); + +protected: + //! Prepare information for history support taking into account + //! local modification map of unified elements - myMapModified. + Standard_EXPORT virtual const TopTools_ListOfShape* LocModified(const TopoDS_Shape& theS) + Standard_OVERRIDE; + + //! Redefined method PerformInternal1 - makes all split parts, + //! nullifies the result , and index all parts. + Standard_EXPORT virtual void PerformInternal1(const BOPAlgo_PaveFiller& thePF, + const Message_ProgressRange& theRange) + Standard_OVERRIDE; + + //! Indexes the parts for quick access to the arguments. + Standard_EXPORT void IndexParts(); + + //! Looking for the parts defined by two lists. + Standard_EXPORT void FindParts(const TopTools_ListOfShape& theLSToTake, + const TopTools_ListOfShape& theLSToAvoid, + TopTools_ListOfShape& theParts); + + //! Removes internal boundaries between cells with the same material.
+ //! Returns TRUE if any internal boundaries have been removed. + Standard_EXPORT Standard_Boolean + RemoveInternals(const TopTools_ListOfShape& theLS, + TopTools_ListOfShape& theLSNew, + const TopTools_MapOfShape& theMapKeepBnd = TopTools_MapOfShape()); + + // fields + TopoDS_Shape myAllParts; //!< All split parts of the arguments + // clang-format off + TopTools_IndexedDataMapOfShapeListOfShape myIndex; //!< Connection map from all splits parts to the argument shapes from which they were created + TopTools_DataMapOfIntegerListOfShape myMaterials; //!< Map of assigned materials (material -> list of shape) + TopTools_DataMapOfShapeInteger myShapeMaterial; //!< Map of assigned materials (shape -> material) + TopTools_DataMapOfShapeShape myMapModified; //!< Local modification map to track unification of the splits + // clang-format on +}; + +#endif //_BOPAlgo_CellsBuilder_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPDS_CoupleOfPaveBlocks.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPDS_CoupleOfPaveBlocks.hxx new file mode 100644 index 0000000000000000000000000000000000000000..21cb89e0a643125899d1dcbdbb59b6505cd55b9a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPDS_CoupleOfPaveBlocks.hxx @@ -0,0 +1,176 @@ +// Created by: Peter KURNEV +// 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 BOPDS_CoupleOfPaveBlocks_HeaderFile +#define BOPDS_CoupleOfPaveBlocks_HeaderFile + +#include + +/** + * The Class BOPDS_CoupleOfPaveBlocks is to store + * the information about two pave blocks + * and some satellite information + * + */ +//======================================================================= +// class : BOPDS_CoupleOfPaveBlocks +// purpose : +//======================================================================= +class BOPDS_CoupleOfPaveBlocks +{ +public: + /** + * Constructor + */ + BOPDS_CoupleOfPaveBlocks() + : myIndexInterf(-1), + myIndex(-1), + myTolerance(0) + { + } + + // + /** + * Constructor + * @param thePB1 + * first pave block + * @param thePB2 + * secondt pave block + */ + BOPDS_CoupleOfPaveBlocks(const Handle(BOPDS_PaveBlock)& thePB1, + const Handle(BOPDS_PaveBlock)& thePB2) + : myIndexInterf(-1), + myIndex(-1), + myTolerance(0) + { + SetPaveBlocks(thePB1, thePB2); + } + + // + /** + * Destructor + */ + ~BOPDS_CoupleOfPaveBlocks() {} + + // + /** + * Sets an index + * @param theIndex + * index + */ + void SetIndex(const Standard_Integer theIndex) { myIndex = theIndex; } + + // + /** + * Returns the index + * @return + * index + */ + Standard_Integer Index() const { return myIndex; } + + // + /** + * Sets an index of an interference + * @param theIndex + * index of an interference + */ + void SetIndexInterf(const Standard_Integer theIndex) { myIndexInterf = theIndex; } + + // + /** + * Returns the index of an interference + * @return + * index of an interference + */ + Standard_Integer IndexInterf() const { return myIndexInterf; } + + // + /** + * Sets pave blocks + * @param thePB1 + * first pave block + * @param thePB2 + * secondt pave block + */ + void SetPaveBlocks(const Handle(BOPDS_PaveBlock)& thePB1, const Handle(BOPDS_PaveBlock)& thePB2) + { + myPB[0] = thePB1; + myPB[1] = thePB2; + } + + // + /** + * Returns pave blocks + * @param thePB1 + * the first pave block + * @param thePB2 + * the second pave block + */ + void PaveBlocks(Handle(BOPDS_PaveBlock)& thePB1, Handle(BOPDS_PaveBlock)& thePB2) const + { + thePB1 = myPB[0]; + thePB2 = myPB[1]; + } + + // + /** + * Sets the first pave block + * @param thePB + * the first pave block + */ + void SetPaveBlock1(const Handle(BOPDS_PaveBlock)& thePB) { myPB[0] = thePB; } + + /** + * Returns the first pave block + * @return + * the first pave block + */ + const Handle(BOPDS_PaveBlock)& PaveBlock1() const { return myPB[0]; } + + // + /** + * Sets the second pave block + * @param thePB + * the second pave block + */ + void SetPaveBlock2(const Handle(BOPDS_PaveBlock)& thePB) { myPB[1] = thePB; } + + // + /** + * Returns the second pave block + * @return + * the second pave block + */ + const Handle(BOPDS_PaveBlock)& PaveBlock2() const { return myPB[1]; } + + /** + * Sets the tolerance associated with this couple + */ + void SetTolerance(const Standard_Real theTol) { myTolerance = theTol; } + + // + /** + * Returns the tolerance associated with this couple + */ + Standard_Real Tolerance() const { return myTolerance; } + +protected: + Standard_Integer myIndexInterf; + Standard_Integer myIndex; + Handle(BOPDS_PaveBlock) myPB[2]; + Standard_Real myTolerance; +}; + +// +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPDS_MapOfPave.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPDS_MapOfPave.hxx new file mode 100644 index 0000000000000000000000000000000000000000..8ee118c45f93796e3aabcba34c902aa0c7400c63 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPDS_MapOfPave.hxx @@ -0,0 +1,24 @@ +// Created by: Eugeny MALTCHIKOV +// 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 BOPDS_MapOfPave_HeaderFile +#define BOPDS_MapOfPave_HeaderFile + +#include +#include + +typedef NCollection_Map BOPDS_MapOfPave; +typedef BOPDS_MapOfPave::Iterator BOPDS_MapIteratorOfMapOfPave; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPTools_BoxSelector.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPTools_BoxSelector.hxx new file mode 100644 index 0000000000000000000000000000000000000000..2ec4fe220a2fbecc1718a69bcb72ebda411bb636 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BOPTools_BoxSelector.hxx @@ -0,0 +1,89 @@ +// Created by: Eugeny MALTCHIKOV +// Copyright (c) 2017 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 BOPTools_BoxSelector_HeaderFile +#define BOPTools_BoxSelector_HeaderFile + +#include +#include + +#include +#include + +//! Template Selector for elements selection from BVH tree. +template +class BOPTools_BoxSelector + : public BVH_Traverse, + Standard_Boolean> +{ +public: + typedef typename BVH::VectorType::Type BVH_VecNd; + +public: //! @name Constructor + //! Empty constructor + BOPTools_BoxSelector() {}; + +public: //! @name public interfaces + //! Clears the indices + void Clear() { myIndices.Clear(); } + + //! Sets the box + void SetBox(const BVH_Box& theBox) { myBox = theBox; } + + //! Returns the list of accepted indices + const TColStd_ListOfInteger& Indices() const { return myIndices; } + +public: //! @name Rejection/Acceptance rules + //! Checks if the box should be rejected + virtual Standard_Boolean RejectNode(const BVH_VecNd& theCMin, + const BVH_VecNd& theCMax, + Standard_Boolean& theIsInside) const Standard_OVERRIDE + { + Standard_Boolean hasOverlap; + theIsInside = myBox.Contains(theCMin, theCMax, hasOverlap); + return !hasOverlap; + } + + //! Checks if the element should be rejected + Standard_Boolean RejectElement(const Standard_Integer theIndex) + { + return myBox.IsOut(this->myBVHSet->Box(theIndex)); + } + + //! Checks if the metric of the node may be accepted + virtual Standard_Boolean AcceptMetric(const Standard_Boolean& theIsInside) const Standard_OVERRIDE + { + return theIsInside; + } + + //! Accepts the element with the index in BVH tree + virtual Standard_Boolean Accept(const Standard_Integer theIndex, + const Standard_Boolean& theIsInside) Standard_OVERRIDE + { + if (theIsInside || !RejectElement(theIndex)) + { + myIndices.Append(this->myBVHSet->Element(theIndex)); + return Standard_True; + } + return Standard_False; + } + +protected: //! @name Fields + BVH_Box myBox; //!< Selection box + TColStd_ListOfInteger myIndices; //!< Selected indices +}; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox.hxx new file mode 100644 index 0000000000000000000000000000000000000000..504609164c7d8cb25776eeed82d50f30de8e3dda --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox.hxx @@ -0,0 +1,287 @@ +// Created on: 1995-06-06 +// Created by: Jean Yves LEBEY +// Copyright (c) 1995-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 _BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox_HeaderFile +#define _BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class StdFail_NotDone; +class Standard_OutOfRange; +class Standard_DimensionError; +class Standard_NoSuchObject; +class BRepApprox_TheMultiLineOfApprox; +class BRepApprox_TheMultiLineToolOfApprox; +class AppParCurves_MultiCurve; +class AppParCurves_MultiBSpCurve; +class math_Matrix; + +class BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox +{ +public: + DEFINE_STANDARD_ALLOC + + //! given a MultiLine, this algorithm computes the least + //! square resolution using the Householder-QR method. + //! If the first and/or the last point is a constraint + //! point, the value of the tangency or curvature is + //! computed in the resolution. + //! NbPol is the number of control points wanted + //! for the approximating curves. + //! The system to solve is the following: + //! A X = B. + //! Where A is the Bernstein matrix computed with the + //! parameters, B the points coordinates and X the poles + //! solutions. + //! The matrix A is the same for each coordinate x, y and z + //! and is also the same for each MultiLine point because + //! they are approximated in parallel(so with the same + //! parameter, only the vector B changes). + Standard_EXPORT BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox( + const BRepApprox_TheMultiLineOfApprox& SSP, + const Standard_Integer FirstPoint, + const Standard_Integer LastPoint, + const AppParCurves_Constraint FirstCons, + const AppParCurves_Constraint LastCons, + const math_Vector& Parameters, + const Standard_Integer NbPol); + + //! Initializes the fields of the object. + Standard_EXPORT BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox( + const BRepApprox_TheMultiLineOfApprox& SSP, + const Standard_Integer FirstPoint, + const Standard_Integer LastPoint, + const AppParCurves_Constraint FirstCons, + const AppParCurves_Constraint LastCons, + const Standard_Integer NbPol); + + //! given a MultiLine, this algorithm computes the least + //! square resolution using the Householder-QR method. + //! If the first and/or the last point is a constraint + //! point, the value of the tangency or curvature is + //! computed in the resolution. + //! Deg is the degree wanted for the approximating curves. + //! The system to solve is the following: + //! A X = B. + //! Where A is the BSpline functions matrix computed with + //! , B the points coordinates and X the poles + //! solutions. + //! The matrix A is the same for each coordinate x, y and z + //! and is also the same for each MultiLine point because + //! they are approximated in parallel(so with the same + //! parameter, only the vector B changes). + Standard_EXPORT BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox( + const BRepApprox_TheMultiLineOfApprox& SSP, + const TColStd_Array1OfReal& Knots, + const TColStd_Array1OfInteger& Mults, + const Standard_Integer FirstPoint, + const Standard_Integer LastPoint, + const AppParCurves_Constraint FirstCons, + const AppParCurves_Constraint LastCons, + const math_Vector& Parameters, + const Standard_Integer NbPol); + + //! Initializes the fields of the object. + Standard_EXPORT BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox( + const BRepApprox_TheMultiLineOfApprox& SSP, + const TColStd_Array1OfReal& Knots, + const TColStd_Array1OfInteger& Mults, + const Standard_Integer FirstPoint, + const Standard_Integer LastPoint, + const AppParCurves_Constraint FirstCons, + const AppParCurves_Constraint LastCons, + const Standard_Integer NbPol); + + //! Is used after having initialized the fields. + //! The case "CurvaturePoint" is not treated in this method. + Standard_EXPORT void Perform(const math_Vector& Parameters); + + //! Is used after having initialized the fields. + Standard_EXPORT void Perform(const math_Vector& Parameters, + const Standard_Real l1, + const Standard_Real l2); + + //! Is used after having initialized the fields. + //! is the tangent vector at the first point. + //! is the tangent vector at the last point. + Standard_EXPORT void Perform(const math_Vector& Parameters, + const math_Vector& V1t, + const math_Vector& V2t, + const Standard_Real l1, + const Standard_Real l2); + + //! Is used after having initialized the fields. + //! is the tangent vector at the first point. + //! is the tangent vector at the last point. + //! is the tangent vector at the first point. + //! is the tangent vector at the last point. + Standard_EXPORT void Perform(const math_Vector& Parameters, + const math_Vector& V1t, + const math_Vector& V2t, + const math_Vector& V1c, + const math_Vector& V2c, + const Standard_Real l1, + const Standard_Real l2); + + //! returns True if all has been correctly done. + Standard_EXPORT Standard_Boolean IsDone() const; + + //! returns the result of the approximation, i.e. all the + //! Curves. + //! An exception is raised if NotDone. + Standard_EXPORT AppParCurves_MultiCurve BezierValue(); + + //! returns the result of the approximation, i.e. all the + //! Curves. + //! An exception is raised if NotDone. + Standard_EXPORT const AppParCurves_MultiBSpCurve& BSplineValue(); + + //! returns the function matrix used to approximate the + //! set. + Standard_EXPORT const math_Matrix& FunctionMatrix() const; + + //! returns the derivative function matrix used + //! to approximate the set. + Standard_EXPORT const math_Matrix& DerivativeFunctionMatrix() const; + + //! returns the maximum errors between the MultiLine + //! and the approximation curves. F is the sum of the square + //! distances. Grad is the derivative vector of the + //! function F. + Standard_EXPORT void ErrorGradient(math_Vector& Grad, + Standard_Real& F, + Standard_Real& MaxE3d, + Standard_Real& MaxE2d); + + //! returns the distances between the points of the + //! multiline and the approximation curves. + Standard_EXPORT const math_Matrix& Distance(); + + //! returns the maximum errors between the MultiLine + //! and the approximation curves. F is the sum of the square + //! distances. + Standard_EXPORT void Error(Standard_Real& F, Standard_Real& MaxE3d, Standard_Real& MaxE2d); + + //! returns the value (P2 - P1)/ V1 if the first point + //! was a tangency point. + Standard_EXPORT Standard_Real FirstLambda() const; + + //! returns the value (PN - PN-1)/ VN if the last point + //! was a tangency point. + Standard_EXPORT Standard_Real LastLambda() const; + + //! returns the matrix of points value. + Standard_EXPORT const math_Matrix& Points() const; + + //! returns the matrix of resulting control points value. + Standard_EXPORT const math_Matrix& Poles() const; + + //! Returns the indexes of the first non null values of + //! A and DA. + //! The values are non null from Index(ieme point) +1 + //! to Index(ieme point) + degree +1. + Standard_EXPORT const math_IntegerVector& KIndex() const; + +protected: + //! is used by the constructors above. + Standard_EXPORT void Init(const BRepApprox_TheMultiLineOfApprox& SSP, + const Standard_Integer FirstPoint, + const Standard_Integer LastPoint); + + //! returns the number of second member columns. + //! Is used internally to initialize the fields. + Standard_EXPORT Standard_Integer NbBColumns(const BRepApprox_TheMultiLineOfApprox& SSP) const; + + //! returns the first point being fitted. + Standard_EXPORT Standard_Integer TheFirstPoint(const AppParCurves_Constraint FirstCons, + const Standard_Integer FirstPoint) const; + + //! returns the last point being fitted. + Standard_EXPORT Standard_Integer TheLastPoint(const AppParCurves_Constraint LastCons, + const Standard_Integer LastPoint) const; + + //! Affects the fields in the case of a constraint point. + Standard_EXPORT void Affect(const BRepApprox_TheMultiLineOfApprox& SSP, + const Standard_Integer Index, + AppParCurves_Constraint& Cons, + math_Vector& Vt, + math_Vector& Vc); + + Standard_EXPORT void ComputeFunction(const math_Vector& Parameters); + + Standard_EXPORT void SearchIndex(math_IntegerVector& Index); + + //! computes internal matrixes for the resolution + Standard_EXPORT void MakeTAA(math_Vector& TheA, math_Vector& TheB); + + //! computes internal matrixes for the resolution + Standard_EXPORT void MakeTAA(math_Vector& TheA); + + //! computes internal matrixes for the resolution + Standard_EXPORT void MakeTAA(math_Vector& TheA, math_Matrix& TheB); + +private: + AppParCurves_Constraint FirstConstraint; + AppParCurves_Constraint LastConstraint; + AppParCurves_MultiBSpCurve SCU; + Handle(TColStd_HArray1OfReal) myknots; + Handle(TColStd_HArray1OfInteger) mymults; + math_Matrix mypoles; + math_Matrix A; + math_Matrix DA; + math_Matrix B2; + math_Matrix mypoints; + math_Vector Vflatknots; + math_Vector Vec1t; + math_Vector Vec1c; + math_Vector Vec2t; + math_Vector Vec2c; + math_Matrix theError; + math_IntegerVector myindex; + Standard_Real lambda1; + Standard_Real lambda2; + Standard_Integer FirstP; + Standard_Integer LastP; + Standard_Integer Nlignes; + Standard_Integer Ninc; + Standard_Integer NA; + Standard_Integer myfirstp; + Standard_Integer mylastp; + Standard_Integer resinit; + Standard_Integer resfin; + Standard_Integer nbP2d; + Standard_Integer nbP; + Standard_Integer nbpoles; + Standard_Integer deg; + Standard_Boolean done; + Standard_Boolean iscalculated; + Standard_Boolean isready; +}; + +#endif // _BRepApprox_ParLeastSquareOfMyGradientbisOfTheComputeLineOfApprox_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_CSConstRad.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_CSConstRad.hxx new file mode 100644 index 0000000000000000000000000000000000000000..0acedd1ee82926a2dd0f7a631b03d47e132853d2 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_CSConstRad.hxx @@ -0,0 +1,24 @@ +// Created on: 1993-12-06 +// Created by: Jacques GOUSSARD +// 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 _BRepBlend_CSConstRad_HeaderFile +#define _BRepBlend_CSConstRad_HeaderFile + +#include + +typedef BlendFunc_CSConstRad BRepBlend_CSConstRad; + +#endif // _BRepBlend_CSConstRad_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_Extremity.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_Extremity.lxx new file mode 100644 index 0000000000000000000000000000000000000000..3b84ce392fc3b20abb5dc67e0fd23ff61e3337ac --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_Extremity.lxx @@ -0,0 +1,88 @@ +// Copyright (c) 1995-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. + +#include + +inline const gp_Pnt& BRepBlend_Extremity::Value() const +{ + return pt; +} + +inline void BRepBlend_Extremity::SetTangent(const gp_Vec& Tangent) +{ + hastang = Standard_True; + tang = Tangent; +} + +inline Standard_Boolean BRepBlend_Extremity::HasTangent() const +{ + return hastang; +} + +inline const gp_Vec& BRepBlend_Extremity::Tangent() const +{ + if (!hastang) + { + throw Standard_DomainError(); + } + return tang; +} + +inline void BRepBlend_Extremity::Parameters(Standard_Real& U, Standard_Real& V) const +{ + U = u; + V = v; +} + +inline Standard_Real BRepBlend_Extremity::Tolerance() const +{ + return tol; +} + +inline Standard_Boolean BRepBlend_Extremity::IsVertex() const +{ + return isvtx; +} + +inline const Handle(Adaptor3d_HVertex)& BRepBlend_Extremity::Vertex() const +{ + if (!isvtx) + { + throw Standard_DomainError(); + } + return vtx; +} + +inline Standard_Integer BRepBlend_Extremity::NbPointOnRst() const +{ + return seqpt.Length(); +} + +inline const BRepBlend_PointOnRst& BRepBlend_Extremity::PointOnRst( + const Standard_Integer Index) const +{ + return seqpt(Index); +} + +inline Standard_Real BRepBlend_Extremity::Parameter() const + +{ + return u; +} + +inline Standard_Real BRepBlend_Extremity::ParameterOnGuide() const + +{ + return param; +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_HCurveTool.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_HCurveTool.lxx new file mode 100644 index 0000000000000000000000000000000000000000..b31e11ef180e8cc0667e5ca7fd32cd06a7399994 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_HCurveTool.lxx @@ -0,0 +1,193 @@ +// Created on: 1992-10-22 +// Created by: Laurent BUCHARD +// Copyright (c) 1992-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. + +#include +#include + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include + +//============================================================ +inline Standard_Real BRepBlend_HCurveTool::FirstParameter(const Handle(Adaptor3d_Curve)& C) +{ + return (C->FirstParameter()); +} + +//============================================================ +inline Standard_Real BRepBlend_HCurveTool::LastParameter(const Handle(Adaptor3d_Curve)& C) +{ + return (C->LastParameter()); +} + +//============================================================ +inline GeomAbs_Shape BRepBlend_HCurveTool::Continuity(const Handle(Adaptor3d_Curve)& C) +{ + return (C->Continuity()); +} + +//============================================================ +inline Standard_Integer BRepBlend_HCurveTool::NbIntervals(const Handle(Adaptor3d_Curve)& C, + const GeomAbs_Shape Sh) +{ + return (C->NbIntervals(Sh)); +} + +//============================================================ +inline void BRepBlend_HCurveTool::Intervals(const Handle(Adaptor3d_Curve)& C, + TColStd_Array1OfReal& Tab, + const GeomAbs_Shape Sh) +{ + C->Intervals(Tab, Sh); +} + +//============================================================ +inline Standard_Boolean BRepBlend_HCurveTool::IsClosed(const Handle(Adaptor3d_Curve)& C) +{ + return (C->IsClosed()); +} + +//============================================================ +inline Standard_Boolean BRepBlend_HCurveTool::IsPeriodic(const Handle(Adaptor3d_Curve)& C) +{ + return (C->IsPeriodic()); +} + +//============================================================ +inline Standard_Real BRepBlend_HCurveTool::Period(const Handle(Adaptor3d_Curve)& C) +{ + return (C->Period()); +} + +//============================================================ +inline gp_Pnt BRepBlend_HCurveTool::Value(const Handle(Adaptor3d_Curve)& C, const Standard_Real U) +{ + return (C->Value(U)); +} + +//============================================================ +inline void BRepBlend_HCurveTool::D0(const Handle(Adaptor3d_Curve)& C, + const Standard_Real U, + gp_Pnt& P) +{ + C->D0(U, P); +} + +//============================================================ +inline void BRepBlend_HCurveTool::D1(const Handle(Adaptor3d_Curve)& C, + const Standard_Real U, + gp_Pnt& P, + gp_Vec& T) +{ + C->D1(U, P, T); +} + +//============================================================ +inline void BRepBlend_HCurveTool::D2(const Handle(Adaptor3d_Curve)& C, + const Standard_Real U, + gp_Pnt& P, + gp_Vec& T, + gp_Vec& N) +{ + + C->D2(U, P, T, N); +} + +//============================================================ +inline void BRepBlend_HCurveTool::D3(const Handle(Adaptor3d_Curve)& C, + const Standard_Real U, + gp_Pnt& P, + gp_Vec& V1, + gp_Vec& V2, + gp_Vec& V3) +{ + + C->D3(U, P, V1, V2, V3); +} + +//============================================================ +inline gp_Vec BRepBlend_HCurveTool::DN(const Handle(Adaptor3d_Curve)& C, + const Standard_Real U, + const Standard_Integer N) +{ + + return (C->DN(U, N)); +} + +//============================================================ +inline Standard_Real BRepBlend_HCurveTool::Resolution(const Handle(Adaptor3d_Curve)& C, + const Standard_Real R3d) +{ + return (C->Resolution(R3d)); +} + +//============================================================ +inline GeomAbs_CurveType BRepBlend_HCurveTool::GetType(const Handle(Adaptor3d_Curve)& C) +{ + return (C->GetType()); +} + +//============================================================ +inline gp_Lin BRepBlend_HCurveTool::Line(const Handle(Adaptor3d_Curve)& C) +{ + return (C->Line()); +} + +//============================================================ +inline gp_Circ BRepBlend_HCurveTool::Circle(const Handle(Adaptor3d_Curve)& C) +{ + return (C->Circle()); +} + +//============================================================ +inline gp_Elips BRepBlend_HCurveTool::Ellipse(const Handle(Adaptor3d_Curve)& C) +{ + return (C->Ellipse()); +} + +//============================================================ +inline gp_Parab BRepBlend_HCurveTool::Parabola(const Handle(Adaptor3d_Curve)& C) +{ + return (C->Parabola()); +} + +//============================================================ +inline gp_Hypr BRepBlend_HCurveTool::Hyperbola(const Handle(Adaptor3d_Curve)& C) +{ + return (C->Hyperbola()); +} + +//============================================================ +inline Handle(Geom_BezierCurve) BRepBlend_HCurveTool::Bezier(const Handle(Adaptor3d_Curve)& C) +{ + return (C->Bezier()); +} + +//============================================================ +inline Handle(Geom_BSplineCurve) BRepBlend_HCurveTool::BSpline(const Handle(Adaptor3d_Curve)& C) +{ + return (C->BSpline()); +} + +//============================================================ diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_Line.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_Line.lxx new file mode 100644 index 0000000000000000000000000000000000000000..916a690a16fe6c0f77115b4084d4263e74a124f0 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBlend_Line.lxx @@ -0,0 +1,109 @@ +// Copyright (c) 1995-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. + +#include +#include + +inline void BRepBlend_Line::Append(const Blend_Point& P) +{ + seqpt.Append(P); +} + +inline void BRepBlend_Line::Prepend(const Blend_Point& P) +{ + seqpt.Prepend(P); +} + +inline void BRepBlend_Line::InsertBefore(const Standard_Integer Index, const Blend_Point& P) +{ + seqpt.InsertBefore(Index, P); +} + +inline void BRepBlend_Line::Remove(const Standard_Integer FromIndex, const Standard_Integer ToIndex) +{ + seqpt.Remove(FromIndex, ToIndex); +} + +inline void BRepBlend_Line::SetStartPoints(const BRepBlend_Extremity& StartPtOnS1, + const BRepBlend_Extremity& StartPtOnS2) + +{ + stp1 = StartPtOnS1; + stp2 = StartPtOnS2; +} + +inline void BRepBlend_Line::SetEndPoints(const BRepBlend_Extremity& EndPtOnS1, + const BRepBlend_Extremity& EndPtOnS2) + +{ + endp1 = EndPtOnS1; + endp2 = EndPtOnS2; +} + +inline Standard_Integer BRepBlend_Line::NbPoints() const +{ + return seqpt.Length(); +} + +inline const Blend_Point& BRepBlend_Line::Point(const Standard_Integer Index) const +{ + return seqpt(Index); +} + +inline IntSurf_TypeTrans BRepBlend_Line::TransitionOnS1() const +{ + if (!hass1) + { + throw Standard_DomainError(); + } + return tras1; +} + +inline IntSurf_TypeTrans BRepBlend_Line::TransitionOnS2() const +{ + if (!hass2) + { + throw Standard_DomainError(); + } + return tras2; +} + +inline const BRepBlend_Extremity& BRepBlend_Line::StartPointOnFirst() const +{ + return stp1; +} + +inline const BRepBlend_Extremity& BRepBlend_Line::StartPointOnSecond() const +{ + return stp2; +} + +inline const BRepBlend_Extremity& BRepBlend_Line::EndPointOnFirst() const +{ + return endp1; +} + +inline const BRepBlend_Extremity& BRepBlend_Line::EndPointOnSecond() const +{ + return endp2; +} + +inline IntSurf_TypeTrans BRepBlend_Line::TransitionOnS() const +{ + if (!hass1) + { + throw Standard_DomainError(); + } + return tras1; +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBuilderAPI_MakeWire.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBuilderAPI_MakeWire.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ea86a2a13106f45eaf0af8ed224c79eb769d829d --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBuilderAPI_MakeWire.hxx @@ -0,0 +1,188 @@ +// Created on: 1993-07-08 +// Created by: Remi LEQUETTE +// 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 _BRepBuilderAPI_MakeWire_HeaderFile +#define _BRepBuilderAPI_MakeWire_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class TopoDS_Edge; +class TopoDS_Wire; +class TopoDS_Vertex; + +//! Describes functions to build wires from edges. A wire can +//! be built from any number of edges. +//! To build a wire you first initialize the construction, then +//! add edges in sequence. An unlimited number of edges +//! can be added. The initialization of construction is done with: +//! - no edge (an empty wire), or +//! - edges of an existing wire, or +//! - up to four connectable edges. +//! In order to be added to a wire under construction, an +//! edge (unless it is the first one) must satisfy the following +//! condition: one of its vertices must be geometrically +//! coincident with one of the vertices of the wire (provided +//! that the highest tolerance factor is assigned to the two +//! vertices). It could also be the same vertex. +//! - The given edge is shared by the wire if it contains: +//! - two vertices, identical to two vertices of the wire +//! under construction (a general case of the wire closure), or +//! - one vertex, identical to a vertex of the wire under +//! construction; the other vertex not being +//! geometrically coincident with another vertex of the wire. +//! - In other cases, when one of the vertices of the edge +//! is simply geometrically coincident with a vertex of the +//! wire under construction (provided that the highest +//! tolerance factor is assigned to the two vertices), the +//! given edge is first copied and the coincident vertex is +//! replaced in this new edge, by the coincident vertex of the wire. +//! Note: it is possible to build non manifold wires using this construction tool. +//! A MakeWire object provides a framework for: +//! - initializing the construction of a wire, +//! - adding edges to the wire under construction, and +//! - consulting the result. +class BRepBuilderAPI_MakeWire : public BRepBuilderAPI_MakeShape +{ +public: + DEFINE_STANDARD_ALLOC + + //! Constructs an empty wire framework, to which edges + //! are added using the Add function. + //! As soon as the wire contains one edge, it can return + //! with the use of the function Wire. + //! Warning + //! The function Error will return + //! BRepBuilderAPI_EmptyWire if it is called before at + //! least one edge is added to the wire under construction. + Standard_EXPORT BRepBuilderAPI_MakeWire(); + + //! Make a Wire from an edge. + Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Edge& E); + + //! Make a Wire from two edges. + Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1, const TopoDS_Edge& E2); + + //! Make a Wire from three edges. + Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1, + const TopoDS_Edge& E2, + const TopoDS_Edge& E3); + + //! Make a Wire from four edges. + //! Constructs a wire + //! - from the TopoDS_Wire W composed of the edge E, or + //! - from edge E, or + //! - from two edges E1 and E2, or + //! - from three edges E1, E2 and E3, or + //! - from four edges E1, E2, E3 and E4. + //! Further edges can be added using the function Add. + //! Given edges are added in a sequence. Each of them + //! must be connectable to the wire under construction, + //! and so must satisfy the following condition (unless it is + //! the first edge of the wire): one of its vertices must be + //! geometrically coincident with one of the vertices of the + //! wire (provided that the highest tolerance factor is + //! assigned to the two vertices). It could also be the same vertex. + //! Warning + //! If an edge is not connectable to the wire under + //! construction it is not added. The function Error will + //! return BRepBuilderAPI_DisconnectedWire, the + //! function IsDone will return false and the function Wire + //! will raise an error, until a new connectable edge is added. + Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1, + const TopoDS_Edge& E2, + const TopoDS_Edge& E3, + const TopoDS_Edge& E4); + + //! Make a Wire from a Wire. useful for adding later. + Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Wire& W); + + //! Add an edge to a wire. + Standard_EXPORT BRepBuilderAPI_MakeWire(const TopoDS_Wire& W, const TopoDS_Edge& E); + + //! Adds the edge E to the wire under construction. + //! E must be connectable to the wire under construction, and, unless it + //! is the first edge of the wire, must satisfy the following + //! condition: one of its vertices must be geometrically coincident + //! with one of the vertices of the wire (provided that the highest + //! tolerance factor is assigned to the two vertices). It could also + //! be the same vertex. + //! Warning + //! If E is not connectable to the wire under construction it is not + //! added. The function Error will return + //! BRepBuilderAPI_DisconnectedWire, the function IsDone will return + //! false and the function Wire will raise an error, until a new + //! connectable edge is added. + Standard_EXPORT void Add(const TopoDS_Edge& E); + + //! Add the edges of to the current wire. + Standard_EXPORT void Add(const TopoDS_Wire& W); + + //! Adds the edges of to the current wire. The + //! edges are not to be consecutive. But they are to + //! be all connected geometrically or topologically. + //! If some of them are not connected the Status give + //! DisconnectedWire but the "Maker" is Done() and you + //! can get the partial result. (ie connected to the + //! first edgeof the list ) + Standard_EXPORT void Add(const TopTools_ListOfShape& L); + + //! Returns true if this algorithm contains a valid wire. + //! IsDone returns false if: + //! - there are no edges in the wire, or + //! - the last edge which you tried to add was not connectable. + Standard_EXPORT virtual Standard_Boolean IsDone() const Standard_OVERRIDE; + + //! Returns the construction status + //! - BRepBuilderAPI_WireDone if the wire is built, or + //! - another value of the BRepBuilderAPI_WireError + //! enumeration indicating why the construction failed. + Standard_EXPORT BRepBuilderAPI_WireError Error() const; + + //! Returns the constructed wire; or the part of the wire + //! under construction already built. + //! Exceptions StdFail_NotDone if a wire is not built. + Standard_EXPORT const TopoDS_Wire& Wire(); + Standard_EXPORT operator TopoDS_Wire(); + + //! Returns the last edge added to the wire under construction. + //! Warning + //! - This edge can be different from the original one (the + //! argument of the function Add, for instance,) + //! - A null edge is returned if there are no edges in the + //! wire under construction, or if the last edge which you + //! tried to add was not connectable.. + Standard_EXPORT const TopoDS_Edge& Edge() const; + + //! Returns the last vertex of the last edge added to the + //! wire under construction. + //! Warning + //! A null vertex is returned if there are no edges in the wire + //! under construction, or if the last edge which you tried to + //! add was not connectableR + Standard_EXPORT const TopoDS_Vertex& Vertex() const; + +protected: +private: + BRepLib_MakeWire myMakeWire; +}; + +#endif // _BRepBuilderAPI_MakeWire_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBuilderAPI_PipeError.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBuilderAPI_PipeError.hxx new file mode 100644 index 0000000000000000000000000000000000000000..82e9551ad3516025056f96689a3433eda2c6507c --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepBuilderAPI_PipeError.hxx @@ -0,0 +1,29 @@ +// Created on: 1993-07-06 +// Created by: Remi LEQUETTE +// 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 _BRepBuilderAPI_PipeError_HeaderFile +#define _BRepBuilderAPI_PipeError_HeaderFile + +//! Errors that can occur at (shell)pipe construction. +enum BRepBuilderAPI_PipeError +{ + BRepBuilderAPI_PipeDone, + BRepBuilderAPI_PipeNotDone, + BRepBuilderAPI_PlaneNotIntersectGuide, + BRepBuilderAPI_ImpossibleContact +}; + +#endif // _BRepBuilderAPI_PipeError_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepCheck.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepCheck.hxx new file mode 100644 index 0000000000000000000000000000000000000000..5fe2d5c74da8bfbd4113a167c8e1876e23be1f13 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepCheck.hxx @@ -0,0 +1,53 @@ +// Created on: 1995-12-06 +// Created by: Jacques GOUSSARD +// Copyright (c) 1995-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 _BRepCheck_HeaderFile +#define _BRepCheck_HeaderFile + +#include +#include +#include +#include + +class TopoDS_Wire; +class TopoDS_Face; +class TopoDS_Edge; +class Adaptor3d_Curve; + +//! This package provides tools to check the validity +//! of the BRep. +class BRepCheck +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT static void Add(BRepCheck_ListOfStatus& List, const BRepCheck_Status Stat); + + Standard_EXPORT static void Print(const BRepCheck_Status Stat, Standard_OStream& OS); + + Standard_EXPORT static Standard_Boolean SelfIntersection(const TopoDS_Wire& W, + const TopoDS_Face& F, + TopoDS_Edge& E1, + TopoDS_Edge& E2); + + //! Returns the resolution on the 3d curve + Standard_EXPORT static Standard_Real PrecCurve(const Adaptor3d_Curve& aAC3D); + + //! Returns the resolution on the surface + Standard_EXPORT static Standard_Real PrecSurface(const Handle(Adaptor3d_Surface)& aAHSurf); +}; + +#endif // _BRepCheck_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepClass3d_SolidClassifier.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepClass3d_SolidClassifier.hxx new file mode 100644 index 0000000000000000000000000000000000000000..324a18c3f0fee54e4095db96f09e335ee678d6a3 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepClass3d_SolidClassifier.hxx @@ -0,0 +1,69 @@ +// Created on: 1994-03-30 +// Created by: Laurent BUCHARD +// 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. + +#ifndef _BRepClass3d_SolidClassifier_HeaderFile +#define _BRepClass3d_SolidClassifier_HeaderFile + +#include +#include + +#include +#include +#include +class TopoDS_Shape; +class gp_Pnt; + +//! Provides an algorithm to classify a point in a solid. +class BRepClass3d_SolidClassifier : public BRepClass3d_SClassifier +{ +public: + DEFINE_STANDARD_ALLOC + + //! empty constructor + Standard_EXPORT BRepClass3d_SolidClassifier(); + + Standard_EXPORT void Load(const TopoDS_Shape& S); + + //! Constructor from a Shape. + Standard_EXPORT BRepClass3d_SolidClassifier(const TopoDS_Shape& S); + + //! Constructor to classify the point P with the + //! tolerance Tol on the solid S. + Standard_EXPORT BRepClass3d_SolidClassifier(const TopoDS_Shape& S, + const gp_Pnt& P, + const Standard_Real Tol); + + //! Classify the point P with the + //! tolerance Tol on the solid S. + Standard_EXPORT void Perform(const gp_Pnt& P, const Standard_Real Tol); + + //! Classify an infinite point with the + //! tolerance Tol on the solid S. + //! Useful for compute the orientation of a solid. + Standard_EXPORT void PerformInfinitePoint(const Standard_Real Tol); + + Standard_EXPORT void Destroy(); + + ~BRepClass3d_SolidClassifier() { Destroy(); } + +protected: +private: + Standard_Boolean aSolidLoaded; + BRepClass3d_SolidExplorer explorer; + Standard_Boolean isaholeinspace; +}; + +#endif // _BRepClass3d_SolidClassifier_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepExtrema_ExtFF.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepExtrema_ExtFF.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ed1e55f07bf2d0a0462901995778594570332a7e --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepExtrema_ExtFF.hxx @@ -0,0 +1,79 @@ +// 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_ExtFF_HeaderFile +#define _BRepExtrema_ExtFF_HeaderFile + +#include +#include +#include +#include +#include +#include + +class TopoDS_Face; + +class BRepExtrema_ExtFF +{ +public: + DEFINE_STANDARD_ALLOC + + BRepExtrema_ExtFF() {} + + //! It calculates all the distances.
+ Standard_EXPORT BRepExtrema_ExtFF(const TopoDS_Face& F1, const TopoDS_Face& F2); + + Standard_EXPORT void Initialize(const TopoDS_Face& F2); + //! An exception is raised if the fields have not been initialized.
+ //! Be careful: this method uses the Face F2 only for classify, not for the fields.
+ Standard_EXPORT void Perform(const TopoDS_Face& F1, const TopoDS_Face& F2); + + //! True if the distances are found.
+ Standard_Boolean IsDone() const { return myExtSS.IsDone(); } + + //! Returns True if the surfaces are parallel.
+ Standard_Boolean IsParallel() const { return myExtSS.IsParallel(); } + + //! Returns the number of extremum distances.
+ Standard_Integer NbExt() const { return mySqDist.Length(); } + + //! Returns the value of the th extremum square distance.
+ Standard_Real SquareDistance(const Standard_Integer N) const { return mySqDist.Value(N); } + + //! Returns the parameters on the Face F1 of the th extremum distance.
+ void ParameterOnFace1(const Standard_Integer N, Standard_Real& U, Standard_Real& V) const + { + myPointsOnS1.Value(N).Parameter(U, V); + } + + //! Returns the parameters on the Face F2 of the th extremum distance.
+ void ParameterOnFace2(const Standard_Integer N, Standard_Real& U, Standard_Real& V) const + { + myPointsOnS2.Value(N).Parameter(U, V); + } + + //! Returns the Point of the th extremum distance.
+ gp_Pnt PointOnFace1(const Standard_Integer N) const { return myPointsOnS1.Value(N).Value(); } + + //! Returns the Point of the th extremum distance.
+ gp_Pnt PointOnFace2(const Standard_Integer N) const { return myPointsOnS2.Value(N).Value(); } + +private: + Extrema_ExtSS myExtSS; + TColStd_SequenceOfReal mySqDist; + Extrema_SequenceOfPOnSurf myPointsOnS1; + Extrema_SequenceOfPOnSurf myPointsOnS2; + Handle(BRepAdaptor_Surface) myHS; +}; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepExtrema_SupportType.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepExtrema_SupportType.hxx new file mode 100644 index 0000000000000000000000000000000000000000..cdbbc70820e27e180992c6608b934c8715923c2d --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepExtrema_SupportType.hxx @@ -0,0 +1,24 @@ +// 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_SupportType_HeaderFile +#define _BRepExtrema_SupportType_HeaderFile + +enum BRepExtrema_SupportType +{ + BRepExtrema_IsVertex, + BRepExtrema_IsOnEdge, + BRepExtrema_IsInFace +}; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepFeat_MakeRevol.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepFeat_MakeRevol.lxx new file mode 100644 index 0000000000000000000000000000000000000000..0d766b79735089c98aa4318cff710901cd269460 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepFeat_MakeRevol.lxx @@ -0,0 +1,41 @@ +// Created on: 1996-02-13 +// Created by: Jacques GOUSSARD +// Copyright (c) 1996-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. + +//======================================================================= +// function : BRepFeat_MakeRevol +// purpose : +//======================================================================= + +inline BRepFeat_MakeRevol::BRepFeat_MakeRevol() + : myStatusError(BRepFeat_OK) +{ +} + +//======================================================================= +// function : BRepFeat_MakeRevol +// purpose : +//======================================================================= + +inline BRepFeat_MakeRevol::BRepFeat_MakeRevol(const TopoDS_Shape& Sbase, + const TopoDS_Shape& Pbase, + const TopoDS_Face& Skface, + const gp_Ax1& Axis, + const Standard_Integer Fuse, + const Standard_Boolean Modify) + +{ + Init(Sbase, Pbase, Skface, Axis, Fuse, Modify); +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepFill_TrimSurfaceTool.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepFill_TrimSurfaceTool.hxx new file mode 100644 index 0000000000000000000000000000000000000000..7d5a4a555c924fdc3007007904f9ffb73919e532 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepFill_TrimSurfaceTool.hxx @@ -0,0 +1,83 @@ +// Created on: 1994-10-21 +// Created by: Bruno DUMORTIER +// 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. + +#ifndef _BRepFill_TrimSurfaceTool_HeaderFile +#define _BRepFill_TrimSurfaceTool_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class Geom2d_Curve; +class gp_Pnt2d; +class Geom_Curve; + +//! Compute the Pcurves and the 3d curves resulting +//! of the trimming of a face by an extruded surface. +class BRepFill_TrimSurfaceTool +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT BRepFill_TrimSurfaceTool(const Handle(Geom2d_Curve)& Bis, + const TopoDS_Face& Face1, + const TopoDS_Face& Face2, + const TopoDS_Edge& Edge1, + const TopoDS_Edge& Edge2, + const Standard_Boolean Inv1, + const Standard_Boolean Inv2); + + //! Intersect with the projection of the edges + //! and returns the intersecting parameters + //! on Bis and on the edges + //! P.X() : Parameter on Bis + //! P.Y() : Parameter on EdgeOnF1 + //! P.Z() : Parameter on EdgeOnF2 + //! raises if is not a edge of Face1 or Face2. + Standard_EXPORT void IntersectWith(const TopoDS_Edge& EdgeOnF1, + const TopoDS_Edge& EdgeOnF2, + TColgp_SequenceOfPnt& Points) const; + + //! returns True if the Line (P, DZ) intersect the Faces + Standard_EXPORT Standard_Boolean IsOnFace(const gp_Pnt2d& Point) const; + + //! returns the parameter of the point on the + //! Edge , assuming that the point is on the edge. + Standard_EXPORT Standard_Real ProjOn(const gp_Pnt2d& Point, const TopoDS_Edge& Edge) const; + + Standard_EXPORT void Project(const Standard_Real U1, + const Standard_Real U2, + Handle(Geom_Curve)& Curve, + Handle(Geom2d_Curve)& PCurve1, + Handle(Geom2d_Curve)& PCurve2, + GeomAbs_Shape& myCont) const; + +protected: +private: + TopoDS_Face myFace1; + TopoDS_Face myFace2; + TopoDS_Edge myEdge1; + TopoDS_Edge myEdge2; + Standard_Boolean myInv1; + Standard_Boolean myInv2; + Handle(Geom2d_Curve) myBis; +}; + +#endif // _BRepFill_TrimSurfaceTool_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepGProp_Face.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepGProp_Face.lxx new file mode 100644 index 0000000000000000000000000000000000000000..fc14d4733863c274ee9d0a470a1f8bc00064570d --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepGProp_Face.lxx @@ -0,0 +1,103 @@ +// Created on: 2005-12-20 +// Created by: Sergey KHROMOV +// Copyright (c) 2005-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. + +#include + +//======================================================================= +// function : BRepGProp_Face +// purpose : Constructor. Initializes the object with IsUseSpan. +//======================================================================= + +inline BRepGProp_Face::BRepGProp_Face(const Standard_Boolean IsUseSpan) + : mySReverse(Standard_False), + myIsUseSpan(IsUseSpan) +{ +} + +//======================================================================= +// function : BRepGProp_Face +// purpose : Constructor.Initializes the object with the face and +// IsUseSpan flan. +//======================================================================= + +inline BRepGProp_Face::BRepGProp_Face(const TopoDS_Face& F, const Standard_Boolean IsUseSpan) + : myIsUseSpan(IsUseSpan) +{ + Load(F); +} + +//======================================================================= +// function : NaturalRestriction +// purpose : Returns Standard_True if the face is not trimmed. +//======================================================================= + +inline Standard_Boolean BRepGProp_Face::NaturalRestriction() const +{ + return BRep_Tool::NaturalRestriction(mySurface.Face()); +} + +// +//======================================================================= +// function : GetFace +// purpose : Returns TopoDS Face. +//======================================================================= + +inline const TopoDS_Face& BRepGProp_Face::GetFace() const +{ + return mySurface.Face(); +} + +//======================================================================= +// function : Value2d +// purpose : Returns the value of the boundary curve of the face. +//======================================================================= + +inline gp_Pnt2d BRepGProp_Face::Value2d(const Standard_Real U) const +{ + return myCurve.Value(U); +} + +//======================================================================= +// function : D12d +// purpose : Returns the point of parameter U and the first derivative +// at this point of a boundary curve. +//======================================================================= + +inline void BRepGProp_Face::D12d(const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1) const +{ + myCurve.D1(U, P, V1); +} + +//======================================================================= +// function : FirstParameter +// purpose : Returns the parametric value of the start point of +// the current arc of curve. +//======================================================================= + +inline Standard_Real BRepGProp_Face::FirstParameter() const +{ + return myCurve.FirstParameter(); +} + +//======================================================================= +// function : LastParameter +// purpose : Returns the parametric value of the end point of +// the current arc of curve. +//======================================================================= + +inline Standard_Real BRepGProp_Face::LastParameter() const +{ + return myCurve.LastParameter(); +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepLProp.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepLProp.hxx new file mode 100644 index 0000000000000000000000000000000000000000..648a33254fefd6767e53904647d126cb7d3c57f3 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepLProp.hxx @@ -0,0 +1,54 @@ +// Created on: 1994-02-24 +// Created by: Laurent BOURESCHE +// 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. + +#ifndef _BRepLProp_HeaderFile +#define _BRepLProp_HeaderFile + +#include +#include +#include + +#include +#include +class BRepAdaptor_Curve; + +//! These global functions compute the degree of +//! continuity of a curve built by concatenation of two +//! edges at their junction point. +class BRepLProp +{ +public: + DEFINE_STANDARD_ALLOC + + //! Computes the regularity at the junction between C1 and + //! C2. The point u1 on C1 and the point u2 on C2 must be + //! confused. tl and ta are the linear and angular + //! tolerance used two compare the derivative. + Standard_EXPORT static GeomAbs_Shape Continuity(const BRepAdaptor_Curve& C1, + const BRepAdaptor_Curve& C2, + const Standard_Real u1, + const Standard_Real u2, + const Standard_Real tl, + const Standard_Real ta); + + //! The same as preceding but using the standard tolerances from package Precision. + Standard_EXPORT static GeomAbs_Shape Continuity(const BRepAdaptor_Curve& C1, + const BRepAdaptor_Curve& C2, + const Standard_Real u1, + const Standard_Real u2); +}; + +#endif // _BRepLProp_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepLib_MakeEdge.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepLib_MakeEdge.hxx new file mode 100644 index 0000000000000000000000000000000000000000..321cec1fae9ed6cd19c09b6be53844e8070ad7c3 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepLib_MakeEdge.hxx @@ -0,0 +1,267 @@ +// Created on: 1993-07-06 +// Created by: Remi LEQUETTE +// 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 _BRepLib_MakeEdge_HeaderFile +#define _BRepLib_MakeEdge_HeaderFile + +#include +#include +#include + +#include +#include +#include +class gp_Pnt; +class gp_Lin; +class gp_Circ; +class gp_Elips; +class gp_Hypr; +class gp_Parab; +class Geom_Curve; +class Geom2d_Curve; +class Geom_Surface; +class TopoDS_Edge; + +//! Provides methods to build edges. +//! +//! The methods have the following syntax, where +//! TheCurve is one of Lin, Circ, ... +//! +//! Create(C : TheCurve) +//! +//! Makes an edge on the whole curve. Add vertices +//! on finite curves. +//! +//! Create(C : TheCurve; p1,p2 : Real) +//! +//! Make an edge on the curve between parameters p1 +//! and p2. if p2 < p1 the edge will be REVERSED. If +//! p1 or p2 is infinite the curve will be open in +//! that direction. Vertices are created for finite +//! values of p1 and p2. +//! +//! Create(C : TheCurve; P1, P2 : Pnt from gp) +//! +//! Make an edge on the curve between the points P1 +//! and P2. The points are projected on the curve +//! and the previous method is used. An error is +//! raised if the points are not on the curve. +//! +//! Create(C : TheCurve; V1, V2 : Vertex from TopoDS) +//! +//! Make an edge on the curve between the vertices +//! V1 and V2. Same as the previous but no vertices +//! are created. If a vertex is Null the curve will +//! be open in this direction. +class BRepLib_MakeEdge : public BRepLib_MakeShape +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT BRepLib_MakeEdge(); + + Standard_EXPORT BRepLib_MakeEdge(const TopoDS_Vertex& V1, const TopoDS_Vertex& V2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Pnt& P1, const gp_Pnt& P2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Lin& L); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Lin& L, const Standard_Real p1, const Standard_Real p2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Lin& L, const gp_Pnt& P1, const gp_Pnt& P2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Lin& L, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Circ& L); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Circ& L, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Circ& L, const gp_Pnt& P1, const gp_Pnt& P2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Circ& L, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Elips& L); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Elips& L, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Elips& L, const gp_Pnt& P1, const gp_Pnt& P2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Elips& L, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Hypr& L); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Hypr& L, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Hypr& L, const gp_Pnt& P1, const gp_Pnt& P2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Hypr& L, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Parab& L); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Parab& L, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Parab& L, const gp_Pnt& P1, const gp_Pnt& P2); + + Standard_EXPORT BRepLib_MakeEdge(const gp_Parab& L, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L, const gp_Pnt& P1, const gp_Pnt& P2); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L, + const gp_Pnt& P1, + const gp_Pnt& P2, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom_Curve)& L, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L, const Handle(Geom_Surface)& S); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L, + const Handle(Geom_Surface)& S, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L, + const Handle(Geom_Surface)& S, + const gp_Pnt& P1, + const gp_Pnt& P2); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L, + const Handle(Geom_Surface)& S, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L, + const Handle(Geom_Surface)& S, + const gp_Pnt& P1, + const gp_Pnt& P2, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT BRepLib_MakeEdge(const Handle(Geom2d_Curve)& L, + const Handle(Geom_Surface)& S, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT void Init(const Handle(Geom_Curve)& C); + + Standard_EXPORT void Init(const Handle(Geom_Curve)& C, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT void Init(const Handle(Geom_Curve)& C, const gp_Pnt& P1, const gp_Pnt& P2); + + Standard_EXPORT void Init(const Handle(Geom_Curve)& C, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2); + + Standard_EXPORT void Init(const Handle(Geom_Curve)& C, + const gp_Pnt& P1, + const gp_Pnt& P2, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT void Init(const Handle(Geom_Curve)& C, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C, const Handle(Geom_Surface)& S); + + Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C, + const Handle(Geom_Surface)& S, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C, + const Handle(Geom_Surface)& S, + const gp_Pnt& P1, + const gp_Pnt& P2); + + Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C, + const Handle(Geom_Surface)& S, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2); + + Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C, + const Handle(Geom_Surface)& S, + const gp_Pnt& P1, + const gp_Pnt& P2, + const Standard_Real p1, + const Standard_Real p2); + + Standard_EXPORT void Init(const Handle(Geom2d_Curve)& C, + const Handle(Geom_Surface)& S, + const TopoDS_Vertex& V1, + const TopoDS_Vertex& V2, + const Standard_Real p1, + const Standard_Real p2); + + //! Returns the error description when NotDone. + Standard_EXPORT BRepLib_EdgeError Error() const; + + Standard_EXPORT const TopoDS_Edge& Edge(); + Standard_EXPORT operator TopoDS_Edge(); + + //! Returns the first vertex of the edge. May be Null. + Standard_EXPORT const TopoDS_Vertex& Vertex1() const; + + //! Returns the second vertex of the edge. May be Null. + Standard_EXPORT const TopoDS_Vertex& Vertex2() const; + +protected: +private: + BRepLib_EdgeError myError; + TopoDS_Vertex myVertex1; + TopoDS_Vertex myVertex2; +}; + +#endif // _BRepLib_MakeEdge_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepMesh_MeshTool.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepMesh_MeshTool.hxx new file mode 100644 index 0000000000000000000000000000000000000000..54fd5f1248d701397233950faaccaff865e413fb --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepMesh_MeshTool.hxx @@ -0,0 +1,220 @@ +// Created on: 2016-08-22 +// Copyright (c) 2016 OPEN CASCADE SAS +// Created by: Oleg AGASHIN +// +// 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 _BRepMesh_MeshTool_HeaderFile +#define _BRepMesh_MeshTool_HeaderFile + +#include +#include +#include +#include +#include +#include + +#include + +//! Auxiliary tool providing API for manipulation with BRepMesh_DataStructureOfDelaun. +class BRepMesh_MeshTool : public Standard_Transient +{ +public: + //! Helper functor intended to separate points to left and right from the constraint. + class NodeClassifier + { + public: + NodeClassifier(const BRepMesh_Edge& theConstraint, + const Handle(BRepMesh_DataStructureOfDelaun)& theStructure) + : myStructure(theStructure) + { + const BRepMesh_Vertex& aVertex1 = myStructure->GetNode(theConstraint.FirstNode()); + const BRepMesh_Vertex& aVertex2 = myStructure->GetNode(theConstraint.LastNode()); + + myConstraint.SetLocation(aVertex1.Coord()); + myConstraint.SetDirection(gp_Vec2d(aVertex1.Coord(), aVertex2.Coord())); + mySign = myConstraint.Direction().X() > 0; + } + + Standard_Boolean IsAbove(const Standard_Integer theNodeIndex) const + { + const BRepMesh_Vertex& aVertex = myStructure->GetNode(theNodeIndex); + const gp_Vec2d aNodeVec(myConstraint.Location(), aVertex.Coord()); + if (aNodeVec.SquareMagnitude() > gp::Resolution()) + { + const Standard_Real aCross = aNodeVec.Crossed(myConstraint.Direction()); + if (Abs(aCross) > gp::Resolution()) + { + return mySign ? aCross < 0. : aCross > 0.; + } + } + + return Standard_False; + } + + private: + NodeClassifier(const NodeClassifier& theOther); + + void operator=(const NodeClassifier& theOther); + + private: + const Handle(BRepMesh_DataStructureOfDelaun)& myStructure; + gp_Lin2d myConstraint; + Standard_Boolean mySign; + }; + + //! Constructor. + //! Initializes tool by the given data structure. + Standard_EXPORT BRepMesh_MeshTool(const Handle(BRepMesh_DataStructureOfDelaun)& theStructure); + + //! Destructor. + Standard_EXPORT virtual ~BRepMesh_MeshTool(); + + //! Returns data structure manipulated by this tool. + const Handle(BRepMesh_DataStructureOfDelaun)& GetStructure() const { return myStructure; } + + //! Dumps triangles to specified file. + void DumpTriangles(const Standard_CString theFileName, IMeshData::MapOfInteger* theTriangles); + + //! Adds new triangle with specified nodes to mesh. + //! Legalizes triangle in case if it violates circle criteria. + void AddAndLegalizeTriangle(const Standard_Integer thePoint1, + const Standard_Integer thePoint2, + const Standard_Integer thePoint3) + { + Standard_Integer aEdges[3]; + AddTriangle(thePoint1, thePoint2, thePoint3, aEdges); + + Legalize(aEdges[0]); + Legalize(aEdges[1]); + Legalize(aEdges[2]); + } + + //! Adds new triangle with specified nodes to mesh. + void AddTriangle(const Standard_Integer thePoint1, + const Standard_Integer thePoint2, + const Standard_Integer thePoint3, + Standard_Integer (&theEdges)[3]) + { + Standard_Boolean aOri[3]; + AddLink(thePoint1, thePoint2, theEdges[0], aOri[0]); + AddLink(thePoint2, thePoint3, theEdges[1], aOri[1]); + AddLink(thePoint3, thePoint1, theEdges[2], aOri[2]); + + myStructure->AddElement(BRepMesh_Triangle(theEdges, aOri, BRepMesh_Free)); + } + + //! Adds new link to mesh. + //! Updates link index and link orientation parameters. + void AddLink(const Standard_Integer theFirstNode, + const Standard_Integer theLastNode, + Standard_Integer& theLinkIndex, + Standard_Boolean& theLinkOri) + { + const Standard_Integer aLinkIt = + myStructure->AddLink(BRepMesh_Edge(theFirstNode, theLastNode, BRepMesh_Free)); + + theLinkIndex = Abs(aLinkIt); + theLinkOri = (aLinkIt > 0); + } + + //! Performs legalization of triangles connected to the specified link. + Standard_EXPORT void Legalize(const Standard_Integer theLinkIndex); + + //! Erases all elements connected to the specified artificial node. + //! In addition, erases the artificial node itself. + Standard_EXPORT void EraseItemsConnectedTo(const Standard_Integer theNodeIndex); + + //! Cleans frontier links from triangles to the right. + Standard_EXPORT void CleanFrontierLinks(); + + //! Erases the given set of triangles. + //! Fills map of loop edges forming the contour surrounding the erased triangles. + void EraseTriangles(const IMeshData::MapOfInteger& theTriangles, + IMeshData::MapOfIntegerInteger& theLoopEdges); + + //! Erases triangle with the given index and adds the free edges into the map. + //! When an edge is suppressed more than one time it is destroyed. + Standard_EXPORT void EraseTriangle(const Standard_Integer theTriangleIndex, + IMeshData::MapOfIntegerInteger& theLoopEdges); + + //! Erases all links that have no elements connected to them. + Standard_EXPORT void EraseFreeLinks(); + + //! Erases links from the specified map that have no elements connected to them. + Standard_EXPORT void EraseFreeLinks(const IMeshData::MapOfIntegerInteger& theLinks); + + //! Gives the list of edges with type defined by input parameter. + Standard_EXPORT Handle(IMeshData::MapOfInteger) GetEdgesByType( + const BRepMesh_DegreeOfFreedom theEdgeType) const; + + DEFINE_STANDARD_RTTIEXT(BRepMesh_MeshTool, Standard_Transient) + +private: + //! Returns True if the given point lies within circumcircle of the given triangle. + Standard_Boolean checkCircle(const Standard_Integer (&aNodes)[3], const Standard_Integer thePoint) + { + const BRepMesh_Vertex& aVertex0 = myStructure->GetNode(aNodes[0]); + const BRepMesh_Vertex& aVertex1 = myStructure->GetNode(aNodes[1]); + const BRepMesh_Vertex& aVertex2 = myStructure->GetNode(aNodes[2]); + + gp_XY aLocation; + Standard_Real aRadius; + const Standard_Boolean isOk = BRepMesh_CircleTool::MakeCircle(aVertex0.Coord(), + aVertex1.Coord(), + aVertex2.Coord(), + aLocation, + aRadius); + + if (isOk) + { + const BRepMesh_Vertex& aVertex = myStructure->GetNode(thePoint); + const Standard_Real aDist = + (aVertex.Coord() - aLocation).SquareModulus() - (aRadius * aRadius); + return (aDist < Precision::SquareConfusion()); + } + + return Standard_False; + } + + //! Adds new triangle with the given nodes and updates + //! links stack by ones are not in used map. + void addTriangleAndUpdateStack(const Standard_Integer theNode0, + const Standard_Integer theNode1, + const Standard_Integer theNode2, + const IMeshData::MapOfInteger& theUsedLinks, + std::stack& theStack) + { + Standard_Integer aEdges[3]; + AddTriangle(theNode0, theNode1, theNode2, aEdges); + + for (Standard_Integer i = 0; i < 3; ++i) + { + if (!theUsedLinks.Contains(aEdges[i])) + { + theStack.push(aEdges[i]); + } + } + } + + //! Iteratively erases triangles and their neighbours consisting + //! of free links using the given link as starting front. + //! Only triangles around the constraint's saddle nodes will be removed. + void collectTrianglesOnFreeLinksAroundNodesOf(const BRepMesh_Edge& theConstraint, + const Standard_Integer theStartLink, + IMeshData::MapOfInteger& theTriangles); + +private: + Handle(BRepMesh_DataStructureOfDelaun) myStructure; +}; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepOffsetAPI_SequenceOfSequenceOfShape.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepOffsetAPI_SequenceOfSequenceOfShape.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9ca0f096010bf63eb185c58c5444233a50a039f1 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepOffsetAPI_SequenceOfSequenceOfShape.hxx @@ -0,0 +1,25 @@ +// Created on: 1999-10-11 +// Created by: Atelier CAS2000 +// Copyright (c) 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 BRepOffsetAPI_SequenceOfSequenceOfShape_HeaderFile +#define BRepOffsetAPI_SequenceOfSequenceOfShape_HeaderFile + +#include +#include + +typedef NCollection_Sequence BRepOffsetAPI_SequenceOfSequenceOfShape; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepTools_Modifier.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepTools_Modifier.hxx new file mode 100644 index 0000000000000000000000000000000000000000..6f0345dea28f5c602400882655b4ba27c519a8e2 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRepTools_Modifier.hxx @@ -0,0 +1,129 @@ +// Created on: 1994-08-25 +// Created by: Jacques GOUSSARD +// 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. + +#ifndef _BRepTools_Modifier_HeaderFile +#define _BRepTools_Modifier_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +class BRepTools_Modification; +class Geom_Curve; +class Geom_Surface; + +//! Performs geometric modifications on a shape. +class BRepTools_Modifier +{ +public: + DEFINE_STANDARD_ALLOC + + //! Creates an empty Modifier. + Standard_EXPORT BRepTools_Modifier(Standard_Boolean theMutableInput = Standard_False); + + //! Creates a modifier on the shape . + Standard_EXPORT BRepTools_Modifier(const TopoDS_Shape& S); + + //! Creates a modifier on the shape , and performs + //! the modifications described by . + Standard_EXPORT BRepTools_Modifier(const TopoDS_Shape& S, + const Handle(BRepTools_Modification)& M); + + //! Initializes the modifier with the shape . + Standard_EXPORT void Init(const TopoDS_Shape& S); + + //! Performs the modifications described by . + Standard_EXPORT void Perform(const Handle(BRepTools_Modification)& M, + const Message_ProgressRange& theProgress = Message_ProgressRange()); + + //! Returns Standard_True if the modification has + //! been computed successfully. + Standard_Boolean IsDone() const; + + //! Returns the current mutable input state + Standard_EXPORT Standard_Boolean IsMutableInput() const; + + //! Sets the mutable input state + //! If true then the input (original) shape can be modified + //! during modification process + Standard_EXPORT void SetMutableInput(Standard_Boolean theMutableInput); + + //! Returns the modified shape corresponding to . + const TopoDS_Shape& ModifiedShape(const TopoDS_Shape& S) const; + +protected: +private: + struct NewCurveInfo + { + Handle(Geom_Curve) myCurve; + TopLoc_Location myLoc; + Standard_Real myToler; + }; + + struct NewSurfaceInfo + { + Handle(Geom_Surface) mySurface; + TopLoc_Location myLoc; + Standard_Real myToler; + Standard_Boolean myRevWires; + Standard_Boolean myRevFace; + }; + + Standard_EXPORT void Put(const TopoDS_Shape& S); + + Standard_EXPORT Standard_Boolean + Rebuild(const TopoDS_Shape& S, + const Handle(BRepTools_Modification)& M, + Standard_Boolean& theNewGeom, + const Message_ProgressRange& theProgress = Message_ProgressRange()); + + Standard_EXPORT void CreateNewVertices(const TopTools_IndexedDataMapOfShapeListOfShape& theMVE, + const Handle(BRepTools_Modification)& M); + + Standard_EXPORT void FillNewCurveInfo(const TopTools_IndexedDataMapOfShapeListOfShape& theMEF, + const Handle(BRepTools_Modification)& M); + + Standard_EXPORT void FillNewSurfaceInfo(const Handle(BRepTools_Modification)& M); + + Standard_EXPORT void CreateOtherVertices(const TopTools_IndexedDataMapOfShapeListOfShape& theMVE, + const TopTools_IndexedDataMapOfShapeListOfShape& theMEF, + const Handle(BRepTools_Modification)& M); + + TopTools_DataMapOfShapeShape myMap; + TopoDS_Shape myShape; + Standard_Boolean myDone; + NCollection_DataMap myNCInfo; + NCollection_DataMap myNSInfo; + TopTools_MapOfShape myNonUpdFace; + TopTools_MapOfShape myHasNewGeom; + Standard_Boolean myMutableInput; +}; + +#include + +#endif // _BRepTools_Modifier_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRep_PointsOnSurface.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRep_PointsOnSurface.hxx new file mode 100644 index 0000000000000000000000000000000000000000..86a98caae5e84b2b3bee73e1b7c4ad90ec8cb27a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BRep_PointsOnSurface.hxx @@ -0,0 +1,54 @@ +// Created on: 1993-08-10 +// Created by: Remi LEQUETTE +// 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 _BRep_PointsOnSurface_HeaderFile +#define _BRep_PointsOnSurface_HeaderFile + +#include + +#include +#include +class Geom_Surface; +class TopLoc_Location; + +class BRep_PointsOnSurface; +DEFINE_STANDARD_HANDLE(BRep_PointsOnSurface, BRep_PointRepresentation) + +//! Root for points on surface. +class BRep_PointsOnSurface : public BRep_PointRepresentation +{ + +public: + Standard_EXPORT virtual const Handle(Geom_Surface)& Surface() const Standard_OVERRIDE; + + Standard_EXPORT virtual void Surface(const Handle(Geom_Surface)& S) Standard_OVERRIDE; + + //! Dumps the content of me into the stream + Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, + Standard_Integer theDepth = -1) const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(BRep_PointsOnSurface, BRep_PointRepresentation) + +protected: + Standard_EXPORT BRep_PointsOnSurface(const Standard_Real P, + const Handle(Geom_Surface)& S, + const TopLoc_Location& L); + +private: + Handle(Geom_Surface) mySurface; +}; + +#endif // _BRep_PointsOnSurface_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BVH_QuadTree.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BVH_QuadTree.hxx new file mode 100644 index 0000000000000000000000000000000000000000..1cd8cceead98115d587f9a634ce7745dd42bbc52 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BVH_QuadTree.hxx @@ -0,0 +1,41 @@ +// Created on: 2016-06-20 +// Created by: Denis BOGOLEPOV +// Copyright (c) 2016 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 _BVH_QuadTree_Header +#define _BVH_QuadTree_Header + +#include + +//! Specialization of quad BVH (QBVH) tree. +template +class BVH_Tree : public BVH_TreeBase +{ +public: //! @name general methods + //! Creates new empty BVH tree. + BVH_Tree() + : BVH_TreeBase() + { + } + + //! Returns index of the K-th child of the given inner node. + //! \tparam K the index of node child (from 0 to 3) + template + int Child(const int theNodeIndex) const + { + return BVH::Array::Value(this->myNodeInfoBuffer, theNodeIndex).y() + K; + } +}; + +#endif // _BVH_QuadTree_Header diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BVH_RadixSorter.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BVH_RadixSorter.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d6a4d773e07dd981b78b6cee4649cbb6286cd921 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BVH_RadixSorter.hxx @@ -0,0 +1,255 @@ +// Created on: 2016-04-13 +// Created by: Denis BOGOLEPOV +// Copyright (c) 2013-2016 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 _BVH_RadixSorter_Header +#define _BVH_RadixSorter_Header + +#include +#include +#include +#include +#include + +#include + +//! Pair of Morton code and primitive ID. +typedef std::pair BVH_EncodedLink; + +//! Performs radix sort of a BVH primitive set using +//! 10-bit Morton codes (or 1024 x 1024 x 1024 grid). +template +class BVH_RadixSorter : public BVH_Sorter +{ +public: + typedef typename BVH::VectorType::Type BVH_VecNt; + +public: + //! Creates new BVH radix sorter for the given AABB. + BVH_RadixSorter(const BVH_Box& theBox) + : myBox(theBox) + { + } + + //! Sorts the set. + virtual void Perform(BVH_Set* theSet) Standard_OVERRIDE + { + Perform(theSet, 0, theSet->Size() - 1); + } + + //! Sorts the given (inclusive) range in the set. + virtual void Perform(BVH_Set* theSet, + const Standard_Integer theStart, + const Standard_Integer theFinal) Standard_OVERRIDE; + + //! Returns Morton codes assigned to BVH primitives. + const NCollection_Array1& EncodedLinks() const { return *myEncodedLinks; } + +protected: + //! Axis-aligned bounding box (AABB) to perform sorting. + BVH_Box myBox; + + //! Morton codes assigned to BVH primitives. + Handle(NCollection_Shared>) myEncodedLinks; +}; + +namespace BVH +{ +// Radix sort STL predicate for 32-bit integer. +struct BitPredicate +{ + unsigned int myBit; + + //! Creates new radix sort predicate. + BitPredicate(const Standard_Integer theDigit) + : myBit(1U << theDigit) + { + } + + //! Returns predicate value. + bool operator()(const BVH_EncodedLink theLink) const + { + return !(theLink.first & myBit); // 0-bit to the left side + } +}; + +//! STL compare tool used in binary search algorithm. +struct BitComparator +{ + unsigned int myBit; + + //! Creates new STL comparator. + BitComparator(const Standard_Integer theDigit) + : myBit(1U << theDigit) + { + } + + //! Checks left value for the given bit. + bool operator()(BVH_EncodedLink theLink1, BVH_EncodedLink /*theLink2*/) + { + return !(theLink1.first & myBit); + } +}; + +//! Tool object for sorting link array using radix sort algorithm. +class RadixSorter +{ +public: + typedef NCollection_Array1::iterator LinkIterator; + +private: + //! Structure defining sorting range. + struct SortRange + { + LinkIterator myStart; //!< Start element of exclusive sorting range + LinkIterator myFinal; //!< Final element of exclusive sorting range + Standard_Integer myDigit; //!< Bit number used for partition operation + }; + + //! Functor class to run sorting in parallel. + class Functor + { + public: + Functor(const SortRange (&aSplits)[2], const Standard_Boolean isParallel) + : mySplits(aSplits), + myIsParallel(isParallel) + { + } + + //! Runs sorting function for the given range. + void operator()(const Standard_Integer theIndex) const + { + RadixSorter::Sort(mySplits[theIndex].myStart, + mySplits[theIndex].myFinal, + mySplits[theIndex].myDigit, + myIsParallel); + } + + private: + void operator=(const Functor&); + + private: + const SortRange (&mySplits)[2]; + Standard_Boolean myIsParallel; + }; + +public: + static void Sort(LinkIterator theStart, + LinkIterator theFinal, + Standard_Integer theDigit, + const Standard_Boolean isParallel) + { + if (theDigit < 24) + { + BVH::RadixSorter::perform(theStart, theFinal, theDigit); + } + else + { + LinkIterator anOffset = std::partition(theStart, theFinal, BitPredicate(theDigit)); + SortRange aSplits[2] = {{theStart, anOffset, theDigit - 1}, + {anOffset, theFinal, theDigit - 1}}; + + OSD_Parallel::For(0, 2, Functor(aSplits, isParallel), !isParallel); + } + } + +protected: + // Performs MSD (most significant digit) radix sort. + static void perform(LinkIterator theStart, LinkIterator theFinal, Standard_Integer theDigit = 29) + { + while (theStart != theFinal && theDigit >= 0) + { + LinkIterator anOffset = std::partition(theStart, theFinal, BitPredicate(theDigit--)); + perform(theStart, anOffset, theDigit); + theStart = anOffset; + } + } +}; +} // namespace BVH + +// ======================================================================= +// function : Perform +// purpose : +// ======================================================================= +template +void BVH_RadixSorter::Perform(BVH_Set* theSet, + const Standard_Integer theStart, + const Standard_Integer theFinal) +{ + Standard_STATIC_ASSERT(N == 2 || N == 3 || N == 4); + + const Standard_Integer aDimension = 1024; + const Standard_Integer aNbEffComp = N == 2 ? 2 : 3; // 4th component is ignored + + const BVH_VecNt aSceneMin = myBox.CornerMin(); + const BVH_VecNt aSceneMax = myBox.CornerMax(); + + BVH_VecNt aNodeMinSizeVecT(static_cast(BVH::THE_NODE_MIN_SIZE)); + BVH::BoxMinMax::CwiseMax(aNodeMinSizeVecT, aSceneMax - aSceneMin); + + const BVH_VecNt aReverseSize = BVH_VecNt(static_cast(aDimension)) / aNodeMinSizeVecT; + + myEncodedLinks = new NCollection_Shared>(theStart, theFinal); + + // Step 1 -- Assign Morton code to each primitive + for (Standard_Integer aPrimIdx = theStart; aPrimIdx <= theFinal; ++aPrimIdx) + { + const BVH_VecNt aCenter = theSet->Box(aPrimIdx).Center(); + const BVH_VecNt aVoxelF = (aCenter - aSceneMin) * aReverseSize; + + unsigned int aMortonCode = 0; + for (Standard_Integer aCompIter = 0; aCompIter < aNbEffComp; ++aCompIter) + { + const Standard_Integer aVoxelI = BVH::IntFloor(BVH::VecComp::Get(aVoxelF, aCompIter)); + + unsigned int aVoxel = static_cast(Max(0, Min(aVoxelI, aDimension - 1))); + + aVoxel = (aVoxel | (aVoxel << 16)) & 0x030000FF; + aVoxel = (aVoxel | (aVoxel << 8)) & 0x0300F00F; + aVoxel = (aVoxel | (aVoxel << 4)) & 0x030C30C3; + aVoxel = (aVoxel | (aVoxel << 2)) & 0x09249249; + + aMortonCode |= (aVoxel << aCompIter); + } + + myEncodedLinks->ChangeValue(aPrimIdx) = BVH_EncodedLink(aMortonCode, aPrimIdx); + } + + // Step 2 -- Sort primitives by their Morton codes using radix sort + BVH::RadixSorter::Sort(myEncodedLinks->begin(), myEncodedLinks->end(), 29, this->IsParallel()); + + NCollection_Array1 aLinkMap(theStart, theFinal); + for (Standard_Integer aLinkIdx = theStart; aLinkIdx <= theFinal; ++aLinkIdx) + { + aLinkMap(myEncodedLinks->Value(aLinkIdx).second) = aLinkIdx; + } + + // Step 3 -- Rearranging primitive list according to Morton codes (in place) + Standard_Integer aPrimIdx = theStart; + while (aPrimIdx <= theFinal) + { + const Standard_Integer aSortIdx = aLinkMap(aPrimIdx); + if (aPrimIdx != aSortIdx) + { + theSet->Swap(aPrimIdx, aSortIdx); + std::swap(aLinkMap(aPrimIdx), aLinkMap(aSortIdx)); + } + else + { + ++aPrimIdx; + } + } +} + +#endif // _BVH_RadixSorter_Header diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BiTgte_CurveOnVertex.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BiTgte_CurveOnVertex.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ef0aaabee0d3c712e2a2b61f6b86883e817b89f1 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BiTgte_CurveOnVertex.hxx @@ -0,0 +1,163 @@ +// Created on: 1997-03-21 +// Created by: Bruno DUMORTIER +// Copyright (c) 1997-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 _BiTgte_CurveOnVertex_HeaderFile +#define _BiTgte_CurveOnVertex_HeaderFile + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class TopoDS_Edge; +class TopoDS_Vertex; +class gp_Vec; +class gp_Lin; +class gp_Circ; +class gp_Elips; +class gp_Hypr; +class gp_Parab; +class Geom_BezierCurve; +class Geom_BSplineCurve; + +DEFINE_STANDARD_HANDLE(BiTgte_CurveOnVertex, Adaptor3d_Curve) + +//! private class used to create a filler rolling on +//! an edge. +class BiTgte_CurveOnVertex : public Adaptor3d_Curve +{ + DEFINE_STANDARD_RTTIEXT(BiTgte_CurveOnVertex, Adaptor3d_Curve) +public: + Standard_EXPORT BiTgte_CurveOnVertex(); + + Standard_EXPORT BiTgte_CurveOnVertex(const TopoDS_Edge& EonF, const TopoDS_Vertex& V); + + Standard_EXPORT void Init(const TopoDS_Edge& EonF, const TopoDS_Vertex& V); + + Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE; + + Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE; + + //! Returns the number of intervals for continuity + //! . May be one if Continuity(me) >= + Standard_EXPORT Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; + + //! Stores in the parameters bounding the intervals + //! of continuity . + //! + //! The array must provide enough room to accommodate + //! for the parameters. i.e. T.Length() > NbIntervals() + Standard_EXPORT void Intervals(TColStd_Array1OfReal& T, + const GeomAbs_Shape S) const Standard_OVERRIDE; + + //! Returns a curve equivalent of between + //! parameters and . is used to + //! test for 3d points confusion. + //! If >= + Standard_EXPORT Handle(Adaptor3d_Curve) Trim(const Standard_Real First, + const Standard_Real Last, + const Standard_Real Tol) const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean IsClosed() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean IsPeriodic() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Real Period() const Standard_OVERRIDE; + + //! Computes the point of parameter U on the curve. + Standard_EXPORT gp_Pnt Value(const Standard_Real U) const Standard_OVERRIDE; + + //! Computes the point of parameter U on the curve. + Standard_EXPORT void D0(const Standard_Real U, gp_Pnt& P) const Standard_OVERRIDE; + + //! Computes the point of parameter U on the curve with its + //! first derivative. + //! Raised if the continuity of the current interval + //! is not C1. + Standard_EXPORT void D1(const Standard_Real U, gp_Pnt& P, gp_Vec& V) const Standard_OVERRIDE; + + //! Returns the point P of parameter U, the first and second + //! derivatives V1 and V2. + //! Raised if the continuity of the current interval + //! is not C2. + Standard_EXPORT void D2(const Standard_Real U, + gp_Pnt& P, + gp_Vec& V1, + gp_Vec& V2) const Standard_OVERRIDE; + + //! Returns the point P of parameter U, the first, the second + //! and the third derivative. + //! Raised if the continuity of the current interval + //! is not C3. + Standard_EXPORT void D3(const Standard_Real U, + gp_Pnt& P, + gp_Vec& V1, + gp_Vec& V2, + gp_Vec& V3) const Standard_OVERRIDE; + + //! The returned vector gives the value of the derivative for the + //! order of derivation N. + //! Raised if the continuity of the current interval + //! is not CN. + //! Raised if N < 1. + Standard_EXPORT gp_Vec DN(const Standard_Real U, + const Standard_Integer N) const Standard_OVERRIDE; + + //! Returns the parametric resolution corresponding + //! to the real space resolution . + Standard_EXPORT Standard_Real Resolution(const Standard_Real R3d) const Standard_OVERRIDE; + + //! Returns the type of the curve in the current + //! interval : Line, Circle, Ellipse, Hyperbola, + //! Parabola, BezierCurve, BSplineCurve, OtherCurve. + Standard_EXPORT GeomAbs_CurveType GetType() const Standard_OVERRIDE; + + Standard_EXPORT gp_Lin Line() const Standard_OVERRIDE; + + Standard_EXPORT gp_Circ Circle() const Standard_OVERRIDE; + + Standard_EXPORT gp_Elips Ellipse() const Standard_OVERRIDE; + + Standard_EXPORT gp_Hypr Hyperbola() const Standard_OVERRIDE; + + Standard_EXPORT gp_Parab Parabola() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Integer Degree() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean IsRational() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Integer NbPoles() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Integer NbKnots() const Standard_OVERRIDE; + + Standard_EXPORT Handle(Geom_BezierCurve) Bezier() const Standard_OVERRIDE; + + Standard_EXPORT Handle(Geom_BSplineCurve) BSpline() const Standard_OVERRIDE; + +private: + Standard_Real myFirst; + Standard_Real myLast; + gp_Pnt myPnt; +}; + +#endif // _BiTgte_CurveOnVertex_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinLDrivers_DocumentRetrievalDriver.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinLDrivers_DocumentRetrievalDriver.hxx new file mode 100644 index 0000000000000000000000000000000000000000..57d0897cf08dc80f8bec233a7018139e65dd8f09 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinLDrivers_DocumentRetrievalDriver.hxx @@ -0,0 +1,129 @@ +// Created on: 2002-10-31 +// Created by: Michael SAZONOV +// Copyright (c) 2002-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 _BinLDrivers_DocumentRetrievalDriver_HeaderFile +#define _BinLDrivers_DocumentRetrievalDriver_HeaderFile + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class BinMDF_ADriverTable; +class Message_Messenger; +class TCollection_ExtendedString; +class CDM_Document; +class CDM_Application; +class TDF_Label; +class BinLDrivers_DocumentSection; + +class BinLDrivers_DocumentRetrievalDriver; +DEFINE_STANDARD_HANDLE(BinLDrivers_DocumentRetrievalDriver, PCDM_RetrievalDriver) + +class BinLDrivers_DocumentRetrievalDriver : public PCDM_RetrievalDriver +{ + +public: + //! Constructor + Standard_EXPORT BinLDrivers_DocumentRetrievalDriver(); + + //! retrieves the content of the file into a new Document. + Standard_EXPORT virtual void Read( + const TCollection_ExtendedString& theFileName, + const Handle(CDM_Document)& theNewDocument, + const Handle(CDM_Application)& theApplication, + const Handle(PCDM_ReaderFilter)& theFilter = Handle(PCDM_ReaderFilter)(), + const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; + + Standard_EXPORT virtual void Read( + Standard_IStream& theIStream, + const Handle(Storage_Data)& theStorageData, + const Handle(CDM_Document)& theDoc, + const Handle(CDM_Application)& theApplication, + const Handle(PCDM_ReaderFilter)& theFilter = Handle(PCDM_ReaderFilter)(), + const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; + + Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers( + const Handle(Message_Messenger)& theMsgDriver); + + DEFINE_STANDARD_RTTIEXT(BinLDrivers_DocumentRetrievalDriver, PCDM_RetrievalDriver) + +protected: + //! Read the tree from the stream to + Standard_EXPORT virtual Standard_Integer ReadSubTree( + Standard_IStream& theIS, + const TDF_Label& theData, + const Handle(PCDM_ReaderFilter)& theFilter, + const Standard_Boolean& theQuickPart, + const Standard_Boolean theReadMissing, + const Message_ProgressRange& theRanges = Message_ProgressRange()); + + //! define the procedure of reading a section to file. + Standard_EXPORT virtual void ReadSection(BinLDrivers_DocumentSection& theSection, + const Handle(CDM_Document)& theDoc, + Standard_IStream& theIS); + + //! define the procedure of reading a shapes section to file. + Standard_EXPORT virtual void ReadShapeSection( + BinLDrivers_DocumentSection& theSection, + Standard_IStream& theIS, + const Standard_Boolean isMess = Standard_False, + const Message_ProgressRange& theRange = Message_ProgressRange()); + + //! checks the shapes section can be correctly retrieved. + Standard_EXPORT virtual void CheckShapeSection(const Storage_Position& thePos, + Standard_IStream& theIS); + + //! clears the reading-cash data in drivers if any. + Standard_EXPORT virtual void Clear(); + + //! Check a file version(in which file was written) with a current version. + //! Redefining this method is a chance for application to read files + //! written by newer applications. + //! The default implementation: if the version of the file is greater than the + //! current or lesser than 2, then return false, else true + Standard_EXPORT virtual Standard_Boolean CheckDocumentVersion( + const Standard_Integer theFileVersion, + const Standard_Integer theCurVersion); + + //! Return true if retrieved document allows to read parts quickly. + static Standard_Boolean IsQuickPart(const Standard_Integer theFileVer); + + //! Enables reading in the quick part access mode. + Standard_EXPORT virtual void EnableQuickPartReading( + const Handle(Message_Messenger)& /*theMessageDriver*/, + Standard_Boolean /*theValue*/) + { + } + + Handle(BinMDF_ADriverTable) myDrivers; + BinObjMgt_RRelocationTable myRelocTable; + Handle(Message_Messenger) myMsgDriver; + +private: + BinObjMgt_Persistent myPAtt; + TColStd_MapOfInteger myMapUnsupported; + BinLDrivers_VectorOfDocumentSection mySections; + NCollection_Map myUnresolvedLinks; +}; + +#endif // _BinLDrivers_DocumentRetrievalDriver_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDF_StringIdMap.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDF_StringIdMap.hxx new file mode 100644 index 0000000000000000000000000000000000000000..4072452490df4a85935937c197a91330f1e8b6b5 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDF_StringIdMap.hxx @@ -0,0 +1,23 @@ +// Created on: 2002-10-29 +// Created by: Michael SAZONOV +// Copyright (c) 2002-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 _BinMDF_StringIdMap_HeaderFile +#define _BinMDF_StringIdMap_HeaderFile + +#include + +typedef TColStd_DataMapOfAsciiStringInteger BinMDF_StringIdMap; + +#endif // _BinMDF_StringIdMap_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDF_TagSourceDriver.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDF_TagSourceDriver.hxx new file mode 100644 index 0000000000000000000000000000000000000000..1ceedc169dca046c7e3f2a47b886212e9a70478e --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDF_TagSourceDriver.hxx @@ -0,0 +1,55 @@ +// Created on: 2002-11-19 +// Created by: Edward AGAPOV +// Copyright (c) 2002-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 _BinMDF_TagSourceDriver_HeaderFile +#define _BinMDF_TagSourceDriver_HeaderFile + +#include + +#include +#include +#include +class Message_Messenger; +class TDF_Attribute; +class BinObjMgt_Persistent; + +class BinMDF_TagSourceDriver; +DEFINE_STANDARD_HANDLE(BinMDF_TagSourceDriver, BinMDF_ADriver) + +//! TDF_TagSource Driver. +class BinMDF_TagSourceDriver : public BinMDF_ADriver +{ + +public: + Standard_EXPORT BinMDF_TagSourceDriver(const Handle(Message_Messenger)& theMessageDriver); + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean + Paste(const BinObjMgt_Persistent& Source, + const Handle(TDF_Attribute)& Target, + BinObjMgt_RRelocationTable& RelocTable) const Standard_OVERRIDE; + + Standard_EXPORT void Paste(const Handle(TDF_Attribute)& Source, + BinObjMgt_Persistent& Target, + BinObjMgt_SRelocationTable& RelocTable) const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(BinMDF_TagSourceDriver, BinMDF_ADriver) + +protected: +private: +}; + +#endif // _BinMDF_TagSourceDriver_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDataStd_ExpressionDriver.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDataStd_ExpressionDriver.hxx new file mode 100644 index 0000000000000000000000000000000000000000..b8ab9219f51ac85e431f1fa7b6434aed441b6987 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDataStd_ExpressionDriver.hxx @@ -0,0 +1,55 @@ +// Created on: 2001-09-12 +// Created by: Julia DOROVSKIKH +// Copyright (c) 2001-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 _BinMDataStd_ExpressionDriver_HeaderFile +#define _BinMDataStd_ExpressionDriver_HeaderFile + +#include + +#include +#include +#include +class Message_Messenger; +class TDF_Attribute; +class BinObjMgt_Persistent; + +class BinMDataStd_ExpressionDriver; +DEFINE_STANDARD_HANDLE(BinMDataStd_ExpressionDriver, BinMDF_ADriver) + +//! Attribute Driver. +class BinMDataStd_ExpressionDriver : public BinMDF_ADriver +{ + +public: + Standard_EXPORT BinMDataStd_ExpressionDriver(const Handle(Message_Messenger)& theMessageDriver); + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean + Paste(const BinObjMgt_Persistent& Source, + const Handle(TDF_Attribute)& Target, + BinObjMgt_RRelocationTable& RelocTable) const Standard_OVERRIDE; + + Standard_EXPORT void Paste(const Handle(TDF_Attribute)& Source, + BinObjMgt_Persistent& Target, + BinObjMgt_SRelocationTable& RelocTable) const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(BinMDataStd_ExpressionDriver, BinMDF_ADriver) + +protected: +private: +}; + +#endif // _BinMDataStd_ExpressionDriver_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDataStd_UAttributeDriver.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDataStd_UAttributeDriver.hxx new file mode 100644 index 0000000000000000000000000000000000000000..cbaf2b3f17a94ba20de0667671aaeaa1e0c8e704 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinMDataStd_UAttributeDriver.hxx @@ -0,0 +1,55 @@ +// Created on: 2001-08-24 +// Created by: Alexander GRIGORIEV +// Copyright (c) 2001-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 _BinMDataStd_UAttributeDriver_HeaderFile +#define _BinMDataStd_UAttributeDriver_HeaderFile + +#include + +#include +#include +#include +class Message_Messenger; +class TDF_Attribute; +class BinObjMgt_Persistent; + +class BinMDataStd_UAttributeDriver; +DEFINE_STANDARD_HANDLE(BinMDataStd_UAttributeDriver, BinMDF_ADriver) + +//! Attribute Driver. +class BinMDataStd_UAttributeDriver : public BinMDF_ADriver +{ + +public: + Standard_EXPORT BinMDataStd_UAttributeDriver(const Handle(Message_Messenger)& theMessageDriver); + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean + Paste(const BinObjMgt_Persistent& Source, + const Handle(TDF_Attribute)& Target, + BinObjMgt_RRelocationTable& RelocTable) const Standard_OVERRIDE; + + Standard_EXPORT void Paste(const Handle(TDF_Attribute)& Source, + BinObjMgt_Persistent& Target, + BinObjMgt_SRelocationTable& RelocTable) const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(BinMDataStd_UAttributeDriver, BinMDF_ADriver) + +protected: +private: +}; + +#endif // _BinMDataStd_UAttributeDriver_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinObjMgt_PChar.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinObjMgt_PChar.hxx new file mode 100644 index 0000000000000000000000000000000000000000..cb629143ce58775be4036da265b032c42226bdf1 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinObjMgt_PChar.hxx @@ -0,0 +1,23 @@ +// Created on: 2003-03-24 +// Created by: Michael SAZONOV +// Copyright (c) 2003-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 BinObjMgt_PChar_HeaderFile +#define BinObjMgt_PChar_HeaderFile + +#include + +typedef Standard_Character* BinObjMgt_PChar; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinObjMgt_Position.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinObjMgt_Position.hxx new file mode 100644 index 0000000000000000000000000000000000000000..b8dfa091a988eabbf661b78c784c4dd861f791ea --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BinObjMgt_Position.hxx @@ -0,0 +1,45 @@ +// Copyright (c) 2021 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 _BinObjMgt_Position_HeaderFile +#define _BinObjMgt_Position_HeaderFile + +#include + +class BinObjMgt_Position; +DEFINE_STANDARD_HANDLE(BinObjMgt_Position, Standard_Transient) + +//! Stores and manipulates position in the stream. +class BinObjMgt_Position : public Standard_Transient +{ +public: + DEFINE_STANDARD_ALLOC + + //! Creates position using the current stream position. + Standard_EXPORT BinObjMgt_Position(Standard_OStream& theStream); + + //! Stores the difference between the current position and the stored one. + Standard_EXPORT void StoreSize(Standard_OStream& theStream); + //! Writes stored size at the stored position. Changes the current stream position. + //! If theDummy is true, is writes to the current position zero size. + Standard_EXPORT void WriteSize(Standard_OStream& theStream, + const Standard_Boolean theDummy = Standard_False); + + DEFINE_STANDARD_RTTIEXT(BinObjMgt_Position, Standard_Transient) + +private: + std::streampos myPosition; + uint64_t mySize; +}; + +#endif // _BinObjMgt_Position_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BlendFunc_EvolRad.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BlendFunc_EvolRad.hxx new file mode 100644 index 0000000000000000000000000000000000000000..7db57f8cdb83d23affcd93a505083b5939d4a5d5 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/BlendFunc_EvolRad.hxx @@ -0,0 +1,299 @@ +// Created on: 1993-12-20 +// Created by: Jacques GOUSSARD +// 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 _BlendFunc_EvolRad_HeaderFile +#define _BlendFunc_EvolRad_HeaderFile + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class Law_Function; +class gp_Circ; +class Blend_Point; + +class BlendFunc_EvolRad : public Blend_Function +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT BlendFunc_EvolRad(const Handle(Adaptor3d_Surface)& S1, + const Handle(Adaptor3d_Surface)& S2, + const Handle(Adaptor3d_Curve)& C, + const Handle(Law_Function)& Law); + + //! returns the number of equations of the function. + Standard_EXPORT Standard_Integer NbEquations() const Standard_OVERRIDE; + + //! computes the values of the Functions for the + //! variable . + //! Returns True if the computation was done successfully, + //! False otherwise. + Standard_EXPORT Standard_Boolean Value(const math_Vector& X, math_Vector& F) Standard_OVERRIDE; + + //! returns the values of the derivatives for the + //! variable . + //! Returns True if the computation was done successfully, + //! False otherwise. + Standard_EXPORT Standard_Boolean Derivatives(const math_Vector& X, + math_Matrix& D) Standard_OVERRIDE; + + //! returns the values of the functions and the derivatives + //! for the variable . + //! Returns True if the computation was done successfully, + //! False otherwise. + Standard_EXPORT Standard_Boolean Values(const math_Vector& X, + math_Vector& F, + math_Matrix& D) Standard_OVERRIDE; + + Standard_EXPORT void Set(const Standard_Real Param) Standard_OVERRIDE; + + Standard_EXPORT void Set(const Standard_Real First, const Standard_Real Last) Standard_OVERRIDE; + + Standard_EXPORT void GetTolerance(math_Vector& Tolerance, + const Standard_Real Tol) const Standard_OVERRIDE; + + Standard_EXPORT void GetBounds(math_Vector& InfBound, + math_Vector& SupBound) const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean IsSolution(const math_Vector& Sol, + const Standard_Real Tol) Standard_OVERRIDE; + + //! Returns the minimal Distance between two + //! extremities of calculated sections. + Standard_EXPORT Standard_Real GetMinimalDistance() const Standard_OVERRIDE; + + Standard_EXPORT const gp_Pnt& PointOnS1() const Standard_OVERRIDE; + + Standard_EXPORT const gp_Pnt& PointOnS2() const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean IsTangencyPoint() const Standard_OVERRIDE; + + Standard_EXPORT const gp_Vec& TangentOnS1() const Standard_OVERRIDE; + + Standard_EXPORT const gp_Vec2d& Tangent2dOnS1() const Standard_OVERRIDE; + + Standard_EXPORT const gp_Vec& TangentOnS2() const Standard_OVERRIDE; + + Standard_EXPORT const gp_Vec2d& Tangent2dOnS2() const Standard_OVERRIDE; + + //! Returns the tangent vector at the section, + //! at the beginning and the end of the section, and + //! returns the normal (of the surfaces) at + //! these points. + Standard_EXPORT void Tangent(const Standard_Real U1, + const Standard_Real V1, + const Standard_Real U2, + const Standard_Real V2, + gp_Vec& TgFirst, + gp_Vec& TgLast, + gp_Vec& NormFirst, + gp_Vec& NormLast) const Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_Boolean TwistOnS1() const Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_Boolean TwistOnS2() const Standard_OVERRIDE; + + Standard_EXPORT void Set(const Standard_Integer Choix); + + //! Sets the type of section generation for the + //! approximations. + Standard_EXPORT void Set(const BlendFunc_SectionShape TypeSection); + + //! Method for graphic traces + Standard_EXPORT void Section(const Standard_Real Param, + const Standard_Real U1, + const Standard_Real V1, + const Standard_Real U2, + const Standard_Real V2, + Standard_Real& Pdeb, + Standard_Real& Pfin, + gp_Circ& C); + + //! Returns if the section is rational + Standard_EXPORT Standard_Boolean IsRational() const Standard_OVERRIDE; + + //! Returns the length of the maximum section + Standard_EXPORT Standard_Real GetSectionSize() const Standard_OVERRIDE; + + //! Compute the minimal value of weight for each poles + //! of all sections. + Standard_EXPORT void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const Standard_OVERRIDE; + + //! Returns the number of intervals for continuity + //! . May be one if Continuity(me) >= + Standard_EXPORT Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; + + //! Stores in the parameters bounding the intervals + //! of continuity . + //! + //! The array must provide enough room to accommodate + //! for the parameters. i.e. T.Length() > NbIntervals() + Standard_EXPORT void Intervals(TColStd_Array1OfReal& T, + const GeomAbs_Shape S) const Standard_OVERRIDE; + + Standard_EXPORT void GetShape(Standard_Integer& NbPoles, + Standard_Integer& NbKnots, + Standard_Integer& Degree, + Standard_Integer& NbPoles2d) Standard_OVERRIDE; + + //! Returns the tolerance to reach in approximation + //! to respect + //! BoundTol error at the Boundary + //! AngleTol tangent error at the Boundary + //! SurfTol error inside the surface. + Standard_EXPORT void GetTolerance(const Standard_Real BoundTol, + const Standard_Real SurfTol, + const Standard_Real AngleTol, + math_Vector& Tol3d, + math_Vector& Tol1D) const Standard_OVERRIDE; + + Standard_EXPORT void Knots(TColStd_Array1OfReal& TKnots) Standard_OVERRIDE; + + Standard_EXPORT void Mults(TColStd_Array1OfInteger& TMults) Standard_OVERRIDE; + + //! Used for the first and last section + Standard_EXPORT virtual Standard_Boolean Section(const Blend_Point& P, + TColgp_Array1OfPnt& Poles, + TColgp_Array1OfVec& DPoles, + TColgp_Array1OfVec& D2Poles, + TColgp_Array1OfPnt2d& Poles2d, + TColgp_Array1OfVec2d& DPoles2d, + TColgp_Array1OfVec2d& D2Poles2d, + TColStd_Array1OfReal& Weigths, + TColStd_Array1OfReal& DWeigths, + TColStd_Array1OfReal& D2Weigths) + Standard_OVERRIDE; + + //! Used for the first and last section + Standard_EXPORT virtual Standard_Boolean Section(const Blend_Point& P, + TColgp_Array1OfPnt& Poles, + TColgp_Array1OfVec& DPoles, + TColgp_Array1OfPnt2d& Poles2d, + TColgp_Array1OfVec2d& DPoles2d, + TColStd_Array1OfReal& Weigths, + TColStd_Array1OfReal& DWeigths) + Standard_OVERRIDE; + + Standard_EXPORT void Section(const Blend_Point& P, + TColgp_Array1OfPnt& Poles, + TColgp_Array1OfPnt2d& Poles2d, + TColStd_Array1OfReal& Weigths) Standard_OVERRIDE; + + Standard_EXPORT void Resolution(const Standard_Integer IC2d, + const Standard_Real Tol, + Standard_Real& TolU, + Standard_Real& TolV) const Standard_OVERRIDE; + +protected: +private: + Standard_EXPORT Standard_Boolean ComputeValues(const math_Vector& X, + const Standard_Integer Order, + const Standard_Boolean ByParam = Standard_False, + const Standard_Real Param = 0); + + Handle(Adaptor3d_Surface) surf1; + Handle(Adaptor3d_Surface) surf2; + Handle(Adaptor3d_Curve) curv; + Handle(Adaptor3d_Curve) tcurv; + Handle(Law_Function) fevol; + Handle(Law_Function) tevol; + gp_Pnt pts1; + gp_Pnt pts2; + Standard_Boolean istangent; + gp_Vec tg1; + gp_Vec2d tg12d; + gp_Vec tg2; + gp_Vec2d tg22d; + Standard_Real param; + Standard_Real sg1; + Standard_Real sg2; + Standard_Real ray; + Standard_Real dray; + Standard_Real d2ray; + Standard_Integer choix; + Standard_Integer myXOrder; + Standard_Integer myTOrder; + math_Vector xval; + Standard_Real tval; + gp_Vec d1u1; + gp_Vec d1u2; + gp_Vec d1v1; + gp_Vec d1v2; + gp_Vec d2u1; + gp_Vec d2v1; + gp_Vec d2uv1; + gp_Vec d2u2; + gp_Vec d2v2; + gp_Vec d2uv2; + gp_Vec dn1w; + gp_Vec dn2w; + gp_Vec d2n1w; + gp_Vec d2n2w; + gp_Vec nplan; + gp_Vec nsurf1; + gp_Vec nsurf2; + gp_Vec dns1u1; + gp_Vec dns1u2; + gp_Vec dns1v1; + gp_Vec dns1v2; + gp_Vec dnplan; + gp_Vec d2nplan; + gp_Vec dnsurf1; + gp_Vec dnsurf2; + gp_Vec dndu1; + gp_Vec dndu2; + gp_Vec dndv1; + gp_Vec dndv2; + gp_Vec d2ndu1; + gp_Vec d2ndu2; + gp_Vec d2ndv1; + gp_Vec d2ndv2; + gp_Vec d2nduv1; + gp_Vec d2nduv2; + gp_Vec d2ndtu1; + gp_Vec d2ndtu2; + gp_Vec d2ndtv1; + gp_Vec d2ndtv2; + math_Vector E; + math_Matrix DEDX; + math_Vector DEDT; + BlendFunc_Tensor D2EDX2; + math_Matrix D2EDXDT; + math_Vector D2EDT2; + Standard_Real minang; + Standard_Real maxang; + Standard_Real lengthmin; + Standard_Real lengthmax; + Standard_Real distmin; + BlendFunc_SectionShape mySShape; + Convert_ParameterisationType myTConv; +}; + +#endif // _BlendFunc_EvolRad_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/CDM_MetaDataLookUpTable.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/CDM_MetaDataLookUpTable.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9efdefaad114012a5076290e1220492a80c5677a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/CDM_MetaDataLookUpTable.hxx @@ -0,0 +1,29 @@ +// Created on: 1997-05-06 +// Created by: Jean-Louis Frenkel, Remi Lequette +// Copyright (c) 1997-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 CDM_MetaDataLookUpTable_HeaderFile +#define CDM_MetaDataLookUpTable_HeaderFile + +#include +#include +class CDM_MetaData; + +typedef NCollection_DataMap + CDM_MetaDataLookUpTable; +typedef NCollection_DataMap::Iterator + CDM_DataMapIteratorOfMetaDataLookUpTable; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFi2d_AnaFilletAlgo.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFi2d_AnaFilletAlgo.hxx new file mode 100644 index 0000000000000000000000000000000000000000..5ad492844d616cc5547cfc2aaf94374d97aadfb7 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFi2d_AnaFilletAlgo.hxx @@ -0,0 +1,143 @@ +// Created on: 2013-05-20 +// Created by: Vlad ROMASHKO +// Copyright (c) 2003-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 ChFi2d_AnaFilletAlgo_HeaderFile +#define ChFi2d_AnaFilletAlgo_HeaderFile + +#include +#include +#include + +//! An analytical algorithm for calculation of the fillets. +//! It is implemented for segments and arcs of circle only. +class ChFi2d_AnaFilletAlgo +{ +public: + //! An empty constructor. + //! Use the method Init() to initialize the class. + Standard_EXPORT ChFi2d_AnaFilletAlgo(); + + //! A constructor. + //! It expects a wire consisting of two edges of type (any combination of): + //! - segment + //! - arc of circle. + Standard_EXPORT ChFi2d_AnaFilletAlgo(const TopoDS_Wire& theWire, const gp_Pln& thePlane); + + //! A constructor. + //! It expects two edges having a common point of type: + //! - segment + //! - arc of circle. + Standard_EXPORT ChFi2d_AnaFilletAlgo(const TopoDS_Edge& theEdge1, + const TopoDS_Edge& theEdge2, + const gp_Pln& thePlane); + + //! Initializes the class by a wire consisting of two edges. + Standard_EXPORT void Init(const TopoDS_Wire& theWire, const gp_Pln& thePlane); + + //! Initializes the class by two edges. + Standard_EXPORT void Init(const TopoDS_Edge& theEdge1, + const TopoDS_Edge& theEdge2, + const gp_Pln& thePlane); + + //! Calculates a fillet. + Standard_EXPORT Standard_Boolean Perform(const Standard_Real radius); + + //! Retrieves a result (fillet and shrinked neighbours). + Standard_EXPORT const TopoDS_Edge& Result(TopoDS_Edge& e1, TopoDS_Edge& e2); + +private: + // WW5 method to compute fillet. + // It returns a constructed fillet definition: + // center point (xc, yc) + // point on the 1st segment (xstart, ystart) + // point on the 2nd segment (xend, yend) + // is the arc of fillet clockwise (cw = true) or counterclockwise (cw = false). + Standard_Boolean SegmentFilletSegment(const Standard_Real radius, + Standard_Real& xc, + Standard_Real& yc, + Standard_Boolean& cw, + Standard_Real& start, + Standard_Real& end); + + // A function constructs a fillet between a segment and an arc. + Standard_Boolean SegmentFilletArc(const Standard_Real radius, + Standard_Real& xc, + Standard_Real& yc, + Standard_Boolean& cw, + Standard_Real& start, + Standard_Real& end, + Standard_Real& xend, + Standard_Real& yend); + + // A function constructs a fillet between an arc and a segment. + Standard_Boolean ArcFilletSegment(const Standard_Real radius, + Standard_Real& xc, + Standard_Real& yc, + Standard_Boolean& cw, + Standard_Real& start, + Standard_Real& end, + Standard_Real& xstart, + Standard_Real& ystart); + + // WW5 method to compute fillet: arc - arc. + // It returns a constructed fillet definition: + // center point (xc, yc) + // shrinking parameter of the 1st circle (start) + // shrinking parameter of the 2nd circle (end) + // if the arc of fillet clockwise (cw = true) or counterclockwise (cw = false). + Standard_Boolean ArcFilletArc(const Standard_Real radius, + Standard_Real& xc, + Standard_Real& yc, + Standard_Boolean& cw, + Standard_Real& start, + Standard_Real& end); + + // Cuts intersecting edges of a contour. + Standard_Boolean Cut(const gp_Pln& plane, TopoDS_Edge& e1, TopoDS_Edge& e2); + + // Plane. + gp_Pln plane; + + // Left neighbour. + TopoDS_Edge e1; + Standard_Boolean segment1; + Standard_Real x11; + Standard_Real y11; + Standard_Real x12; + Standard_Real y12; + Standard_Real xc1; + Standard_Real yc1; + Standard_Real radius1; + Standard_Boolean cw1; + + // Right neighbour. + TopoDS_Edge e2; + Standard_Boolean segment2; + Standard_Real x21; + Standard_Real y21; + Standard_Real x22; + Standard_Real y22; + Standard_Real xc2; + Standard_Real yc2; + Standard_Real radius2; + Standard_Boolean cw2; + + // Fillet (result). + TopoDS_Edge fillet; + TopoDS_Edge shrinke1; + TopoDS_Edge shrinke2; +}; + +#endif // _ANAFILLETALGO_H_ diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFiDS_ListOfStripe.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFiDS_ListOfStripe.hxx new file mode 100644 index 0000000000000000000000000000000000000000..25a27eaed39090c272e184f14cbdae8ab16ecd7f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFiDS_ListOfStripe.hxx @@ -0,0 +1,26 @@ +// Created on: 1993-11-17 +// Created by: Isabelle GRIGNON +// 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 ChFiDS_ListOfStripe_HeaderFile +#define ChFiDS_ListOfStripe_HeaderFile + +#include +#include + +typedef NCollection_List ChFiDS_ListOfStripe; +typedef NCollection_List::Iterator ChFiDS_ListIteratorOfListOfStripe; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFiDS_Regul.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFiDS_Regul.hxx new file mode 100644 index 0000000000000000000000000000000000000000..10ceb11bf8a786fb58a2de6e580f8b7bac1d92d6 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ChFiDS_Regul.hxx @@ -0,0 +1,59 @@ +// Created on: 1995-03-21 +// Created by: Laurent BOURESCHE +// Copyright (c) 1995-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 _ChFiDS_Regul_HeaderFile +#define _ChFiDS_Regul_HeaderFile + +#include +#include +#include + +#include + +//! Storage of a curve and its 2 faces or surfaces of support. +class ChFiDS_Regul +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT ChFiDS_Regul(); + + Standard_EXPORT void SetCurve(const Standard_Integer IC); + + Standard_EXPORT void SetS1(const Standard_Integer IS1, + const Standard_Boolean IsFace = Standard_True); + + Standard_EXPORT void SetS2(const Standard_Integer IS2, + const Standard_Boolean IsFace = Standard_True); + + Standard_EXPORT Standard_Boolean IsSurface1() const; + + Standard_EXPORT Standard_Boolean IsSurface2() const; + + Standard_EXPORT Standard_Integer Curve() const; + + Standard_EXPORT Standard_Integer S1() const; + + Standard_EXPORT Standard_Integer S2() const; + +protected: +private: + Standard_Integer icurv; + Standard_Integer is1; + Standard_Integer is2; +}; + +#endif // _ChFiDS_Regul_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Contap_SurfFunction.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Contap_SurfFunction.hxx new file mode 100644 index 0000000000000000000000000000000000000000..f679269c1748cdbab8df7dbfd54dfe558a6e49d5 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Contap_SurfFunction.hxx @@ -0,0 +1,123 @@ +// Created on: 1993-06-03 +// Created by: Jacques GOUSSARD +// 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 _Contap_SurfFunction_HeaderFile +#define _Contap_SurfFunction_HeaderFile + +#include +#include +#include +#include +#include +#include +#include +#include + +class math_Matrix; + +//! This class describes the function on a parametric surface. +//! the form of the function is F(u,v) = 0 where u and v are +//! the parametric coordinates of a point on the surface, +//! to compute the contours of the surface. +class Contap_SurfFunction : public math_FunctionSetWithDerivatives +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT Contap_SurfFunction(); + + Standard_EXPORT void Set(const Handle(Adaptor3d_Surface)& S); + + void Set(const gp_Pnt& Eye); + + void Set(const gp_Dir& Dir); + + void Set(const gp_Dir& Dir, const Standard_Real Angle); + + void Set(const gp_Pnt& Eye, const Standard_Real Angle); + + void Set(const Standard_Real Tolerance); + + //! This method has to return 2. + Standard_EXPORT Standard_Integer NbVariables() const; + + //! This method has to return 1. + Standard_EXPORT Standard_Integer NbEquations() const; + + //! The dimension of F is 1. + Standard_EXPORT Standard_Boolean Value(const math_Vector& X, math_Vector& F); + + //! The dimension of D is (1,2). + Standard_EXPORT Standard_Boolean Derivatives(const math_Vector& X, math_Matrix& D); + + Standard_EXPORT Standard_Boolean Values(const math_Vector& X, math_Vector& F, math_Matrix& D); + + //! Root is the value of the function at the solution. + //! It is a vector of dimension 1, i-e a real. + Standard_Real Root() const; + + //! Returns the value Tol so that if Abs(Func.Root()) + +#endif // _Contap_SurfFunction_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/DEIGES_Provider.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/DEIGES_Provider.hxx new file mode 100644 index 0000000000000000000000000000000000000000..b2227ab01b75c480e552ed89f7d8ba0a7ba9295c --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/DEIGES_Provider.hxx @@ -0,0 +1,160 @@ +// Copyright (c) 2022 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 _DEIGES_Provider_HeaderFile +#define _DEIGES_Provider_HeaderFile + +#include +#include + +//! The class to transfer IGES files. +//! Reads and Writes any IGES files into/from OCCT. +//! Each operation needs configuration node. +//! +//! Providers grouped by Vendor name and Format type. +//! The Vendor name is "OCC" +//! The Format type is "IGES" +//! The import process is supported. +//! The export process is supported. +class DEIGES_Provider : public DE_Provider +{ +public: + DEFINE_STANDARD_RTTIEXT(DEIGES_Provider, DE_Provider) + +public: + //! Default constructor + //! Configure translation process with global configuration + Standard_EXPORT DEIGES_Provider(); + + //! Configure translation process + //! @param[in] theNode object to copy + Standard_EXPORT DEIGES_Provider(const Handle(DE_ConfigurationNode)& theNode); + +public: + //! Reads a CAD file, according internal configuration + //! @param[in] thePath path to the import CAD file + //! @param[out] theDocument document to save result + //! @param[in] theWS current work session + //! @param[in] theProgress progress indicator + //! @return true if Read operation has ended correctly + Standard_EXPORT virtual bool Read( + const TCollection_AsciiString& thePath, + const Handle(TDocStd_Document)& theDocument, + Handle(XSControl_WorkSession)& theWS, + const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; + + //! Writes a CAD file, according internal configuration + //! @param[in] thePath path to the export CAD file + //! @param[out] theDocument document to export + //! @param[in] theWS current work session + //! @param[in] theProgress progress indicator + //! @return true if Write operation has ended correctly + Standard_EXPORT virtual bool Write( + const TCollection_AsciiString& thePath, + const Handle(TDocStd_Document)& theDocument, + Handle(XSControl_WorkSession)& theWS, + const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; + + //! Reads a CAD file, according internal configuration + //! @param[in] thePath path to the import CAD file + //! @param[out] theDocument document to save result + //! @param[in] theProgress progress indicator + //! @return true if Read operation has ended correctly + Standard_EXPORT virtual bool Read( + const TCollection_AsciiString& thePath, + const Handle(TDocStd_Document)& theDocument, + const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; + + //! Writes a CAD file, according internal configuration + //! @param[in] thePath path to the export CAD file + //! @param[out] theDocument document to export + //! @param[in] theProgress progress indicator + //! @return true if Write operation has ended correctly + Standard_EXPORT virtual bool Write( + const TCollection_AsciiString& thePath, + const Handle(TDocStd_Document)& theDocument, + const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; + + //! Reads a CAD file, according internal configuration + //! @param[in] thePath path to the import CAD file + //! @param[out] theShape shape to save result + //! @param[in] theWS current work session + //! @param[in] theProgress progress indicator + //! @return true if Read operation has ended correctly + Standard_EXPORT virtual bool Read( + const TCollection_AsciiString& thePath, + TopoDS_Shape& theShape, + Handle(XSControl_WorkSession)& theWS, + const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; + + //! Writes a CAD file, according internal configuration + //! @param[in] thePath path to the export CAD file + //! @param[out] theShape shape to export + //! @param[in] theWS current work session + //! @param[in] theProgress progress indicator + //! @return true if Write operation has ended correctly + Standard_EXPORT virtual bool Write( + const TCollection_AsciiString& thePath, + const TopoDS_Shape& theShape, + Handle(XSControl_WorkSession)& theWS, + const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; + + //! Reads a CAD file, according internal configuration + //! @param[in] thePath path to the import CAD file + //! @param[out] theShape shape to save result + //! @param[in] theProgress progress indicator + //! @return true if Read operation has ended correctly + Standard_EXPORT virtual bool Read( + const TCollection_AsciiString& thePath, + TopoDS_Shape& theShape, + const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; + + //! Writes a CAD file, according internal configuration + //! @param[in] thePath path to the export CAD file + //! @param[out] theShape shape to export + //! @param[in] theProgress progress indicator + //! @return true if Write operation has ended correctly + Standard_EXPORT virtual bool Write( + const TCollection_AsciiString& thePath, + const TopoDS_Shape& theShape, + const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; + +public: + //! Gets CAD format name of associated provider + //! @return provider CAD format + Standard_EXPORT virtual TCollection_AsciiString GetFormat() const Standard_OVERRIDE; + + //! Gets provider's vendor name of associated provider + //! @return provider's vendor name + Standard_EXPORT virtual TCollection_AsciiString GetVendor() const Standard_OVERRIDE; + +private: + //! Personizes work session with current format. + //! Creates new temporary session if current session is null + //! @param[in] theWS current work session + void personizeWS(Handle(XSControl_WorkSession)& theWS); + + //! Initialize static variables + void initStatic(const Handle(DE_ConfigurationNode)& theNode); + + //! Initialize static variables + void setStatic(const DEIGES_Parameters& theParameter); + + //! Reset used interface static variables + void resetStatic(); + + DEIGES_Parameters myOldValues; + int myOldLengthUnit = 1; +}; + +#endif // _DEIGES_Provider_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/DE_ShapeFixConfigurationNode.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/DE_ShapeFixConfigurationNode.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ee3db3d8296c50552d7bc4ccd4ffe43390256323 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/DE_ShapeFixConfigurationNode.hxx @@ -0,0 +1,50 @@ +// Copyright (c) 2024 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 _DE_ShapeFixConfigurationNode_HeaderFile +#define _DE_ShapeFixConfigurationNode_HeaderFile + +#include +#include +#include + +class DE_ConfigurationContext; + +//! Base class to work with shape healing parameters for child classes. +class DE_ShapeFixConfigurationNode : public DE_ConfigurationNode +{ + DEFINE_STANDARD_RTTIEXT(DE_ShapeFixConfigurationNode, DE_ConfigurationNode) +public: + //! Initializes all field by default + Standard_EXPORT DE_ShapeFixConfigurationNode(); + + //! Copies values of all fields + //! @param[in] theConfigurationNode object to copy + Standard_EXPORT DE_ShapeFixConfigurationNode( + const Handle(DE_ShapeFixConfigurationNode)& theConfigurationNode); + + //! Updates values according the resource + //! @param[in] theResource input resource to use + //! @return True if Load was successful + Standard_EXPORT virtual bool Load(const Handle(DE_ConfigurationContext)& theResource) + Standard_OVERRIDE; + + //! Writes configuration to the string + //! @return result resource string + Standard_EXPORT virtual TCollection_AsciiString Save() const Standard_OVERRIDE; + +public: + DE_ShapeFixParameters ShapeFixParameters; //!< Shape healing parameters +}; + +#endif // _DE_ShapeFixConfigurationNode_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Draft_IndexedDataMapOfVertexVertexInfo.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Draft_IndexedDataMapOfVertexVertexInfo.hxx new file mode 100644 index 0000000000000000000000000000000000000000..31e923678c55b289b36eb5c4a8e664f7445fc552 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Draft_IndexedDataMapOfVertexVertexInfo.hxx @@ -0,0 +1,28 @@ +// Created on: 1994-08-31 +// Created by: Jacques GOUSSARD +// 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. + +#ifndef Draft_IndexedDataMapOfVertexVertexInfo_HeaderFile +#define Draft_IndexedDataMapOfVertexVertexInfo_HeaderFile + +#include +#include +#include +#include + +typedef NCollection_IndexedDataMap + Draft_IndexedDataMapOfVertexVertexInfo; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ExprIntrp_SyntaxError.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ExprIntrp_SyntaxError.hxx new file mode 100644 index 0000000000000000000000000000000000000000..fbc962e607ee29fdab9b7db9f5d3f5a214f47c34 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ExprIntrp_SyntaxError.hxx @@ -0,0 +1,38 @@ +// Created on: 1991-07-18 +// Created by: Arnaud BOUZY +// 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. + +#ifndef _ExprIntrp_SyntaxError_HeaderFile +#define _ExprIntrp_SyntaxError_HeaderFile + +#include +#include +#include +#include + +class ExprIntrp_SyntaxError; +DEFINE_STANDARD_HANDLE(ExprIntrp_SyntaxError, Standard_Failure) + +#if !defined No_Exception && !defined No_ExprIntrp_SyntaxError + #define ExprIntrp_SyntaxError_Raise_if(CONDITION, MESSAGE) \ + if (CONDITION) \ + throw ExprIntrp_SyntaxError(MESSAGE); +#else + #define ExprIntrp_SyntaxError_Raise_if(CONDITION, MESSAGE) +#endif + +DEFINE_STANDARD_EXCEPTION(ExprIntrp_SyntaxError, Standard_Failure) + +#endif // _ExprIntrp_SyntaxError_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_ArgCosh.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_ArgCosh.hxx new file mode 100644 index 0000000000000000000000000000000000000000..09bbe9b7c8e819aff9a1d5efff5a024f63d43daf --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_ArgCosh.hxx @@ -0,0 +1,74 @@ +// Created on: 1991-01-14 +// Created by: Arnaud BOUZY +// 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. + +#ifndef _Expr_ArgCosh_HeaderFile +#define _Expr_ArgCosh_HeaderFile + +#include + +#include +#include +#include +class Expr_GeneralExpression; +class Expr_NamedUnknown; +class TCollection_AsciiString; + +class Expr_ArgCosh; +DEFINE_STANDARD_HANDLE(Expr_ArgCosh, Expr_UnaryExpression) + +class Expr_ArgCosh : public Expr_UnaryExpression +{ + +public: + //! Creates the ArgCosh of + Standard_EXPORT Expr_ArgCosh(const Handle(Expr_GeneralExpression)& exp); + + //! Returns a GeneralExpression after a simplification + //! of the arguments of . + Standard_EXPORT Handle(Expr_GeneralExpression) ShallowSimplified() const Standard_OVERRIDE; + + //! Returns a copy of having the same unknowns and functions. + Standard_EXPORT Handle(Expr_GeneralExpression) Copy() const Standard_OVERRIDE; + + //! Tests if and define the same expression. + //! This method does not include any simplification before + //! testing. + Standard_EXPORT Standard_Boolean + IsIdentical(const Handle(Expr_GeneralExpression)& Other) const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean IsLinear() const Standard_OVERRIDE; + + //! Returns the derivative on unknown of . + Standard_EXPORT Handle(Expr_GeneralExpression) Derivative( + const Handle(Expr_NamedUnknown)& X) const Standard_OVERRIDE; + + //! Returns the value of (as a Real) by + //! replacement of by . + //! Raises NotEvaluable if contains NamedUnknown not + //! in or NumericError if result cannot be computed. + Standard_EXPORT Standard_Real Evaluate(const Expr_Array1OfNamedUnknown& vars, + const TColStd_Array1OfReal& vals) const Standard_OVERRIDE; + + //! returns a string representing in a readable way. + Standard_EXPORT TCollection_AsciiString String() const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(Expr_ArgCosh, Expr_UnaryExpression) + +protected: +private: +}; + +#endif // _Expr_ArgCosh_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_BinaryFunction.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_BinaryFunction.hxx new file mode 100644 index 0000000000000000000000000000000000000000..791a095ee5c60c4cc57c57792db368945ef9cb4a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_BinaryFunction.hxx @@ -0,0 +1,85 @@ +// Created on: 1991-01-14 +// Created by: Arnaud BOUZY +// 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. + +#ifndef _Expr_BinaryFunction_HeaderFile +#define _Expr_BinaryFunction_HeaderFile + +#include +#include + +#include +#include +#include +class Expr_GeneralFunction; +class Expr_GeneralExpression; +class Expr_NamedUnknown; +class TCollection_AsciiString; + +class Expr_BinaryFunction; +DEFINE_STANDARD_HANDLE(Expr_BinaryFunction, Expr_BinaryExpression) + +//! Defines the use of a binary function in an expression +//! with given arguments. +class Expr_BinaryFunction : public Expr_BinaryExpression +{ + +public: + //! Creates as (,). + //! Raises exception if is not binary. + Standard_EXPORT Expr_BinaryFunction(const Handle(Expr_GeneralFunction)& func, + const Handle(Expr_GeneralExpression)& exp1, + const Handle(Expr_GeneralExpression)& exp2); + + //! Returns the function defining . + Standard_EXPORT Handle(Expr_GeneralFunction) Function() const; + + //! Returns a GeneralExpression after a simplification + //! of the arguments of . + Standard_EXPORT Handle(Expr_GeneralExpression) ShallowSimplified() const Standard_OVERRIDE; + + //! Returns a copy of having the same unknowns and functions. + Standard_EXPORT Handle(Expr_GeneralExpression) Copy() const Standard_OVERRIDE; + + //! Tests if and define the same expression. + //! This method does not include any simplification before + //! testing. + Standard_EXPORT Standard_Boolean + IsIdentical(const Handle(Expr_GeneralExpression)& Other) const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean IsLinear() const Standard_OVERRIDE; + + //! Returns the derivative on unknown of + Standard_EXPORT Handle(Expr_GeneralExpression) Derivative( + const Handle(Expr_NamedUnknown)& X) const Standard_OVERRIDE; + + //! Returns the value of (as a Real) by + //! replacement of by . + //! Raises NotEvaluable if contains NamedUnknown not + //! in or NumericError if result cannot be computed. + Standard_EXPORT Standard_Real Evaluate(const Expr_Array1OfNamedUnknown& vars, + const TColStd_Array1OfReal& vals) const Standard_OVERRIDE; + + //! returns a string representing in a readable way. + Standard_EXPORT TCollection_AsciiString String() const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(Expr_BinaryFunction, Expr_BinaryExpression) + +protected: +private: + Handle(Expr_GeneralFunction) myFunction; +}; + +#endif // _Expr_BinaryFunction_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_LogOf10.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_LogOf10.hxx new file mode 100644 index 0000000000000000000000000000000000000000..923a6fdb317a794a238291d070afb025eac761ec --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_LogOf10.hxx @@ -0,0 +1,75 @@ +// Created on: 1991-01-14 +// Created by: Arnaud BOUZY +// 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. + +#ifndef _Expr_LogOf10_HeaderFile +#define _Expr_LogOf10_HeaderFile + +#include +#include + +#include +#include +#include +class Expr_GeneralExpression; +class Expr_NamedUnknown; +class TCollection_AsciiString; + +class Expr_LogOf10; +DEFINE_STANDARD_HANDLE(Expr_LogOf10, Expr_UnaryExpression) + +class Expr_LogOf10 : public Expr_UnaryExpression +{ + +public: + //! Creates the base 10 logarithm of + Standard_EXPORT Expr_LogOf10(const Handle(Expr_GeneralExpression)& exp); + + //! Returns a GeneralExpression after a simplification + //! of the arguments of . + Standard_EXPORT Handle(Expr_GeneralExpression) ShallowSimplified() const Standard_OVERRIDE; + + //! Returns a copy of having the same unknowns and functions. + Standard_EXPORT Handle(Expr_GeneralExpression) Copy() const Standard_OVERRIDE; + + //! Tests if and define the same expression. + //! This method does not include any simplification before + //! testing. + Standard_EXPORT Standard_Boolean + IsIdentical(const Handle(Expr_GeneralExpression)& Other) const Standard_OVERRIDE; + + Standard_EXPORT Standard_Boolean IsLinear() const Standard_OVERRIDE; + + //! Returns the derivative on unknown of . + Standard_EXPORT Handle(Expr_GeneralExpression) Derivative( + const Handle(Expr_NamedUnknown)& X) const Standard_OVERRIDE; + + //! Returns the value of (as a Real) by + //! replacement of by . + //! Raises NotEvaluable if contains NamedUnknown not + //! in or NumericError if result cannot be computed. + Standard_EXPORT Standard_Real Evaluate(const Expr_Array1OfNamedUnknown& vars, + const TColStd_Array1OfReal& vals) const Standard_OVERRIDE; + + //! returns a string representing in a readable way. + Standard_EXPORT TCollection_AsciiString String() const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(Expr_LogOf10, Expr_UnaryExpression) + +protected: +private: +}; + +#endif // _Expr_LogOf10_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_SequenceOfGeneralExpression.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_SequenceOfGeneralExpression.hxx new file mode 100644 index 0000000000000000000000000000000000000000..fa210c2beba7f22ea975cdb7f4520c89e85e1f0f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Expr_SequenceOfGeneralExpression.hxx @@ -0,0 +1,25 @@ +// Created on: 1991-01-14 +// Created by: Arnaud BOUZY +// 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. + +#ifndef Expr_SequenceOfGeneralExpression_HeaderFile +#define Expr_SequenceOfGeneralExpression_HeaderFile + +#include +#include + +typedef NCollection_Sequence Expr_SequenceOfGeneralExpression; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Express_Enum.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Express_Enum.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9d8e923cbfd63fb25733f711e4435b202fd37607 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Express_Enum.hxx @@ -0,0 +1,47 @@ +// Copyright (c) 1999-2020 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 _Express_Enum_HeaderFile +#define _Express_Enum_HeaderFile + +#include +#include +#include + +//! Implements TYPE ENUMERATION item of the EXPRESS +//! schema, with interface for deferred Item class. +class Express_Enum : public Express_Item +{ + +public: + //! Create ENUM item and initialize it + Standard_EXPORT Express_Enum(const Standard_CString theName, + const Handle(TColStd_HSequenceOfHAsciiString)& theNames); + + //! Returns names of enumeration variants + Standard_EXPORT const Handle(TColStd_HSequenceOfHAsciiString)& Names() const; + + //! Create HXX/CXX files from item + Standard_EXPORT virtual Standard_Boolean GenerateClass() const Standard_OVERRIDE; + + //! Propagates the calls of Use function + Standard_EXPORT virtual void PropagateUse() const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(Express_Enum, Express_Item) + +protected: +private: + Handle(TColStd_HSequenceOfHAsciiString) myNames; +}; + +#endif // _Express_Enum_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_Array2OfPOnCurv2d.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_Array2OfPOnCurv2d.hxx new file mode 100644 index 0000000000000000000000000000000000000000..870b456a8db15fe2185067fdc39c3f721970d462 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_Array2OfPOnCurv2d.hxx @@ -0,0 +1,25 @@ +// Created on: 1991-02-26 +// Created by: Isabelle GRIGNON +// 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. + +#ifndef Extrema_Array2OfPOnCurv2d_HeaderFile +#define Extrema_Array2OfPOnCurv2d_HeaderFile + +#include +#include + +typedef NCollection_Array2 Extrema_Array2OfPOnCurv2d; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_ExtCC.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_ExtCC.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e32e3f28b55514eb7801f4799674e8978c9d775b --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_ExtCC.hxx @@ -0,0 +1,183 @@ +// Created on: 1994-07-06 +// Created by: Laurent PAINNOT +// 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. + +#ifndef _Extrema_ExtCC_HeaderFile +#define _Extrema_ExtCC_HeaderFile + +#include +#include + +#include +#include +#include +#include + +class Adaptor3d_Curve; +class Extrema_POnCurv; +class Extrema_ExtElC; + +//! It calculates all the distance between two curves. +//! These distances can be maximum or minimum. +class Extrema_ExtCC +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT Extrema_ExtCC(const Standard_Real TolC1 = 1.0e-10, + const Standard_Real TolC2 = 1.0e-10); + + //! It calculates all the distances. + Standard_EXPORT Extrema_ExtCC(const Adaptor3d_Curve& C1, + const Adaptor3d_Curve& C2, + const Standard_Real TolC1 = 1.0e-10, + const Standard_Real TolC2 = 1.0e-10); + + //! It calculates all the distances. + Standard_EXPORT Extrema_ExtCC(const Adaptor3d_Curve& C1, + const Adaptor3d_Curve& C2, + const Standard_Real U1, + const Standard_Real U2, + const Standard_Real V1, + const Standard_Real V2, + const Standard_Real TolC1 = 1.0e-10, + const Standard_Real TolC2 = 1.0e-10); + + //! Initializes but does not perform algorithm. + Standard_EXPORT void Initialize(const Adaptor3d_Curve& C1, + const Adaptor3d_Curve& C2, + const Standard_Real TolC1 = 1.0e-10, + const Standard_Real TolC2 = 1.0e-10); + + //! Initializes but does not perform algorithm. + Standard_EXPORT void Initialize(const Adaptor3d_Curve& C1, + const Adaptor3d_Curve& C2, + const Standard_Real U1, + const Standard_Real U2, + const Standard_Real V1, + const Standard_Real V2, + const Standard_Real TolC1 = 1.0e-10, + const Standard_Real TolC2 = 1.0e-10); + + Standard_EXPORT void SetCurve(const Standard_Integer theRank, const Adaptor3d_Curve& C); + + Standard_EXPORT void SetCurve(const Standard_Integer theRank, + const Adaptor3d_Curve& C, + const Standard_Real Uinf, + const Standard_Real Usup); + + Standard_EXPORT void SetRange(const Standard_Integer theRank, + const Standard_Real Uinf, + const Standard_Real Usup); + + Standard_EXPORT void SetTolerance(const Standard_Integer theRank, const Standard_Real Tol); + + Standard_EXPORT void Perform(); + + //! Returns True if the distances are found. + Standard_EXPORT Standard_Boolean IsDone() const; + + //! Returns the number of extremum distances. + Standard_EXPORT Standard_Integer NbExt() const; + + //! Returns True if the two curves are parallel. + Standard_EXPORT Standard_Boolean IsParallel() const; + + //! Returns the value of the Nth extremum square distance. + Standard_EXPORT Standard_Real SquareDistance(const Standard_Integer N = 1) const; + + //! Returns the points of the Nth extremum distance. + //! P1 is on the first curve, P2 on the second one. + Standard_EXPORT void Points(const Standard_Integer N, + Extrema_POnCurv& P1, + Extrema_POnCurv& P2) const; + + //! if the curve is a trimmed curve, + //! dist11 is a square distance between the point on C1 + //! of parameter FirstParameter and the point of + //! parameter FirstParameter on C2. + Standard_EXPORT void TrimmedSquareDistances(Standard_Real& dist11, + Standard_Real& distP12, + Standard_Real& distP21, + Standard_Real& distP22, + gp_Pnt& P11, + gp_Pnt& P12, + gp_Pnt& P21, + gp_Pnt& P22) const; + + //! Set flag for single extrema computation. Works on parametric solver only. + Standard_EXPORT void SetSingleSolutionFlag(const Standard_Boolean theSingleSolutionFlag); + + //! Get flag for single extrema computation. Works on parametric solver only. + Standard_EXPORT Standard_Boolean GetSingleSolutionFlag() const; + +protected: + //! Prepares the extrema result(s) for analytical cases (line, circle, ellipsis etc.) + Standard_EXPORT void PrepareResults(const Extrema_ExtElC& AlgExt, + const Standard_Boolean theIsInverse, + const Standard_Real Ut11, + const Standard_Real Ut12, + const Standard_Real Ut21, + const Standard_Real Ut22); + + //! Prepares the extrema result(s) for general cases (e.g. with B-spline curves). + Standard_EXPORT void PrepareResults(const Extrema_ECC& AlgExt, + const Standard_Real Ut11, + const Standard_Real Ut12, + const Standard_Real Ut21, + const Standard_Real Ut22); + + //! Prepares the extrema result(s) in case when the given curves are parallel. + Standard_EXPORT void PrepareParallelResult(const Standard_Real theUt11, + const Standard_Real theUt12, + const Standard_Real theUt21, + const Standard_Real theUt22, + const Standard_Real theSqDist); + + // Clears all found extremas. + // This method does not change any flags (e.g. Done or IsParallel) + void ClearSolutions() + { + mySqDist.Clear(); + mypoints.Clear(); + } + +private: + // disallow copies + Extrema_ExtCC(Extrema_ExtCC&) Standard_DELETE; + Extrema_ExtCC& operator=(Extrema_ExtCC&) Standard_DELETE; + +private: + Standard_Boolean myIsFindSingleSolution; // Default value is false. + Extrema_ECC myECC; + Standard_Boolean myDone; + Standard_Boolean myIsParallel; + Extrema_SequenceOfPOnCurv mypoints; + TColStd_SequenceOfReal mySqDist; + const Adaptor3d_Curve* myC[2]; + Standard_Real myInf[2]; + Standard_Real mySup[2]; + Standard_Real myTol[2]; + gp_Pnt myP1f; + gp_Pnt myP1l; + gp_Pnt myP2f; + gp_Pnt myP2l; + Standard_Real mydist11; + Standard_Real mydist12; + Standard_Real mydist21; + Standard_Real mydist22; +}; + +#endif // _Extrema_ExtCC_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_GenExtCS.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_GenExtCS.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e86ee64a6a5fb2a6b6f55b5fd5c7b969edc8d645 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_GenExtCS.hxx @@ -0,0 +1,165 @@ +// Created on: 1996-01-23 +// Created by: Laurent PAINNOT +// Copyright (c) 1996-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 _Extrema_GenExtCS_HeaderFile +#define _Extrema_GenExtCS_HeaderFile + +#include +#include + +class Adaptor3d_Curve; +class Adaptor3d_Surface; +class Extrema_POnCurv; +class Extrema_POnSurf; + +//! It calculates all the extremum distances +//! between acurve and a surface. +//! These distances can be minimum or maximum. +class Extrema_GenExtCS +{ +public: + DEFINE_STANDARD_ALLOC + + //! Empty constructor. + Standard_EXPORT Extrema_GenExtCS(); + + //! Destructor. + Standard_EXPORT ~Extrema_GenExtCS(); + + //! It calculates all the distances. + //! The function F(u,v)=distance(S1(u1,v1),S2(u2,v2)) has an + //! extremum when gradient(F)=0. The algorithm searches + //! all the zeros inside the definition ranges of the + //! surfaces. + //! NbU and NbV are used to locate the close points on the + //! surface and NbT on the curve to find the zeros. + Standard_EXPORT Extrema_GenExtCS(const Adaptor3d_Curve& C, + const Adaptor3d_Surface& S, + const Standard_Integer NbT, + const Standard_Integer NbU, + const Standard_Integer NbV, + const Standard_Real Tol1, + const Standard_Real Tol2); + + //! It calculates all the distances. + //! The function F(u,v)=distance(P,S(u,v)) has an + //! extremum when gradient(F)=0. The algorithm searches + //! all the zeros inside the definition ranges of the + //! surface. + //! NbT,NbU and NbV are used to locate the close points + //! to find the zeros. + Standard_EXPORT Extrema_GenExtCS(const Adaptor3d_Curve& C, + const Adaptor3d_Surface& S, + const Standard_Integer NbT, + const Standard_Integer NbU, + const Standard_Integer NbV, + const Standard_Real tmin, + const Standard_Real tsup, + const Standard_Real Umin, + const Standard_Real Usup, + const Standard_Real Vmin, + const Standard_Real Vsup, + const Standard_Real Tol1, + const Standard_Real Tol2); + + Standard_EXPORT void Initialize(const Adaptor3d_Surface& S, + const Standard_Integer NbU, + const Standard_Integer NbV, + const Standard_Real Tol2); + + Standard_EXPORT void Initialize(const Adaptor3d_Surface& S, + const Standard_Integer NbU, + const Standard_Integer NbV, + const Standard_Real Umin, + const Standard_Real Usup, + const Standard_Real Vmin, + const Standard_Real Vsup, + const Standard_Real Tol2); + + //! the algorithm is done with S + //! An exception is raised if the fields have not + //! been initialized. + Standard_EXPORT void Perform(const Adaptor3d_Curve& C, + const Standard_Integer NbT, + const Standard_Real Tol1); + + //! the algorithm is done with C + //! An exception is raised if the fields have not + //! been initialized. + Standard_EXPORT void Perform(const Adaptor3d_Curve& C, + const Standard_Integer NbT, + const Standard_Real tmin, + const Standard_Real tsup, + const Standard_Real Tol1); + + //! Returns True if the distances are found. + Standard_EXPORT Standard_Boolean IsDone() const; + + //! Returns the number of extremum distances. + Standard_EXPORT Standard_Integer NbExt() const; + + //! Returns the value of the Nth resulting square distance. + Standard_EXPORT Standard_Real SquareDistance(const Standard_Integer N) const; + + //! Returns the point of the Nth resulting distance. + Standard_EXPORT const Extrema_POnCurv& PointOnCurve(const Standard_Integer N) const; + + //! Returns the point of the Nth resulting distance. + Standard_EXPORT const Extrema_POnSurf& PointOnSurface(const Standard_Integer N) const; + +private: + Standard_EXPORT void GlobMinGenCS(const Adaptor3d_Curve& theC, + const Standard_Integer theNbParticles, + const math_Vector& theTUVinf, + const math_Vector& theTUVsup, + math_Vector& theTUV); + + Standard_EXPORT void GlobMinConicS(const Adaptor3d_Curve& theC, + const Standard_Integer theNbParticles, + const math_Vector& theTUVinf, + const math_Vector& theTUVsup, + math_Vector& theTUV); + + Standard_EXPORT void GlobMinCQuadric(const Adaptor3d_Curve& theC, + const Standard_Integer theNbParticles, + const math_Vector& theTUVinf, + const math_Vector& theTUVsup, + math_Vector& theTUV); + +private: + // disallow copies + Extrema_GenExtCS(const Extrema_GenExtCS&) Standard_DELETE; + Extrema_GenExtCS& operator=(const Extrema_GenExtCS&) Standard_DELETE; + +private: + Standard_Boolean myDone; + Standard_Real mytmin; + Standard_Real mytsup; + Standard_Real myumin; + Standard_Real myusup; + Standard_Real myvmin; + Standard_Real myvsup; + Standard_Integer mytsample; + Standard_Integer myusample; + Standard_Integer myvsample; + Standard_Real mytol1; + Standard_Real mytol2; + Extrema_FuncExtCS myF; + const Adaptor3d_Surface* myS; + Handle(TColgp_HArray2OfPnt) mySurfPnts; +}; + +#endif // _Extrema_GenExtCS_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e4e4a8192be7f04b7a89ffc8899794878d0f0dea --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Extrema_PCFOfEPCOfELPCOfLocateExtPC.hxx @@ -0,0 +1,106 @@ +// Created on: 1991-02-26 +// Created by: Isabelle GRIGNON +// 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. + +#ifndef _Extrema_PCFOfEPCOfELPCOfLocateExtPC_HeaderFile +#define _Extrema_PCFOfEPCOfELPCOfLocateExtPC_HeaderFile + +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_TypeMismatch; +class Adaptor3d_Curve; +class Extrema_CurveTool; +class Extrema_POnCurv; +class gp_Pnt; +class gp_Vec; + +class Extrema_PCFOfEPCOfELPCOfLocateExtPC : public math_FunctionWithDerivative +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT Extrema_PCFOfEPCOfELPCOfLocateExtPC(); + + Standard_EXPORT Extrema_PCFOfEPCOfELPCOfLocateExtPC(const gp_Pnt& P, const Adaptor3d_Curve& C); + + //! sets the field mycurve of the function. + Standard_EXPORT void Initialize(const Adaptor3d_Curve& C); + + //! sets the field P of the function. + Standard_EXPORT void SetPoint(const gp_Pnt& P); + + //! Calculation of F(U). + Standard_EXPORT Standard_Boolean Value(const Standard_Real U, Standard_Real& F) Standard_OVERRIDE; + + //! Calculation of F'(U). + Standard_EXPORT Standard_Boolean Derivative(const Standard_Real U, + Standard_Real& DF) Standard_OVERRIDE; + + //! Calculation of F(U) and F'(U). + Standard_EXPORT Standard_Boolean Values(const Standard_Real U, + Standard_Real& F, + Standard_Real& DF) Standard_OVERRIDE; + + //! Save the found extremum. + Standard_EXPORT virtual Standard_Integer GetStateNumber() Standard_OVERRIDE; + + //! Return the number of found extrema. + Standard_EXPORT Standard_Integer NbExt() const; + + //! Returns the Nth distance. + Standard_EXPORT Standard_Real SquareDistance(const Standard_Integer N) const; + + //! Shows if the Nth distance is a minimum. + Standard_EXPORT Standard_Boolean IsMin(const Standard_Integer N) const; + + //! Returns the Nth extremum. + Standard_EXPORT const Extrema_POnCurv& Point(const Standard_Integer N) const; + + //! Determines boundaries of subinterval for find of root. + Standard_EXPORT void SubIntervalInitialize(const Standard_Real theUfirst, + const Standard_Real theUlast); + + //! Computes a Tol value. If 1st derivative of curve + //! |D1| +#include + +//! Tool for encoding/decoding base64 stream. +class FSD_Base64 +{ +public: + //! Function encoding a buffer to base64 string. + //! @param[out] theEncodedStr the place for encoded string. Terminating null is not put. + //! If it is NULL just return the needed size. + //! @param[in] theStrLen the length of the buffer theEncodedStr in bytes. + //! This value must not be less than value returned when theEncodedStr is + //! NULL. + //! @param[in] theData the input binary data. + //! @param[in] theDataLen the length of input data in bytes. + //! @return the length of the encoded string not including terminating null. + //! If theStrLen is not enough for storing all data nothing is written and 0 is returned. + Standard_EXPORT static Standard_Size Encode(char* theEncodedStr, + const Standard_Size theStrLen, + const Standard_Byte* theData, + const Standard_Size theDataLen); + + //! Function encoding a buffer to base64 string. + //! @param[in] theData the input binary data + //! @param[in] theDataLen the length of input data in bytes + //! @return Base64 encoded string. + Standard_EXPORT static TCollection_AsciiString Encode(const Standard_Byte* theData, + const Standard_Size theDataLen); + + //! Function decoding base64 string. + //! @param[out] theDecodedData the place for decoded data. + //! If it is NULL just return the needed size. + //! @param[in] theDataLen the length of the buffer theDecodedData in bytes. + //! This value must not be less than value returned when theDecodedData is + //! NULL. + //! @param[in] theEncodedStr the input encoded string. + //! @param[in] theStrLen the length of input encoded string. + //! @return the length of the decoded data in bytes. If theDataLen is not enough + //! for storing all data nothing is written and 0 is returned. + Standard_EXPORT static Standard_Size Decode(Standard_Byte* theDecodedData, + const Standard_Size theDataLen, + Standard_CString theEncodedStr, + const Standard_Size theStrLen); + + //! Function decoding base64 string. + //! @param[in] theStr the input encoded string + //! @param[in] theLen the length of input encoded string + //! @return null handle in case of out of memory condition + Standard_EXPORT static Handle(NCollection_Buffer) Decode(Standard_CString theStr, + const Standard_Size theLen); +}; + +#endif // _FSD_Base64_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/FairCurve_Newton.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/FairCurve_Newton.hxx new file mode 100644 index 0000000000000000000000000000000000000000..a4a69d8ad5715c27d1c24bffbab45c2fae59ba48 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/FairCurve_Newton.hxx @@ -0,0 +1,58 @@ +// Created on: 1996-10-11 +// Created by: Philippe MANGIN +// Copyright (c) 1996-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 _FairCurve_Newton_HeaderFile +#define _FairCurve_Newton_HeaderFile + +#include +#include +#include + +#include +class math_MultipleVarFunctionWithHessian; + +//! Algorithme of Optimization used to make "FairCurve" +class FairCurve_Newton : public math_NewtonMinimum +{ +public: + DEFINE_STANDARD_ALLOC + + //! The tolerance required on the solution is given by Tolerance. + //! Iteration are stopped if (!WithSingularity) and H(F(Xi)) is not definite + //! positive (if the smaller eigenvalue of H < Convexity) + //! or IsConverged() returns True for 2 successives Iterations. + //! Warning: This constructor do not computation + Standard_EXPORT FairCurve_Newton(const math_MultipleVarFunctionWithHessian& theFunction, + const Standard_Real theSpatialTolerance = 1.0e-7, + const Standard_Real theCriteriumTolerance = 1.0e-7, + const Standard_Integer theNbIterations = 40, + const Standard_Real theConvexity = 1.0e-6, + const Standard_Boolean theWithSingularity = Standard_True); + + //! This method is called at the end of each + //! iteration to check the convergence : + //! || Xi+1 - Xi || < SpatialTolerance/100 Or + //! || Xi+1 - Xi || < SpatialTolerance and + //! |F(Xi+1) - F(Xi)| < CriteriumTolerance * |F(xi)| + //! It can be redefined in a sub-class to implement a specific test. + Standard_EXPORT virtual Standard_Boolean IsConverged() const Standard_OVERRIDE; + +protected: +private: + Standard_Real mySpTol; +}; + +#endif // _FairCurve_Newton_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Font_BRepFont.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Font_BRepFont.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9e80e1184754d932f1566479bc700aa84ad2d54d --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Font_BRepFont.hxx @@ -0,0 +1,23 @@ +// Created on: 2013-09-16 +// Copyright (c) 2013-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 Font_BRepFont_HeaderFile +#define Font_BRepFont_HeaderFile + +#include + +//! Alias for porting from old name. +typedef StdPrs_BRepFont Font_BRepFont; + +#endif // _Font_BRepFont_H__ diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GC_MakeTrimmedCylinder.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GC_MakeTrimmedCylinder.hxx new file mode 100644 index 0000000000000000000000000000000000000000..40b24c00399f59cd35de6f07b2968978c6ff84bf --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GC_MakeTrimmedCylinder.hxx @@ -0,0 +1,80 @@ +// Created on: 1992-09-28 +// Created by: Remi GILET +// Copyright (c) 1992-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 _GC_MakeTrimmedCylinder_HeaderFile +#define _GC_MakeTrimmedCylinder_HeaderFile + +#include +#include +#include + +#include +#include + +class gp_Pnt; +class gp_Circ; +class gp_Ax1; + +//! Implements construction algorithms for a trimmed +//! cylinder limited by two planes orthogonal to its axis. +//! The result is a Geom_RectangularTrimmedSurface surface. +//! A MakeTrimmedCylinder provides a framework for: +//! - defining the construction of the trimmed cylinder, +//! - implementing the construction algorithm, and +//! - consulting the results. In particular, the Value +//! function returns the constructed trimmed cylinder. +class GC_MakeTrimmedCylinder : public GC_Root +{ +public: + DEFINE_STANDARD_ALLOC + + //! Make a cylindricalSurface from Geom + //! Its axis is and its radius is the distance + //! between and . + //! The height is the distance between P1 and P2. + Standard_EXPORT GC_MakeTrimmedCylinder(const gp_Pnt& P1, const gp_Pnt& P2, const gp_Pnt& P3); + + //! Make a cylindricalSurface from gp by its base . + //! Its axis is the normal to the plane defined bi . + //! can be greater than zero or lower than zero. + //! In the first case the V parametric direction of the + //! result has the same orientation as the normal to . + //! In the other case it has the opposite orientation. + Standard_EXPORT GC_MakeTrimmedCylinder(const gp_Circ& Circ, const Standard_Real Height); + + //! Make a cylindricalSurface from gp by its + //! axis and its radius . + //! It returns NullObject if is lower than zero. + //! can be greater than zero or lower than zero. + //! In the first case the V parametric direction of the + //! result has the same orientation as . + //! In the other case it has the opposite orientation. + Standard_EXPORT GC_MakeTrimmedCylinder(const gp_Ax1& A1, + const Standard_Real Radius, + const Standard_Real Height); + + //! Returns the constructed trimmed cylinder. + //! Exceptions + //! StdFail_NotDone if no trimmed cylinder is constructed. + Standard_EXPORT const Handle(Geom_RectangularTrimmedSurface)& Value() const; + + operator const Handle(Geom_RectangularTrimmedSurface) & () const { return Value(); } + +private: + Handle(Geom_RectangularTrimmedSurface) TheCyl; +}; + +#endif // _GC_MakeTrimmedCylinder_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dGcc_Circ2d2TanOnGeo.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dGcc_Circ2d2TanOnGeo.hxx new file mode 100644 index 0000000000000000000000000000000000000000..7d4da1f778cfb9c567558321bdb4909a2af1db18 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dGcc_Circ2d2TanOnGeo.hxx @@ -0,0 +1,212 @@ +// Created on: 1991-03-29 +// Created by: Remi GILET +// 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. + +#ifndef _Geom2dGcc_Circ2d2TanOnGeo_HeaderFile +#define _Geom2dGcc_Circ2d2TanOnGeo_HeaderFile + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class GccEnt_QualifiedCirc; +class Geom2dAdaptor_Curve; +class GccEnt_QualifiedLin; +class gp_Pnt2d; +class gp_Circ2d; + +//! This class implements the algorithms used to +//! create 2d circles TANgent to 2 entities and +//! having the center ON a curve. +//! The order of the tangency argument is always +//! QualifiedCirc, QualifiedLin, QualifiedCurv, Pnt2d. +//! the arguments are : +//! - The two tangency arguments (lines, circles or points). +//! - The center line (a curve). +//! - The parameter for each tangency argument which +//! is a curve. +//! - The tolerance. +class Geom2dGcc_Circ2d2TanOnGeo +{ +public: + DEFINE_STANDARD_ALLOC + + //! This method implements the algorithms used to + //! create 2d circles TANgent to two 2d circles and + //! having the center ON a curve. + Standard_EXPORT Geom2dGcc_Circ2d2TanOnGeo(const GccEnt_QualifiedCirc& Qualified1, + const GccEnt_QualifiedCirc& Qualified2, + const Geom2dAdaptor_Curve& OnCurv, + const Standard_Real Tolerance); + + //! This method implements the algorithms used to + //! create 2d circles TANgent to a 2d circle and a 2d line + //! having the center ON a curve. + Standard_EXPORT Geom2dGcc_Circ2d2TanOnGeo(const GccEnt_QualifiedCirc& Qualified1, + const GccEnt_QualifiedLin& Qualified2, + const Geom2dAdaptor_Curve& OnCurv, + const Standard_Real Tolerance); + + //! This method implements the algorithms used to + //! create 2d circles TANgent to a 2d circle and a point + //! having the center ON a curve. + Standard_EXPORT Geom2dGcc_Circ2d2TanOnGeo(const GccEnt_QualifiedCirc& Qualified1, + const gp_Pnt2d& Point2, + const Geom2dAdaptor_Curve& OnCurv, + const Standard_Real Tolerance); + + //! This method implements the algorithms used to + //! create 2d circles TANgent to two 2d lines + //! having the center ON a curve. + Standard_EXPORT Geom2dGcc_Circ2d2TanOnGeo(const GccEnt_QualifiedLin& Qualified1, + const GccEnt_QualifiedLin& Qualified2, + const Geom2dAdaptor_Curve& OnCurv, + const Standard_Real Tolerance); + + //! This method implements the algorithms used to + //! create 2d circles TANgent to a 2d line and a point + //! having the center ON a 2d line. + Standard_EXPORT Geom2dGcc_Circ2d2TanOnGeo(const GccEnt_QualifiedLin& Qualified1, + const gp_Pnt2d& Qualified2, + const Geom2dAdaptor_Curve& OnCurv, + const Standard_Real Tolerance); + + //! This method implements the algorithms used to + //! create 2d circles TANgent to two points + //! having the center ON a 2d line. + Standard_EXPORT Geom2dGcc_Circ2d2TanOnGeo(const gp_Pnt2d& Point1, + const gp_Pnt2d& Point2, + const Geom2dAdaptor_Curve& OnCurv, + const Standard_Real Tolerance); + + //! This method returns True if the construction + //! algorithm succeeded. + Standard_EXPORT Standard_Boolean IsDone() const; + + //! This method returns the number of solutions. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + Standard_EXPORT Standard_Integer NbSolutions() const; + + //! Returns the solution number Index and raises OutOfRange + //! exception if Index is greater than the number of solutions. + //! Be careful: the Index is only a way to get all the + //! solutions, but is not associated to those outside the + //! context of the algorithm-object. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + //! It raises OutOfRange if Index is greater than the + //! number of solutions. + Standard_EXPORT gp_Circ2d ThisSolution(const Standard_Integer Index) const; + + //! It returns the information about the qualifiers of + //! the tangency + //! arguments concerning the solution number Index. + //! It returns the real qualifiers (the qualifiers given to the + //! constructor method in case of enclosed, enclosing and outside + //! and the qualifiers computedin case of unqualified). + Standard_EXPORT void WhichQualifier(const Standard_Integer Index, + GccEnt_Position& Qualif1, + GccEnt_Position& Qualif2) const; + + //! Returns information about the tangency point between the + //! result number Index and the first argument. + //! ParSol is the intrinsic parameter of the point on the + //! solution curv. + //! ParArg is the intrinsic parameter of the point on the + //! argument curv. + //! PntSol is the tangency point on the solution curv. + //! PntArg is the tangency point on the argument curv. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + //! It raises OutOfRange if Index is greater than the + //! number of solutions. + Standard_EXPORT void Tangency1(const Standard_Integer Index, + Standard_Real& ParSol, + Standard_Real& ParArg, + gp_Pnt2d& PntSol) const; + + //! Returns information about the tangency point between the + //! result number Index and the second argument. + //! ParSol is the intrinsic parameter of the point on the + //! solution curv. + //! ParArg is the intrinsic parameter of the point on the + //! argument curv. + //! PntSol is the tangency point on the solution curv. + //! PntArg is the tangency point on the argument curv. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + //! It raises OutOfRange if Index is greater than the + //! number of solutions. + Standard_EXPORT void Tangency2(const Standard_Integer Index, + Standard_Real& ParSol, + Standard_Real& ParArg, + gp_Pnt2d& PntSol) const; + + //! Returns information about the center (on the curv) + //! of the result. + //! ParArg is the intrinsic parameter of the point on + //! the argument curv. + //! PntSol is the center point of the solution curv. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + //! It raises OutOfRange if Index is greater than the + //! number of solutions. + Standard_EXPORT void CenterOn3(const Standard_Integer Index, + Standard_Real& ParArg, + gp_Pnt2d& PntSol) const; + + //! Returns True if the solution number Index is equal to + //! the first argument and False in the other cases. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + //! It raises OutOfRange if Index is greater than the + //! number of solutions. + Standard_EXPORT Standard_Boolean IsTheSame1(const Standard_Integer Index) const; + + //! Returns True if the solution number Index is equal to + //! the second argument and False in the other cases. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + //! It raises OutOfRange if Index is greater than the + //! number of solutions. + Standard_EXPORT Standard_Boolean IsTheSame2(const Standard_Integer Index) const; + +protected: +private: + Standard_Boolean WellDone; + Standard_Integer NbrSol; + TColgp_Array1OfCirc2d cirsol; + GccEnt_Array1OfPosition qualifier1; + GccEnt_Array1OfPosition qualifier2; + TColStd_Array1OfInteger TheSame1; + TColStd_Array1OfInteger TheSame2; + TColgp_Array1OfPnt2d pnttg1sol; + TColgp_Array1OfPnt2d pnttg2sol; + TColgp_Array1OfPnt2d pntcen; + TColStd_Array1OfReal par1sol; + TColStd_Array1OfReal par2sol; + TColStd_Array1OfReal pararg1; + TColStd_Array1OfReal pararg2; + TColStd_Array1OfReal parcen3; +}; + +#endif // _Geom2dGcc_Circ2d2TanOnGeo_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dGcc_Circ2dTanOnRadGeo.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dGcc_Circ2dTanOnRadGeo.hxx new file mode 100644 index 0000000000000000000000000000000000000000..aeec619e47dc747c53db6b0286f6bae059fb77ad --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dGcc_Circ2dTanOnRadGeo.hxx @@ -0,0 +1,199 @@ +// Created on: 1991-04-03 +// Created by: Remi GILET +// 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. + +#ifndef _Geom2dGcc_Circ2dTanOnRadGeo_HeaderFile +#define _Geom2dGcc_Circ2dTanOnRadGeo_HeaderFile + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class Geom2dGcc_QCurve; +class gp_Lin2d; +class gp_Circ2d; +class GccEnt_QualifiedCirc; +class Geom2dAdaptor_Curve; +class GccEnt_QualifiedLin; +class gp_Pnt2d; + +//! This class implements the algorithms used to +//! create a 2d circle tangent to a 2d entity, +//! centered on a 2d entity and with a given radius. +//! More than one argument must be a curve. +//! The arguments of all construction methods are : +//! - The qualified element for the tangency constrains +//! (QualifiedCirc, QualifiedLin, QualifiedCurvPoints). +//! - The Center element (circle, line, curve). +//! - A real Tolerance. +//! Tolerance is only used in the limits cases. +//! For example : +//! We want to create a circle tangent to an OutsideCurv Cu1 +//! centered on a line OnLine with a radius Radius and with +//! a tolerance Tolerance. +//! If we did not use Tolerance it is impossible to +//! find a solution in the following case : OnLine is +//! outside Cu1. There is no intersection point between Cu1 +//! and OnLine. The distance between the line and the +//! circle is greater than Radius. +//! With Tolerance we will give a solution if the +//! distance between Cu1 and OnLine is lower than or +//! equal Tolerance. +class Geom2dGcc_Circ2dTanOnRadGeo +{ +public: + DEFINE_STANDARD_ALLOC + + //! This methods implements the algorithms used to create + //! 2d Circles tangent to a curve and centered on a 2d Line + //! with a given radius. + //! Tolerance is used to find solution in every limit cases. + //! raises NegativeValue in case of NegativeRadius. + Standard_EXPORT Geom2dGcc_Circ2dTanOnRadGeo(const Geom2dGcc_QCurve& Qualified1, + const gp_Lin2d& OnLine, + const Standard_Real Radius, + const Standard_Real Tolerance); + + //! This methods implements the algorithms used to create + //! 2d Circles tangent to a curve and centered on a 2d Circle + //! with a given radius. + //! Tolerance is used to find solution in every limit cases. + //! raises NegativeValue in case of NegativeRadius. + Standard_EXPORT Geom2dGcc_Circ2dTanOnRadGeo(const Geom2dGcc_QCurve& Qualified1, + const gp_Circ2d& OnCirc, + const Standard_Real Radius, + const Standard_Real Tolerance); + + //! This methods implements the algorithms used to create + //! 2d Circles tangent to a circle and centered on a 2d curve + //! with a given radius. + //! Tolerance is used to find solution in every limit cases. + //! raises NegativeValue in case of NegativeRadius. + Standard_EXPORT Geom2dGcc_Circ2dTanOnRadGeo(const GccEnt_QualifiedCirc& Qualified1, + const Geom2dAdaptor_Curve& OnCurv, + const Standard_Real Radius, + const Standard_Real Tolerance); + + //! This methods implements the algorithms used to create + //! 2d Circles tangent to a 2d Line and centered on a 2d curve + //! with a given radius. + //! Tolerance is used to find solution in every limit cases. + //! raises NegativeValue in case of NegativeRadius. + Standard_EXPORT Geom2dGcc_Circ2dTanOnRadGeo(const GccEnt_QualifiedLin& Qualified1, + const Geom2dAdaptor_Curve& OnCurv, + const Standard_Real Radius, + const Standard_Real Tolerance); + + //! This methods implements the algorithms used to create + //! 2d Circles tangent to a 2d curve and centered on a 2d curve + //! with a given radius. + //! Tolerance is used to find solution in every limit cases. + //! raises NegativeValue in case of NegativeRadius. + Standard_EXPORT Geom2dGcc_Circ2dTanOnRadGeo(const Geom2dGcc_QCurve& Qualified1, + const Geom2dAdaptor_Curve& OnCurv, + const Standard_Real Radius, + const Standard_Real Tolerance); + + //! This methods implements the algorithms used to create + //! 2d Circles passing through a 2d point and centered on a + //! 2d curve with a given radius. + //! Tolerance is used to find solution in every limit cases. + //! raises NegativeValue in case of NegativeRadius. + Standard_EXPORT Geom2dGcc_Circ2dTanOnRadGeo(const gp_Pnt2d& Point1, + const Geom2dAdaptor_Curve& OnCurv, + const Standard_Real Radius, + const Standard_Real Tolerance); + + //! This method returns True if the construction + //! algorithm succeeded. + Standard_EXPORT Standard_Boolean IsDone() const; + + //! This method returns the number of solutions. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + Standard_EXPORT Standard_Integer NbSolutions() const; + + //! Returns the solution number Index and raises OutOfRange + //! exception if Index is greater than the number of solutions. + //! Be careful: the Index is only a way to get all the + //! solutions, but is not associated to these outside the + //! context of the algorithm-object. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + //! It raises OutOfRange if Index is greater than the + //! number of solutions. + Standard_EXPORT gp_Circ2d ThisSolution(const Standard_Integer Index) const; + + Standard_EXPORT void WhichQualifier(const Standard_Integer Index, GccEnt_Position& Qualif1) const; + + //! Returns information about the tangency point between the + //! result number Index and the first argument. + //! ParSol is the intrinsic parameter of the point on the + //! solution curv. + //! ParArg is the intrinsic parameter of the point on the + //! argument curv. + //! PntSol is the tangency point on the solution curv. + //! PntArg is the tangency point on the argument curv. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + //! It raises OutOfRange if Index is greater than the + //! number of solutions. + Standard_EXPORT void Tangency1(const Standard_Integer Index, + Standard_Real& ParSol, + Standard_Real& ParArg, + gp_Pnt2d& PntSol) const; + + //! Returns information about the center (on the curv) + //! of the result. + //! ParArg is the intrinsic parameter of the point on + //! the argument curv. + //! PntSol is the center point of the solution curv. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + //! It raises OutOfRange if Index is greater than the + //! number of solutions. + Standard_EXPORT void CenterOn3(const Standard_Integer Index, + Standard_Real& ParArg, + gp_Pnt2d& PntSol) const; + + //! Returns True if the solution number Index is equal to + //! the first argument and False in the other cases. + //! It raises NotDone if the construction algorithm + //! didn't succeed. + //! It raises OutOfRange if Index is greater than the + //! number of solutions. + Standard_EXPORT Standard_Boolean IsTheSame1(const Standard_Integer Index) const; + +protected: +private: + Standard_Boolean WellDone; + Standard_Integer NbrSol; + TColgp_Array1OfCirc2d cirsol; + GccEnt_Array1OfPosition qualifier1; + TColStd_Array1OfInteger TheSame1; + TColgp_Array1OfPnt2d pnttg1sol; + TColgp_Array1OfPnt2d pntcen3; + TColStd_Array1OfReal par1sol; + TColStd_Array1OfReal pararg1; + TColStd_Array1OfReal parcen3; +}; + +#endif // _Geom2dGcc_Circ2dTanOnRadGeo_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dHatch_Classifier.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dHatch_Classifier.hxx new file mode 100644 index 0000000000000000000000000000000000000000..83eeaea4f562199ff1a17135d54acf24646d7190 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dHatch_Classifier.hxx @@ -0,0 +1,111 @@ +// Created on: 1994-02-03 +// Created by: Jean Marc LACHAUME +// 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. + +#ifndef _Geom2dHatch_Classifier_HeaderFile +#define _Geom2dHatch_Classifier_HeaderFile + +#include +#include + +#include +#include +#include +#include +class Standard_DomainError; +class Geom2dHatch_Elements; +class Geom2dAdaptor_Curve; +class Geom2dHatch_Intersector; +class Geom2dHatch_FClass2dOfClassifier; +class gp_Pnt2d; + +class Geom2dHatch_Classifier +{ +public: + DEFINE_STANDARD_ALLOC + + //! Empty constructor, undefined algorithm. + Standard_EXPORT Geom2dHatch_Classifier(); + + //! Creates an algorithm to classify the Point P with + //! Tolerance on the face described by . + Standard_EXPORT Geom2dHatch_Classifier(Geom2dHatch_Elements& F, + const gp_Pnt2d& P, + const Standard_Real Tol); + + //! Classify the Point P with Tolerance on the + //! face described by . + Standard_EXPORT void Perform(Geom2dHatch_Elements& F, const gp_Pnt2d& P, const Standard_Real Tol); + + //! Returns the result of the classification. + Standard_EXPORT TopAbs_State State() const; + + //! Returns True when the state was computed by a + //! rejection. The state is OUT. + Standard_Boolean Rejected() const; + + //! Returns True if the face contains no wire. The + //! state is IN. + Standard_Boolean NoWires() const; + + //! Returns the Edge used to determine the + //! classification. When the State is ON this is the + //! Edge containing the point. + Standard_EXPORT const Geom2dAdaptor_Curve& Edge() const; + + //! Returns the parameter on Edge() used to determine the + //! classification. + Standard_EXPORT Standard_Real EdgeParameter() const; + + //! Returns the position of the point on the edge + //! returned by Edge. + IntRes2d_Position Position() const; + +protected: + Geom2dHatch_FClass2dOfClassifier myClassifier; + Geom2dAdaptor_Curve myEdge; + Standard_Real myEdgeParameter; + IntRes2d_Position myPosition; + Standard_Boolean rejected; + Standard_Boolean nowires; + +private: +}; + +#define TheFaceExplorer Geom2dHatch_Elements +#define TheFaceExplorer_hxx +#define TheEdge Geom2dAdaptor_Curve +#define TheEdge_hxx +#define TheIntersection2d Geom2dHatch_Intersector +#define TheIntersection2d_hxx +#define TopClass_FClass2d Geom2dHatch_FClass2dOfClassifier +#define TopClass_FClass2d_hxx +#define TopClass_FaceClassifier Geom2dHatch_Classifier +#define TopClass_FaceClassifier_hxx + +#include + +#undef TheFaceExplorer +#undef TheFaceExplorer_hxx +#undef TheEdge +#undef TheEdge_hxx +#undef TheIntersection2d +#undef TheIntersection2d_hxx +#undef TopClass_FClass2d +#undef TopClass_FClass2d_hxx +#undef TopClass_FaceClassifier +#undef TopClass_FaceClassifier_hxx + +#endif // _Geom2dHatch_Classifier_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx new file mode 100644 index 0000000000000000000000000000000000000000..4e42fdc19ecd5bcd21ebf3f2497727d90df44f7e --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter.hxx @@ -0,0 +1,108 @@ +// Created on: 1992-06-04 +// Created by: Jacques GOUSSARD +// Copyright (c) 1992-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 _Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_HeaderFile +#define _Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class Standard_TypeMismatch; +class Adaptor2d_Curve2d; +class Geom2dInt_Geom2dCurveTool; +class Extrema_POnCurv2d; +class gp_Pnt2d; +class gp_Vec2d; + +class Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter : public math_FunctionWithDerivative +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter(); + + Standard_EXPORT Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter(const gp_Pnt2d& P, + const Adaptor2d_Curve2d& C); + + //! sets the field mycurve of the function. + Standard_EXPORT void Initialize(const Adaptor2d_Curve2d& C); + + //! sets the field P of the function. + Standard_EXPORT void SetPoint(const gp_Pnt2d& P); + + //! Calculation of F(U). + Standard_EXPORT Standard_Boolean Value(const Standard_Real U, Standard_Real& F) Standard_OVERRIDE; + + //! Calculation of F'(U). + Standard_EXPORT Standard_Boolean Derivative(const Standard_Real U, + Standard_Real& DF) Standard_OVERRIDE; + + //! Calculation of F(U) and F'(U). + Standard_EXPORT Standard_Boolean Values(const Standard_Real U, + Standard_Real& F, + Standard_Real& DF) Standard_OVERRIDE; + + //! Save the found extremum. + Standard_EXPORT virtual Standard_Integer GetStateNumber() Standard_OVERRIDE; + + //! Return the number of found extrema. + Standard_EXPORT Standard_Integer NbExt() const; + + //! Returns the Nth distance. + Standard_EXPORT Standard_Real SquareDistance(const Standard_Integer N) const; + + //! Shows if the Nth distance is a minimum. + Standard_EXPORT Standard_Boolean IsMin(const Standard_Integer N) const; + + //! Returns the Nth extremum. + Standard_EXPORT const Extrema_POnCurv2d& Point(const Standard_Integer N) const; + + //! Determines boundaries of subinterval for find of root. + Standard_EXPORT void SubIntervalInitialize(const Standard_Real theUfirst, + const Standard_Real theUlast); + + //! Computes a Tol value. If 1st derivative of curve + //! |D1| +#include +#include + +#include +#include +class Standard_DomainError; +class Standard_TypeMismatch; +class StdFail_NotDone; +class Adaptor2d_Curve2d; +class Geom2dInt_Geom2dCurveTool; +class Extrema_POnCurv2d; +class gp_Pnt2d; +class gp_Vec2d; + +class Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter(); + + //! Calculates the distance with a close point. + //! The close point is defined by the parameter value + //! U0. + //! The function F(u)=distance(P,C(u)) has an extremum + //! when g(u)=dF/du=0. The algorithm searches a zero + //! near the close point. + //! TolU is used to decide to stop the iterations. + //! At the nth iteration, the criteria is: + //! abs(Un - Un-1) < TolU. + Standard_EXPORT Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter(const gp_Pnt2d& P, + const Adaptor2d_Curve2d& C, + const Standard_Real U0, + const Standard_Real TolU); + + //! Calculates the distance with a close point. + //! The close point is defined by the parameter value + //! U0. + //! The function F(u)=distance(P,C(u)) has an extremum + //! when g(u)=dF/du=0. The algorithm searches a zero + //! near the close point. + //! Zeros are searched between Umin et Usup. + //! TolU is used to decide to stop the iterations. + //! At the nth iteration, the criteria is: + //! abs(Un - Un-1) < TolU. + Standard_EXPORT Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter(const gp_Pnt2d& P, + const Adaptor2d_Curve2d& C, + const Standard_Real U0, + const Standard_Real Umin, + const Standard_Real Usup, + const Standard_Real TolU); + + //! sets the fields of the algorithm. + Standard_EXPORT void Initialize(const Adaptor2d_Curve2d& C, + const Standard_Real Umin, + const Standard_Real Usup, + const Standard_Real TolU); + + //! the algorithm is done with the point P. + //! An exception is raised if the fields have not + //! been initialized. + Standard_EXPORT void Perform(const gp_Pnt2d& P, const Standard_Real U0); + + //! Returns True if the distance is found. + Standard_EXPORT Standard_Boolean IsDone() const; + + //! Returns the value of the extremum square distance. + Standard_EXPORT Standard_Real SquareDistance() const; + + //! Returns True if the extremum distance is a minimum. + Standard_EXPORT Standard_Boolean IsMin() const; + + //! Returns the point of the extremum distance. + Standard_EXPORT const Extrema_POnCurv2d& Point() const; + +protected: +private: + Standard_Boolean myDone; + Standard_Real mytolU; + Standard_Real myumin; + Standard_Real myusup; + Geom2dInt_PCLocFOfTheLocateExtPCOfTheProjPCurOfGInter myF; +}; + +#endif // _Geom2dInt_TheLocateExtPCOfTheProjPCurOfGInter_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomFill_FunctionGuide.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomFill_FunctionGuide.hxx new file mode 100644 index 0000000000000000000000000000000000000000..f4d0880c400e821530c768f7aa66094e636bf417 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomFill_FunctionGuide.hxx @@ -0,0 +1,121 @@ +// Created on: 1998-07-09 +// Created by: Stephanie HUMEAU +// Copyright (c) 1998-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 _GeomFill_FunctionGuide_HeaderFile +#define _GeomFill_FunctionGuide_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include + +class Adaptor3d_Curve; +class GeomFill_SectionLaw; +class Geom_Curve; +class Geom_Surface; +class gp_Pnt; +class math_Matrix; +class gp_Vec; + +class GeomFill_FunctionGuide : public math_FunctionSetWithDerivatives +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT GeomFill_FunctionGuide(const Handle(GeomFill_SectionLaw)& S, + const Handle(Adaptor3d_Curve)& Guide, + const Standard_Real ParamOnLaw = 0.0); + + Standard_EXPORT void SetParam(const Standard_Real Param, + const gp_Pnt& Centre, + const gp_XYZ& Dir, + const gp_XYZ& XDir); + + //! returns the number of variables of the function. + Standard_EXPORT virtual Standard_Integer NbVariables() const Standard_OVERRIDE; + + //! returns the number of equations of the function. + Standard_EXPORT virtual Standard_Integer NbEquations() const Standard_OVERRIDE; + + //! computes the values of the Functions for the + //! variable . + //! Returns True if the computation was done successfully, + //! False otherwise. + Standard_EXPORT virtual Standard_Boolean Value(const math_Vector& X, + math_Vector& F) Standard_OVERRIDE; + + //! returns the values of the derivatives for the + //! variable . + //! Returns True if the computation was done successfully, + //! False otherwise. + Standard_EXPORT virtual Standard_Boolean Derivatives(const math_Vector& X, + math_Matrix& D) Standard_OVERRIDE; + + //! returns the values of the functions and the derivatives + //! for the variable . + //! Returns True if the computation was done successfully, + //! False otherwise. + Standard_EXPORT virtual Standard_Boolean Values(const math_Vector& X, + math_Vector& F, + math_Matrix& D) Standard_OVERRIDE; + + //! returns the values of the T derivatives for + //! the parameter Param . + Standard_EXPORT Standard_Boolean DerivT(const math_Vector& X, + const gp_XYZ& DCentre, + const gp_XYZ& DDir, + math_Vector& DFDT); + + //! returns the values of the T2 derivatives for + //! the parameter Param . + //! returns the values of the TX derivatives for + //! the parameter Param . + //! returns Boolean is static; + //! returns the values of the X2 derivatives for + //! the parameter Param . + //! returns Boolean is static; + Standard_EXPORT Standard_Boolean Deriv2T(const gp_XYZ& DCentre, + const gp_XYZ& DDir, + math_Vector& DFDT, + math_Vector& D2FT); + +protected: +private: + Standard_EXPORT void DSDT(const Standard_Real U, + const Standard_Real V, + const gp_XYZ& DCentre, + const gp_XYZ& DDir, + gp_Vec& DSDT) const; + + Handle(Adaptor3d_Curve) TheGuide; + Handle(GeomFill_SectionLaw) TheLaw; + Standard_Boolean isconst; + Handle(Geom_Curve) TheCurve; + Handle(Geom_Curve) TheConst; + Handle(Geom_Surface) TheSurface; + Standard_Real First; + Standard_Real Last; + Standard_Real TheUonS; + gp_XYZ Centre; + gp_XYZ Dir; +}; + +#endif // _GeomFill_FunctionGuide_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomFill_PipeError.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomFill_PipeError.hxx new file mode 100644 index 0000000000000000000000000000000000000000..c86fa2fdd346fe846cebc7d9eb232b817e532130 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomFill_PipeError.hxx @@ -0,0 +1,28 @@ +// Created on: 1993-09-28 +// Created by: Bruno DUMORTIER +// 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 _GeomFill_PipeError_HeaderFile +#define _GeomFill_PipeError_HeaderFile + +enum GeomFill_PipeError +{ + GeomFill_PipeOk, + GeomFill_PipeNotOk, + GeomFill_PlaneNotIntersectGuide, + GeomFill_ImpossibleContact +}; + +#endif // _GeomFill_PipeError_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomInt_TheImpPrmSvSurfacesOfWLApprox.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomInt_TheImpPrmSvSurfacesOfWLApprox.hxx new file mode 100644 index 0000000000000000000000000000000000000000..14cd688816c8b58bb35e05f10cafa98a525680ff --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomInt_TheImpPrmSvSurfacesOfWLApprox.hxx @@ -0,0 +1,119 @@ +// Created on: 1995-01-27 +// Created by: Jacques GOUSSARD +// Copyright (c) 1995-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 _GeomInt_TheImpPrmSvSurfacesOfWLApprox_HeaderFile +#define _GeomInt_TheImpPrmSvSurfacesOfWLApprox_HeaderFile + +#include +#include +#include +#include +#include +#include +#include + +class Adaptor3d_HSurfaceTool; +class IntSurf_Quadric; +class IntSurf_QuadricTool; +class IntPatch_WLine; +class GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox; + +class GeomInt_TheImpPrmSvSurfacesOfWLApprox : public ApproxInt_SvSurfaces +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT GeomInt_TheImpPrmSvSurfacesOfWLApprox(const Handle(Adaptor3d_Surface)& Surf1, + const IntSurf_Quadric& Surf2); + + Standard_EXPORT GeomInt_TheImpPrmSvSurfacesOfWLApprox(const IntSurf_Quadric& Surf1, + const Handle(Adaptor3d_Surface)& Surf2); + + //! returns True if Tg,Tguv1 Tguv2 can be computed. + Standard_EXPORT Standard_Boolean Compute(Standard_Real& u1, + Standard_Real& v1, + Standard_Real& u2, + Standard_Real& v2, + gp_Pnt& Pt, + gp_Vec& Tg, + gp_Vec2d& Tguv1, + gp_Vec2d& Tguv2); + + Standard_EXPORT void Pnt(const Standard_Real u1, + const Standard_Real v1, + const Standard_Real u2, + const Standard_Real v2, + gp_Pnt& P); + + Standard_EXPORT Standard_Boolean SeekPoint(const Standard_Real u1, + const Standard_Real v1, + const Standard_Real u2, + const Standard_Real v2, + IntSurf_PntOn2S& Point); + + Standard_EXPORT Standard_Boolean Tangency(const Standard_Real u1, + const Standard_Real v1, + const Standard_Real u2, + const Standard_Real v2, + gp_Vec& Tg); + + Standard_EXPORT Standard_Boolean TangencyOnSurf1(const Standard_Real u1, + const Standard_Real v1, + const Standard_Real u2, + const Standard_Real v2, + gp_Vec2d& Tg); + + Standard_EXPORT Standard_Boolean TangencyOnSurf2(const Standard_Real u1, + const Standard_Real v1, + const Standard_Real u2, + const Standard_Real v2, + gp_Vec2d& Tg); + + Standard_Boolean FillInitialVectorOfSolution(const Standard_Real u1, + const Standard_Real v1, + const Standard_Real u2, + const Standard_Real v2, + const Standard_Real binfu, + const Standard_Real bsupu, + const Standard_Real binfv, + const Standard_Real bsupv, + math_Vector& X, + Standard_Real& TranslationU, + Standard_Real& TranslationV); + +protected: +private: + gp_Pnt2d MyParOnS1; + gp_Pnt2d MyParOnS2; + gp_Pnt MyPnt; + gp_Vec2d MyTguv1; + gp_Vec2d MyTguv2; + gp_Vec MyTg; + Standard_Boolean MyIsTangent; + Standard_Boolean MyHasBeenComputed; + gp_Pnt2d MyParOnS1bis; + gp_Pnt2d MyParOnS2bis; + gp_Pnt MyPntbis; + gp_Vec2d MyTguv1bis; + gp_Vec2d MyTguv2bis; + gp_Vec MyTgbis; + Standard_Boolean MyIsTangentbis; + Standard_Boolean MyHasBeenComputedbis; + Standard_Boolean MyImplicitFirst; + GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox MyZerImpFunc; +}; + +#endif // _GeomInt_TheImpPrmSvSurfacesOfWLApprox_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomInt_VectorOfReal.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomInt_VectorOfReal.hxx new file mode 100644 index 0000000000000000000000000000000000000000..53d54c60139fc4363495aa13f6eff14409e04621 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomInt_VectorOfReal.hxx @@ -0,0 +1,23 @@ +// Created on: 2015-02-18 +// Created by: Nikolai BUKHALOV +// Copyright (c) 2003-2015 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 GeomInt_VectorOfReal_HeaderFile +#define GeomInt_VectorOfReal_HeaderFile + +#include + +typedef NCollection_Vector GeomInt_VectorOfReal; + +#endif \ No newline at end of file diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomLProp_SurfaceTool.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomLProp_SurfaceTool.hxx new file mode 100644 index 0000000000000000000000000000000000000000..1ad23a101c18f427e945b9178778f04fcd7b4ec4 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomLProp_SurfaceTool.hxx @@ -0,0 +1,84 @@ +// Created on: 1992-03-26 +// Created by: Herve LEGRAND +// Copyright (c) 1992-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 _GeomLProp_SurfaceTool_HeaderFile +#define _GeomLProp_SurfaceTool_HeaderFile + +#include +#include +#include + +#include +class Geom_Surface; +class gp_Pnt; +class gp_Vec; + +class GeomLProp_SurfaceTool +{ +public: + DEFINE_STANDARD_ALLOC + + //! Computes the point

of parameter and on the + //! Surface . + Standard_EXPORT static void Value(const Handle(Geom_Surface)& S, + const Standard_Real U, + const Standard_Real V, + gp_Pnt& P); + + //! Computes the point

and first derivative of + //! parameter and on the Surface . + Standard_EXPORT static void D1(const Handle(Geom_Surface)& S, + const Standard_Real U, + const Standard_Real V, + gp_Pnt& P, + gp_Vec& D1U, + gp_Vec& D1V); + + //! Computes the point

, the first derivative and second + //! derivative of parameter and on the Surface . + Standard_EXPORT static void D2(const Handle(Geom_Surface)& S, + const Standard_Real U, + const Standard_Real V, + gp_Pnt& P, + gp_Vec& D1U, + gp_Vec& D1V, + gp_Vec& D2U, + gp_Vec& D2V, + gp_Vec& DUV); + + Standard_EXPORT static gp_Vec DN(const Handle(Geom_Surface)& S, + const Standard_Real U, + const Standard_Real V, + const Standard_Integer IU, + const Standard_Integer IV); + + //! returns the order of continuity of the Surface . + //! returns 1 : first derivative only is computable + //! returns 2 : first and second derivative only are computable. + Standard_EXPORT static Standard_Integer Continuity(const Handle(Geom_Surface)& S); + + //! returns the bounds of the Surface. + Standard_EXPORT static void Bounds(const Handle(Geom_Surface)& S, + Standard_Real& U1, + Standard_Real& V1, + Standard_Real& U2, + Standard_Real& V2); + +protected: +private: +}; + +#endif // _GeomLProp_SurfaceTool_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomToStep_MakeBoundedCurve.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomToStep_MakeBoundedCurve.hxx new file mode 100644 index 0000000000000000000000000000000000000000..82d11d71da99e8e9dd4532c6f2277bc22b881bb1 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomToStep_MakeBoundedCurve.hxx @@ -0,0 +1,55 @@ +// Created on: 1993-06-21 +// Created by: Martine LANGLOIS +// 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 _GeomToStep_MakeBoundedCurve_HeaderFile +#define _GeomToStep_MakeBoundedCurve_HeaderFile + +#include +#include +#include + +#include + +class StepGeom_BoundedCurve; +class Geom_BoundedCurve; +class Geom2d_BoundedCurve; + +//! This class implements the mapping between classes +//! BoundedCurve from Geom, Geom2d and the class BoundedCurve from +//! StepGeom which describes a BoundedCurve from prostep. +//! As BoundedCurve is an abstract BoundedCurve this class +//! is an access to the sub-class required. +class GeomToStep_MakeBoundedCurve : public GeomToStep_Root +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT GeomToStep_MakeBoundedCurve( + const Handle(Geom_BoundedCurve)& C, + const StepData_Factors& theLocalFactors = StepData_Factors()); + + Standard_EXPORT GeomToStep_MakeBoundedCurve( + const Handle(Geom2d_BoundedCurve)& C, + const StepData_Factors& theLocalFactors = StepData_Factors()); + + Standard_EXPORT const Handle(StepGeom_BoundedCurve)& Value() const; + +protected: +private: + Handle(StepGeom_BoundedCurve) theBoundedCurve; +}; + +#endif // _GeomToStep_MakeBoundedCurve_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomToStep_MakeCartesianPoint.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomToStep_MakeCartesianPoint.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d6d93951745ce0434dda4e7003490a4360fe5ec3 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomToStep_MakeCartesianPoint.hxx @@ -0,0 +1,57 @@ +// Created on: 1993-06-11 +// Created by: Martine LANGLOIS +// 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 _GeomToStep_MakeCartesianPoint_HeaderFile +#define _GeomToStep_MakeCartesianPoint_HeaderFile + +#include +#include +#include + +#include +class StepGeom_CartesianPoint; +class gp_Pnt; +class gp_Pnt2d; +class Geom_CartesianPoint; +class Geom2d_CartesianPoint; +class StepData_StepModel; + +//! This class implements the mapping between classes +//! CartesianPoint from Geom and Pnt from gp, and the class +//! CartesianPoint from StepGeom which describes a point from +//! Prostep. +class GeomToStep_MakeCartesianPoint : public GeomToStep_Root +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT GeomToStep_MakeCartesianPoint(const gp_Pnt& P, const Standard_Real aFactor); + + Standard_EXPORT GeomToStep_MakeCartesianPoint(const gp_Pnt2d& P, const Standard_Real aFactor); + + Standard_EXPORT GeomToStep_MakeCartesianPoint(const Handle(Geom_CartesianPoint)& P, + const Standard_Real aFactor); + + Standard_EXPORT GeomToStep_MakeCartesianPoint(const Handle(Geom2d_CartesianPoint)& P); + + Standard_EXPORT const Handle(StepGeom_CartesianPoint)& Value() const; + +protected: +private: + Handle(StepGeom_CartesianPoint) theCartesianPoint; +}; + +#endif // _GeomToStep_MakeCartesianPoint_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomToStep_MakeConicalSurface.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomToStep_MakeConicalSurface.hxx new file mode 100644 index 0000000000000000000000000000000000000000..c1ef77f2aa6dd765afd0a54c70faf13de611386f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomToStep_MakeConicalSurface.hxx @@ -0,0 +1,48 @@ +// Created on: 1993-06-14 +// Created by: Martine LANGLOIS +// 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 _GeomToStep_MakeConicalSurface_HeaderFile +#define _GeomToStep_MakeConicalSurface_HeaderFile + +#include +#include +#include + +#include +class StepGeom_ConicalSurface; +class Geom_ConicalSurface; + +//! This class implements the mapping between class +//! ConicalSurface from Geom and the class +//! ConicalSurface from StepGeom which describes a +//! conical_surface from Prostep +class GeomToStep_MakeConicalSurface : public GeomToStep_Root +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT GeomToStep_MakeConicalSurface( + const Handle(Geom_ConicalSurface)& CSurf, + const StepData_Factors& theLocalFactors = StepData_Factors()); + + Standard_EXPORT const Handle(StepGeom_ConicalSurface)& Value() const; + +protected: +private: + Handle(StepGeom_ConicalSurface) theConicalSurface; +}; + +#endif // _GeomToStep_MakeConicalSurface_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomTools_SurfaceSet.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomTools_SurfaceSet.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d98dcba90a49002af4c03cd4f4a744088dd7e66b --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/GeomTools_SurfaceSet.hxx @@ -0,0 +1,83 @@ +// Created on: 1993-07-19 +// Created by: Remi LEQUETTE +// 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 _GeomTools_SurfaceSet_HeaderFile +#define _GeomTools_SurfaceSet_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include + +class Geom_Surface; + +//! Stores a set of Surfaces from Geom. +class GeomTools_SurfaceSet +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns an empty set of Surfaces. + Standard_EXPORT GeomTools_SurfaceSet(); + + //! Clears the content of the set. + Standard_EXPORT void Clear(); + + //! Incorporate a new Surface in the set and returns + //! its index. + Standard_EXPORT Standard_Integer Add(const Handle(Geom_Surface)& S); + + //! Returns the Surface of index . + Standard_EXPORT Handle(Geom_Surface) Surface(const Standard_Integer I) const; + + //! Returns the index of . + Standard_EXPORT Standard_Integer Index(const Handle(Geom_Surface)& S) const; + + //! Dumps the content of me on the stream . + Standard_EXPORT void Dump(Standard_OStream& OS) const; + + //! Writes the content of me on the stream in a + //! format that can be read back by Read. + Standard_EXPORT void Write( + Standard_OStream& OS, + const Message_ProgressRange& theProgress = Message_ProgressRange()) const; + + //! Reads the content of me from the stream . me + //! is first cleared. + Standard_EXPORT void Read(Standard_IStream& IS, + const Message_ProgressRange& theProgress = Message_ProgressRange()); + + //! Dumps the surface on the stream, if compact is True + //! use the compact format that can be read back. + Standard_EXPORT static void PrintSurface(const Handle(Geom_Surface)& S, + Standard_OStream& OS, + const Standard_Boolean compact = Standard_False); + + //! Reads the surface from the stream. The surface is + //! assumed to have been written with the Print + //! method (compact = True). + Standard_EXPORT static Handle(Geom_Surface) ReadSurface(Standard_IStream& IS); + +private: + TColStd_IndexedMapOfTransient myMap; +}; + +#endif // _GeomTools_SurfaceSet_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom_Direction.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom_Direction.hxx new file mode 100644 index 0000000000000000000000000000000000000000..22c158d65006a3402392ac2013a0a0a3f165420b --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Geom_Direction.hxx @@ -0,0 +1,123 @@ +// Created on: 1993-03-10 +// Created by: JCV +// 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 _Geom_Direction_HeaderFile +#define _Geom_Direction_HeaderFile + +#include + +#include +#include +class gp_Dir; +class gp_Trsf; +class Geom_Geometry; + +class Geom_Direction; +DEFINE_STANDARD_HANDLE(Geom_Direction, Geom_Vector) + +//! The class Direction specifies a vector that is never null. +//! It is a unit vector. +class Geom_Direction : public Geom_Vector +{ + +public: + //! Creates a unit vector with it 3 cartesian coordinates. + //! + //! Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp. + Standard_EXPORT Geom_Direction(const Standard_Real X, + const Standard_Real Y, + const Standard_Real Z); + + //! Creates a transient copy of . + Standard_EXPORT Geom_Direction(const gp_Dir& V); + + //! Sets to X,Y,Z coordinates. + //! + //! Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp. + Standard_EXPORT void SetCoord(const Standard_Real X, + const Standard_Real Y, + const Standard_Real Z); + + //! Converts the gp_Dir unit vector V into this unit vector. + Standard_EXPORT void SetDir(const gp_Dir& V); + + //! Changes the X coordinate of . + //! + //! Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp. + Standard_EXPORT void SetX(const Standard_Real X); + + //! Changes the Y coordinate of . + //! + //! Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp. + Standard_EXPORT void SetY(const Standard_Real Y); + + //! Changes the Z coordinate of . + //! + //! Raised if Sqrt( X*X + Y*Y + Z*Z) <= Resolution from gp. + Standard_EXPORT void SetZ(const Standard_Real Z); + + //! Returns the non transient direction with the same + //! coordinates as . + Standard_EXPORT gp_Dir Dir() const; + + //! returns 1.0 which is the magnitude of any unit vector. + Standard_EXPORT Standard_Real Magnitude() const Standard_OVERRIDE; + + //! returns 1.0 which is the square magnitude of any unit vector. + Standard_EXPORT Standard_Real SquareMagnitude() const Standard_OVERRIDE; + + //! Computes the cross product between and . + //! + //! Raised if the two vectors are parallel because it is + //! not possible to have a direction with null length. + Standard_EXPORT void Cross(const Handle(Geom_Vector)& Other) Standard_OVERRIDE; + + //! Computes the triple vector product ^(V1 ^ V2). + //! + //! Raised if V1 and V2 are parallel or and (V1 ^ V2) are + //! parallel + Standard_EXPORT void CrossCross(const Handle(Geom_Vector)& V1, + const Handle(Geom_Vector)& V2) Standard_OVERRIDE; + + //! Computes the cross product between and . + //! A new direction is returned. + //! + //! Raised if the two vectors are parallel because it is + //! not possible to have a direction with null length. + Standard_EXPORT Handle(Geom_Vector) Crossed(const Handle(Geom_Vector)& Other) const + Standard_OVERRIDE; + + //! Computes the triple vector product ^(V1 ^ V2). + //! + //! Raised if V1 and V2 are parallel or and (V1 ^ V2) are + //! parallel + Standard_EXPORT Handle(Geom_Vector) CrossCrossed(const Handle(Geom_Vector)& V1, + const Handle(Geom_Vector)& V2) const + Standard_OVERRIDE; + + //! Applies the transformation T to this unit vector, then normalizes it. + Standard_EXPORT void Transform(const gp_Trsf& T) Standard_OVERRIDE; + + //! Creates a new object which is a copy of this unit vector. + Standard_EXPORT Handle(Geom_Geometry) Copy() const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(Geom_Direction, Geom_Vector) + +protected: +private: +}; + +#endif // _Geom_Direction_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Graphic3d_Vec2.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Graphic3d_Vec2.hxx new file mode 100644 index 0000000000000000000000000000000000000000..53abe9299799c9cde96d7736438a8392235f77c6 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Graphic3d_Vec2.hxx @@ -0,0 +1,27 @@ +// Copyright (c) 2013-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 _Graphic3d_Vec2_HeaderFile +#define _Graphic3d_Vec2_HeaderFile + +#include +#include + +typedef NCollection_Vec2 Graphic3d_Vec2; +typedef NCollection_Vec2 Graphic3d_Vec2d; +typedef NCollection_Vec2 Graphic3d_Vec2i; +typedef NCollection_Vec2 Graphic3d_Vec2u; +typedef NCollection_Vec2 Graphic3d_Vec2ub; +typedef NCollection_Vec2 Graphic3d_Vec2b; + +#endif // _Graphic3d_Vec2_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_Algo.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_Algo.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ca0affb9a4dce9a479c468a88509fe7a9632d1bb --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_Algo.hxx @@ -0,0 +1,100 @@ +// Created on: 1994-08-03 +// Created by: Christophe MARION +// 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. + +#ifndef _HLRBRep_Algo_HeaderFile +#define _HLRBRep_Algo_HeaderFile + +#include + +#include +#include +class TopoDS_Shape; +class Standard_Transient; + +class HLRBRep_Algo; +DEFINE_STANDARD_HANDLE(HLRBRep_Algo, HLRBRep_InternalAlgo) + +//! Inherited from InternalAlgo to provide methods with Shape from TopoDS. +//! A framework to compute a shape as seen in a projection plane. This is done by +//! calculating the visible and the hidden parts of the shape. +//! HLRBRep_Algo works with three types of entity: +//! - shapes to be visualized +//! - edges in these shapes (these edges are +//! the basic entities which will be visualized or hidden), and +//! - faces in these shapes which hide the edges. +//! HLRBRep_Algo is based on the principle of comparing each edge of the shape to be +//! visualized with each of its faces, and calculating the visible and the hidden parts of each +//! edge. For a given projection, HLRBRep_Algo calculates a set of lines characteristic of the +//! object being represented. It is also used in conjunction with the +//! HLRBRep_HLRToShape extraction utilities, which reconstruct a new, simplified shape +//! from a selection of calculation results. This new shape is made up of edges, which +//! represent the shape visualized in the projection. +//! HLRBRep_Algo takes the shape itself into account whereas HLRBRep_PolyAlgo +//! works with a polyhedral simplification of the shape. When you use HLRBRep_Algo, you +//! obtain an exact result, whereas, when you use HLRBRep_PolyAlgo, you reduce +//! computation time but obtain polygonal segments. In the case of complicated +//! shapes, HLRBRep_Algo may be time-consuming. +//! An HLRBRep_Algo object provides a framework for: +//! - defining the point of view +//! - identifying the shape or shapes to be visualized +//! - calculating the outlines +//! - calculating the visible and hidden lines of the shape. +//! Warning +//! - Superimposed lines are not eliminated by this algorithm. +//! - There must be no unfinished objects inside the shape you wish to visualize. +//! - Points are not treated. +//! - Note that this is not the sort of algorithm used in generating shading, which +//! calculates the visible and hidden parts of each face in a shape to be visualized by +//! comparing each face in the shape with every other face in the same shape. +class HLRBRep_Algo : public HLRBRep_InternalAlgo +{ + +public: + //! Constructs an empty framework for the + //! calculation of visible and hidden lines of a shape in a projection. + //! Use the function: + //! - Projector to define the point of view + //! - Add to select the shape or shapes to be visualized + //! - Update to compute the outlines of the shape, and + //! - Hide to compute the visible and hidden lines of the shape. + Standard_EXPORT HLRBRep_Algo(); + + Standard_EXPORT HLRBRep_Algo(const Handle(HLRBRep_Algo)& A); + + //! add the Shape . + Standard_EXPORT void Add(const TopoDS_Shape& S, + const Handle(Standard_Transient)& SData, + const Standard_Integer nbIso = 0); + + //! Adds the shape S to this framework, and + //! specifies the number of isoparameters nbiso desired in visualizing S. + //! You may add as many shapes as you wish. Use the function Add once for each shape. + Standard_EXPORT void Add(const TopoDS_Shape& S, const Standard_Integer nbIso = 0); + + //! return the index of the Shape and + //! return 0 if the Shape is not found. + Standard_EXPORT Standard_Integer Index(const TopoDS_Shape& S); + + //! nullify all the results of OutLiner from HLRTopoBRep. + Standard_EXPORT void OutLinedShapeNullify(); + + DEFINE_STANDARD_RTTIEXT(HLRBRep_Algo, HLRBRep_InternalAlgo) + +protected: +private: +}; + +#endif // _HLRBRep_Algo_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_InternalAlgo.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_InternalAlgo.hxx new file mode 100644 index 0000000000000000000000000000000000000000..1173d0d54a1e051b41d90e9b68ede6a9039fbb7f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_InternalAlgo.hxx @@ -0,0 +1,140 @@ +// Created on: 1997-04-17 +// Created by: Christophe MARION +// Copyright (c) 1997-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 _HLRBRep_InternalAlgo_HeaderFile +#define _HLRBRep_InternalAlgo_HeaderFile + +#include +#include + +#include +#include +#include +#include +#include +class HLRBRep_Data; +class HLRTopoBRep_OutLiner; +class HLRBRep_ShapeBounds; + +class HLRBRep_InternalAlgo; +DEFINE_STANDARD_HANDLE(HLRBRep_InternalAlgo, Standard_Transient) + +class HLRBRep_InternalAlgo : public Standard_Transient +{ + +public: + Standard_EXPORT HLRBRep_InternalAlgo(); + + Standard_EXPORT HLRBRep_InternalAlgo(const Handle(HLRBRep_InternalAlgo)& A); + + //! set the projector. + Standard_EXPORT void Projector(const HLRAlgo_Projector& P); + + //! set the projector. + Standard_EXPORT HLRAlgo_Projector& Projector(); + + //! update the DataStructure. + Standard_EXPORT void Update(); + + //! add the shape . + Standard_EXPORT void Load(const Handle(HLRTopoBRep_OutLiner)& S, + const Handle(Standard_Transient)& SData, + const Standard_Integer nbIso = 0); + + //! add the shape . + Standard_EXPORT void Load(const Handle(HLRTopoBRep_OutLiner)& S, + const Standard_Integer nbIso = 0); + + //! return the index of the Shape and return 0 if + //! the Shape is not found. + Standard_EXPORT Standard_Integer Index(const Handle(HLRTopoBRep_OutLiner)& S) const; + + //! remove the Shape of Index . + Standard_EXPORT void Remove(const Standard_Integer I); + + //! Change the Shape Data of the Shape of index . + Standard_EXPORT void ShapeData(const Standard_Integer I, const Handle(Standard_Transient)& SData); + + Standard_EXPORT HLRBRep_SeqOfShapeBounds& SeqOfShapeBounds(); + + Standard_EXPORT Standard_Integer NbShapes() const; + + Standard_EXPORT HLRBRep_ShapeBounds& ShapeBounds(const Standard_Integer I); + + //! init the status of the selected edges depending of + //! the back faces of a closed shell. + Standard_EXPORT void InitEdgeStatus(); + + //! select all the DataStructure. + Standard_EXPORT void Select(); + + //! select only the Shape of index . + Standard_EXPORT void Select(const Standard_Integer I); + + //! select only the edges of the Shape . + Standard_EXPORT void SelectEdge(const Standard_Integer I); + + //! select only the faces of the Shape . + Standard_EXPORT void SelectFace(const Standard_Integer I); + + //! set to visible all the edges. + Standard_EXPORT void ShowAll(); + + //! set to visible all the edges of the Shape . + Standard_EXPORT void ShowAll(const Standard_Integer I); + + //! set to hide all the edges. + Standard_EXPORT void HideAll(); + + //! set to hide all the edges of the Shape . + Standard_EXPORT void HideAll(const Standard_Integer I); + + //! own hiding of all the shapes of the DataStructure + //! without hiding by each other. + Standard_EXPORT void PartialHide(); + + //! hide all the DataStructure. + Standard_EXPORT void Hide(); + + //! hide the Shape by itself. + Standard_EXPORT void Hide(const Standard_Integer I); + + //! hide the Shape by the shape . + Standard_EXPORT void Hide(const Standard_Integer I, const Standard_Integer J); + + Standard_EXPORT void Debug(const Standard_Boolean deb); + + Standard_EXPORT Standard_Boolean Debug() const; + + Standard_EXPORT Handle(HLRBRep_Data) DataStructure() const; + + DEFINE_STANDARD_RTTIEXT(HLRBRep_InternalAlgo, Standard_Transient) + +protected: +private: + //! first if own hiding of the side faces. + //! After hiding of the selected parts of the + //! DataStructure. + Standard_EXPORT void HideSelected(const Standard_Integer I, const Standard_Boolean SideFace); + + Handle(HLRBRep_Data) myDS; + HLRAlgo_Projector myProj; + HLRBRep_SeqOfShapeBounds myShapes; + BRepTopAdaptor_MapOfShapeTool myMapOfShapeTool; + Standard_Boolean myDebug; +}; + +#endif // _HLRBRep_InternalAlgo_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_ListOfBPnt2D.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_ListOfBPnt2D.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ea8aa0c957c575c89f8de51094b5ada25a927c59 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_ListOfBPnt2D.hxx @@ -0,0 +1,26 @@ +// Created on: 1992-10-14 +// Created by: Christophe MARION +// Copyright (c) 1992-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 HLRBRep_ListOfBPnt2D_HeaderFile +#define HLRBRep_ListOfBPnt2D_HeaderFile + +#include +#include + +typedef NCollection_List HLRBRep_ListOfBPnt2D; +typedef NCollection_List::Iterator HLRBRep_ListIteratorOfListOfBPnt2D; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_PolyHLRToShape.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_PolyHLRToShape.hxx new file mode 100644 index 0000000000000000000000000000000000000000..6b5825c1591f803b1b21f9b7c57ff4915aaf7f6d --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRBRep_PolyHLRToShape.hxx @@ -0,0 +1,127 @@ +// Created on: 1993-10-11 +// 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 _HLRBRep_PolyHLRToShape_HeaderFile +#define _HLRBRep_PolyHLRToShape_HeaderFile + +#include +#include +#include + +#include +#include +#include +class HLRBRep_PolyAlgo; +class TopoDS_Shape; + +//! A framework for filtering the computation +//! results of an HLRBRep_Algo algorithm by extraction. +//! From the results calculated by the algorithm on +//! a shape, a filter returns the type of edge you +//! want to identify. You can choose any of the following types of output: +//! - visible sharp edges +//! - hidden sharp edges +//! - visible smooth edges +//! - hidden smooth edges +//! - visible sewn edges +//! - hidden sewn edges +//! - visible outline edges +//! - hidden outline edges. +//! - visible isoparameters and +//! - hidden isoparameters. +//! Sharp edges present a C0 continuity (non G1). +//! Smooth edges present a G1 continuity (non G2). +//! Sewn edges present a C2 continuity. +//! The result is composed of 2D edges in the +//! projection plane of the view which the +//! algorithm has worked with. These 2D edges +//! are not included in the data structure of the visualized shape. +//! In order to obtain a complete image, you must +//! combine the shapes given by each of the chosen filters. +//! The construction of the shape does not call a +//! new computation of the algorithm, but only +//! reads its internal results. +class HLRBRep_PolyHLRToShape +{ +public: + DEFINE_STANDARD_ALLOC + + //! Constructs a framework for filtering the results + //! of the HLRBRep_Algo algorithm, A. + //! Use the extraction filters to obtain the results you want for A. + Standard_EXPORT HLRBRep_PolyHLRToShape(); + + Standard_EXPORT void Update(const Handle(HLRBRep_PolyAlgo)& A); + + void Show(); + + void Hide(); + + TopoDS_Shape VCompound(); + + TopoDS_Shape VCompound(const TopoDS_Shape& S); + + //! Sets the extraction filter for visible smooth edges. + TopoDS_Shape Rg1LineVCompound(); + + TopoDS_Shape Rg1LineVCompound(const TopoDS_Shape& S); + + //! Sets the extraction filter for visible sewn edges. + TopoDS_Shape RgNLineVCompound(); + + TopoDS_Shape RgNLineVCompound(const TopoDS_Shape& S); + + TopoDS_Shape OutLineVCompound(); + + //! Sets the extraction filter for visible outlines. + TopoDS_Shape OutLineVCompound(const TopoDS_Shape& S); + + TopoDS_Shape HCompound(); + + TopoDS_Shape HCompound(const TopoDS_Shape& S); + + TopoDS_Shape Rg1LineHCompound(); + + //! Sets the extraction filter for hidden smooth edges. + TopoDS_Shape Rg1LineHCompound(const TopoDS_Shape& S); + + TopoDS_Shape RgNLineHCompound(); + + //! Sets the extraction filter for hidden sewn edges. + TopoDS_Shape RgNLineHCompound(const TopoDS_Shape& S); + + TopoDS_Shape OutLineHCompound(); + + //! Sets the extraction filter for hidden outlines. + //! Hidden outlines occur, for instance, in tori. In + //! this case, the inner outlines of the torus seen on its side are hidden. + TopoDS_Shape OutLineHCompound(const TopoDS_Shape& S); + +protected: +private: + Standard_EXPORT TopoDS_Shape InternalCompound(const Standard_Integer typ, + const Standard_Boolean visible, + const TopoDS_Shape& S); + + Handle(HLRBRep_PolyAlgo) myAlgo; + HLRBRep_ListOfBPnt2D myBiPntVis; + HLRBRep_ListOfBPnt2D myBiPntHid; + Standard_Boolean myHideMode; +}; + +#include + +#endif // _HLRBRep_PolyHLRToShape_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRTopoBRep_OutLiner.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRTopoBRep_OutLiner.hxx new file mode 100644 index 0000000000000000000000000000000000000000..32cf0eba9f42cc75f3a3969b2b84eb0f4d398e47 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HLRTopoBRep_OutLiner.hxx @@ -0,0 +1,76 @@ +// Created on: 1994-08-03 +// Created by: Christophe MARION +// 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. + +#ifndef _HLRTopoBRep_OutLiner_HeaderFile +#define _HLRTopoBRep_OutLiner_HeaderFile + +#include +#include + +#include +#include +#include +#include +#include +class HLRAlgo_Projector; +class TopoDS_Face; + +class HLRTopoBRep_OutLiner; +DEFINE_STANDARD_HANDLE(HLRTopoBRep_OutLiner, Standard_Transient) + +class HLRTopoBRep_OutLiner : public Standard_Transient +{ + +public: + Standard_EXPORT HLRTopoBRep_OutLiner(); + + Standard_EXPORT HLRTopoBRep_OutLiner(const TopoDS_Shape& OriSh); + + Standard_EXPORT HLRTopoBRep_OutLiner(const TopoDS_Shape& OriS, const TopoDS_Shape& OutS); + + void OriginalShape(const TopoDS_Shape& OriS); + + TopoDS_Shape& OriginalShape(); + + void OutLinedShape(const TopoDS_Shape& OutS); + + TopoDS_Shape& OutLinedShape(); + + HLRTopoBRep_Data& DataStructure(); + + Standard_EXPORT void Fill(const HLRAlgo_Projector& P, + BRepTopAdaptor_MapOfShapeTool& MST, + const Standard_Integer nbIso); + + DEFINE_STANDARD_RTTIEXT(HLRTopoBRep_OutLiner, Standard_Transient) + +protected: +private: + //! Builds faces from F and add them to S. + Standard_EXPORT void ProcessFace(const TopoDS_Face& F, + TopoDS_Shape& S, + BRepTopAdaptor_MapOfShapeTool& M); + + Standard_EXPORT void BuildShape(BRepTopAdaptor_MapOfShapeTool& M); + + TopoDS_Shape myOriginalShape; + TopoDS_Shape myOutLinedShape; + HLRTopoBRep_Data myDS; +}; + +#include + +#endif // _HLRTopoBRep_OutLiner_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HatchGen_Domain.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HatchGen_Domain.lxx new file mode 100644 index 0000000000000000000000000000000000000000..e8b77a9cd0c1ef2030f5c092477a7a15d190b77a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/HatchGen_Domain.lxx @@ -0,0 +1,127 @@ +// Created on: 1995-01-03 +// Created by: Laurent BUCHARD +// Copyright (c) 1995-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. + +#include + +//======================================================================= +// Function : SetPoints +// Purpose : Sets the first and the second points of the domain. +//======================================================================= + +inline void HatchGen_Domain::SetPoints(const HatchGen_PointOnHatching& P1, + const HatchGen_PointOnHatching& P2) +{ + myHasFirstPoint = Standard_True; + myFirstPoint = P1; + myHasSecondPoint = Standard_True; + mySecondPoint = P2; +} + +//======================================================================= +// Function : SetPoints +// Purpose : Sets the first and the second points of the domain at the +// infinite. +//======================================================================= + +inline void HatchGen_Domain::SetPoints() +{ + myHasFirstPoint = Standard_False; + myHasSecondPoint = Standard_False; +} + +//======================================================================= +// Function : SetFirstPoint +// Purpose : Sets the first point of the domain. +//======================================================================= + +inline void HatchGen_Domain::SetFirstPoint(const HatchGen_PointOnHatching& P) +{ + myHasFirstPoint = Standard_True; + myFirstPoint = P; +} + +//======================================================================= +// Function : SetFirstPoint +// Purpose : Sets the first point of the domain at the infinite. +//======================================================================= + +inline void HatchGen_Domain::SetFirstPoint() +{ + myHasFirstPoint = Standard_False; +} + +//======================================================================= +// Function : SetSecondPoint +// Purpose : Sets the second point of the domain. +//======================================================================= + +inline void HatchGen_Domain::SetSecondPoint(const HatchGen_PointOnHatching& P) +{ + myHasSecondPoint = Standard_True; + mySecondPoint = P; +} + +//======================================================================= +// Function : SetSecondPoint +// Purpose : Sets the second point of the domain at the infinite. +//======================================================================= + +inline void HatchGen_Domain::SetSecondPoint() +{ + myHasSecondPoint = Standard_False; +} + +//======================================================================= +// Function : HasFirstPoint +// Purpose : Returns True if the domain has a first point. +//======================================================================= + +inline Standard_Boolean HatchGen_Domain::HasFirstPoint() const +{ + return myHasFirstPoint; +} + +//======================================================================= +// Function : FirstPoint +// Purpose : Returns the first point of the domain. +//======================================================================= + +inline const HatchGen_PointOnHatching& HatchGen_Domain::FirstPoint() const +{ + Standard_DomainError_Raise_if(!myHasFirstPoint, "HatchGen_Domain::FirstPoint"); + return myFirstPoint; +} + +//======================================================================= +// Function : HasSecondPoint +// Purpose : Returns True if the domain has a second point. +//======================================================================= + +inline Standard_Boolean HatchGen_Domain::HasSecondPoint() const +{ + return myHasSecondPoint; +} + +//======================================================================= +// Function : SecondPoint +// Purpose : Returns the second of the domain. +//======================================================================= + +inline const HatchGen_PointOnHatching& HatchGen_Domain::SecondPoint() const +{ + Standard_DomainError_Raise_if(!myHasSecondPoint, "HatchGen_Domain::SecondPoint"); + return mySecondPoint; +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFGraph_Cumulate.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFGraph_Cumulate.hxx new file mode 100644 index 0000000000000000000000000000000000000000..dedb59530ddc3a298c1f812630a7359f57e9f40a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFGraph_Cumulate.hxx @@ -0,0 +1,78 @@ +// Created on: 1992-09-23 +// Created by: Christian CAILLET +// Copyright (c) 1992-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 _IFGraph_Cumulate_HeaderFile +#define _IFGraph_Cumulate_HeaderFile + +#include +#include +#include + +#include +#include +#include +class Standard_Transient; +class Interface_EntityIterator; + +//! this class evaluates effect of cumulated sub-parts : +//! overlapping, forgotten entities +//! Results are kept in a Graph, several question can be set +//! Basic Iteration gives entities which are part of Cumulation +class IFGraph_Cumulate : public Interface_GraphContent +{ +public: + DEFINE_STANDARD_ALLOC + + //! creates empty Cumulate, ready to work + Standard_EXPORT IFGraph_Cumulate(const Interface_Graph& agraph); + + //! adds an entity and its shared ones to the list + Standard_EXPORT void GetFromEntity(const Handle(Standard_Transient)& ent); + + //! adds a list of entities (as an iterator) as such, that is, + //! without their shared entities (use AllShared to have them) + Standard_EXPORT void GetFromIter(const Interface_EntityIterator& iter); + + //! Allows to restart on a new data set + Standard_EXPORT void ResetData(); + + //! Evaluates the result of cumulation + Standard_EXPORT virtual void Evaluate() Standard_OVERRIDE; + + //! returns entities which are taken several times + Standard_EXPORT Interface_EntityIterator Overlapped() const; + + //! returns entities which are not taken + Standard_EXPORT Interface_EntityIterator Forgotten() const; + + //! Returns entities taken a given count of times + //! (0 : same as Forgotten, 1 : same as no Overlap : default) + Standard_EXPORT Interface_EntityIterator PerCount(const Standard_Integer count = 1) const; + + //! returns number of times an Entity has been counted + //! (0 means forgotten, more than 1 means overlap, 1 is normal) + Standard_EXPORT Standard_Integer NbTimes(const Handle(Standard_Transient)& ent) const; + + //! Returns the highest number of times recorded for every Entity + //! (0 means empty, 1 means no overlap) + Standard_EXPORT Standard_Integer HighestNbTimes() const; + +protected: +private: + Interface_Graph thegraph; +}; + +#endif // _IFGraph_Cumulate_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e8473473840186efb6835f7651ce4a97f042baf7 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect.hxx @@ -0,0 +1,58 @@ +// Created on: 1992-09-21 +// Created by: Christian CAILLET +// Copyright (c) 1992-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 _IFSelect_HeaderFile +#define _IFSelect_HeaderFile + +#include +#include +#include + +#include +class IFSelect_WorkSession; + +//! Gives tools to manage Selecting a group of Entities +//! processed by an Interface, for instance to divide up an +//! original Model (from a File) to several smaller ones +//! They use description of an Interface Model as a graph +//! +//! Remark that this corresponds to the description of a +//! "scenario" of sharing out a File. Parts of this Scenario +//! are intended to be permanently stored. IFSelect provides +//! the Transient, active counterparts (to run the Scenario). +//! But a permanent one (either as Persistent Objects or as +//! interpretable Text) must be provided elsewhere. +class IFSelect +{ +public: + DEFINE_STANDARD_ALLOC + + //! Saves the state of a WorkSession from IFSelect, by using a + //! SessionFile from IFSelect. Returns True if Done, False in + //! case of Error on Writing. gives the name of the File + //! to be produced (this avoids to export the class SessionFile). + Standard_EXPORT static Standard_Boolean SaveSession(const Handle(IFSelect_WorkSession)& WS, + const Standard_CString file); + + //! Restore the state of a WorkSession from IFSelect, by using a + //! SessionFile from IFSelect. Returns True if Done, False in + //! case of Error on Writing. gives the name of the File + //! to be used (this avoids to export the class SessionFile). + Standard_EXPORT static Standard_Boolean RestoreSession(const Handle(IFSelect_WorkSession)& WS, + const Standard_CString file); +}; + +#endif // _IFSelect_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SelectCombine.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SelectCombine.hxx new file mode 100644 index 0000000000000000000000000000000000000000..43e04fb92f1566b5ef1910340290f45a71f0e28f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SelectCombine.hxx @@ -0,0 +1,83 @@ +// Created on: 1992-11-17 +// Created by: Christian CAILLET +// Copyright (c) 1992-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 _IFSelect_SelectCombine_HeaderFile +#define _IFSelect_SelectCombine_HeaderFile + +#include +#include + +#include +#include +#include +class IFSelect_SelectionIterator; + +class IFSelect_SelectCombine; +DEFINE_STANDARD_HANDLE(IFSelect_SelectCombine, IFSelect_Selection) + +//! A SelectCombine type Selection defines algebraic operations +//! between results of several Selections +//! It is a deferred class : sub-classes will have to define +//! precise what operator is to be applied +class IFSelect_SelectCombine : public IFSelect_Selection +{ + +public: + //! Returns the count of Input Selections + Standard_EXPORT Standard_Integer NbInputs() const; + + //! Returns an Input Selection, given its rank in the list + Standard_EXPORT Handle(IFSelect_Selection) Input(const Standard_Integer num) const; + + //! Returns the rank of an input Selection, 0 if not in the list. + //! Most generally, its value is meaningless, except for testing + //! the presence of an input Selection : + //! - == 0 if is not an input for + //! - > 0 if is an input for + Standard_EXPORT Standard_Integer InputRank(const Handle(IFSelect_Selection)& sel) const; + + //! Adds a Selection to the filling list + //! By default, adds it to the end of the list + //! A Positive rank less then NbInputs gives an insertion rank + //! (InsertBefore : the new th item of the list is ) + Standard_EXPORT void Add(const Handle(IFSelect_Selection)& sel, const Standard_Integer atnum = 0); + + //! Removes an input Selection. + //! Returns True if Done, False, if is not an input for + Standard_EXPORT Standard_Boolean Remove(const Handle(IFSelect_Selection)& sel); + + //! Removes an input Selection, given its rank in the list + //! Returns True if Done, False if is out of range + Standard_EXPORT Standard_Boolean Remove(const Standard_Integer num); + + //! Puts in an Iterator the Selections from which "me" depends + //! That is to say, the list of Input Selections + Standard_EXPORT void FillIterator(IFSelect_SelectionIterator& iter) const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(IFSelect_SelectCombine, IFSelect_Selection) + +protected: + //! Defines an empty SelectCombine + Standard_EXPORT IFSelect_SelectCombine(); + + //! Returns always True, because RootResult gives a Unique list + Standard_EXPORT virtual Standard_Boolean HasUniqueResult() const Standard_OVERRIDE; + +private: + IFSelect_TSeqOfSelection thelist; +}; + +#endif // _IFSelect_SelectCombine_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SelectFlag.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SelectFlag.hxx new file mode 100644 index 0000000000000000000000000000000000000000..13c2edadae81226555016384508119387f9bed70 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SelectFlag.hxx @@ -0,0 +1,76 @@ +// Created on: 1995-09-05 +// Created by: Christian CAILLET +// Copyright (c) 1995-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 _IFSelect_SelectFlag_HeaderFile +#define _IFSelect_SelectFlag_HeaderFile + +#include + +#include +#include +#include +class Interface_EntityIterator; +class Interface_Graph; +class Standard_Transient; +class Interface_InterfaceModel; + +class IFSelect_SelectFlag; +DEFINE_STANDARD_HANDLE(IFSelect_SelectFlag, IFSelect_SelectExtract) + +//! A SelectFlag queries a flag noted in the bitmap of the Graph. +//! The Flag is designated by its Name. Flag Names are defined +//! by Work Session and, as necessary, other functional objects +//! +//! WorkSession from IFSelect defines flag "Incorrect" +//! Objects which control application running define some others +class IFSelect_SelectFlag : public IFSelect_SelectExtract +{ + +public: + //! Creates a Select Flag, to query a flag designated by its name + Standard_EXPORT IFSelect_SelectFlag(const Standard_CString flagname); + + //! Returns the name of the flag + Standard_EXPORT Standard_CString FlagName() const; + + //! Returns the list of selected entities. It is redefined to + //! work on the graph itself (not queried by sort) + //! + //! An entity is selected if its flag is True on Direct mode, + //! False on Reversed mode + //! + //! If flag does not exist for the given name, returns an empty + //! result, whatever the Direct/Reversed sense + Standard_EXPORT virtual Interface_EntityIterator RootResult(const Interface_Graph& G) const + Standard_OVERRIDE; + + //! Returns always False because RootResult has done the work + Standard_EXPORT Standard_Boolean + Sort(const Standard_Integer rank, + const Handle(Standard_Transient)& ent, + const Handle(Interface_InterfaceModel)& model) const Standard_OVERRIDE; + + //! Returns a text defining the criterium, includes the flag name + Standard_EXPORT TCollection_AsciiString ExtractLabel() const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(IFSelect_SelectFlag, IFSelect_SelectExtract) + +protected: +private: + TCollection_AsciiString thename; +}; + +#endif // _IFSelect_SelectFlag_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SelectModelRoots.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SelectModelRoots.hxx new file mode 100644 index 0000000000000000000000000000000000000000..6f6e17850e68894cb9da8709dfd642ed37c8ee12 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SelectModelRoots.hxx @@ -0,0 +1,56 @@ +// Created on: 1992-11-17 +// Created by: Christian CAILLET +// Copyright (c) 1992-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 _IFSelect_SelectModelRoots_HeaderFile +#define _IFSelect_SelectModelRoots_HeaderFile + +#include +#include + +#include +class Interface_EntityIterator; +class Interface_Graph; +class TCollection_AsciiString; + +class IFSelect_SelectModelRoots; +DEFINE_STANDARD_HANDLE(IFSelect_SelectModelRoots, IFSelect_SelectBase) + +//! A SelectModelRoots gets all the Root Entities of an +//! InterfaceModel. Remember that a "Root Entity" is defined as +//! having no Sharing Entity (if there is a Loop between Entities, +//! none of them can be a "Root"). +class IFSelect_SelectModelRoots : public IFSelect_SelectBase +{ + +public: + //! Creates a SelectModelRoot + Standard_EXPORT IFSelect_SelectModelRoots(); + + //! Returns the list of selected entities : the Roots of the Model + //! (note that this result assures naturally uniqueness) + Standard_EXPORT Interface_EntityIterator + RootResult(const Interface_Graph& G) const Standard_OVERRIDE; + + //! Returns a text defining the criterium : "Model Roots" + Standard_EXPORT TCollection_AsciiString Label() const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(IFSelect_SelectModelRoots, IFSelect_SelectBase) + +protected: +private: +}; + +#endif // _IFSelect_SelectModelRoots_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_ShareOutResult.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_ShareOutResult.hxx new file mode 100644 index 0000000000000000000000000000000000000000..4f1bcd8351da7c246f42957fb373c177737541bb --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_ShareOutResult.hxx @@ -0,0 +1,168 @@ +// Created on: 1992-11-17 +// Created by: Christian CAILLET +// Copyright (c) 1992-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 _IFSelect_ShareOutResult_HeaderFile +#define _IFSelect_ShareOutResult_HeaderFile + +#include +#include +#include + +#include +#include +#include +class IFSelect_ShareOut; +class IFSelect_Dispatch; +class Interface_InterfaceModel; +class IFSelect_PacketList; +class Interface_EntityIterator; +class TCollection_AsciiString; + +//! This class gives results computed from a ShareOut : simulation +//! before transfer, helps to list entities ... +//! Transfer itself will later be performed, either by a +//! TransferCopy to simply divide up a file, or a TransferDispatch +//! which can be parametred with more details +class IFSelect_ShareOutResult +{ +public: + DEFINE_STANDARD_ALLOC + + //! Creates a ShareOutResult from a ShareOut, to work on a Model + //! (without any more precision; uses Active Protocol) + Standard_EXPORT IFSelect_ShareOutResult(const Handle(IFSelect_ShareOut)& sho, + const Handle(Interface_InterfaceModel)& mod); + + //! Creates a ShareOutResult from a ShareOut, to work on a Graph + //! already computed, which defines the Input Model and can + //! specialize some Entities + Standard_EXPORT IFSelect_ShareOutResult(const Handle(IFSelect_ShareOut)& sho, + const Interface_Graph& G); + + //! Creates a ShareOutResult from a unique Dispatch, to work on + //! a Model. As if it was a ShareOut with only one Dispatch + //! (without any more precision; uses Active Protocol) + //! Allows to compute the effect of a single Dispatch + Standard_EXPORT IFSelect_ShareOutResult(const Handle(IFSelect_Dispatch)& disp, + const Handle(Interface_InterfaceModel)& mod); + + //! Creates a ShareOutResult from a unique Dispatch, to work on + //! a Graph. As if it was a ShareOut with only one Dispatch + //! Allows to compute the effect of a single Dispatch + Standard_EXPORT IFSelect_ShareOutResult(const Handle(IFSelect_Dispatch)& disp, + const Interface_Graph& G); + + //! Returns the ShareOut used to create the ShareOutResult + //! if creation from a Dispatch, returns a Null Handle + Standard_EXPORT Handle(IFSelect_ShareOut) ShareOut() const; + + //! Returns the Graph used to create theShareOutResult + Standard_EXPORT const Interface_Graph& Graph() const; + + //! Erases computed data, in order to command a new Evaluation + Standard_EXPORT void Reset(); + + //! Evaluates the result of a ShareOut : determines Entities to be + //! forgotten by the ShareOut, Entities to be transferred several + //! times (duplicated), prepares an iteration on the packets to be + //! produced + //! Called the first time anyone question is asked, or after a + //! call to Reset. Works by calling the method Prepare. + Standard_EXPORT void Evaluate(); + + //! Returns the list of recorded Packets, under two modes : + //! - = False, the strict definition of Packets, i.e. + //! for each one, the Root Entities, to be explicitly sent + //! - = True (Default), the completely evaluated list, + //! i.e. which really gives the destination of each entity : + //! this mode allows to evaluate duplications + //! Remark that to send packets, iteration remains preferable + //! (file names are managed) + Standard_EXPORT Handle(IFSelect_PacketList) Packets( + const Standard_Boolean complete = Standard_True); + + //! Returns the total count of produced non empty packets + //! (in out : calls Evaluate as necessary) + Standard_EXPORT Standard_Integer NbPackets(); + + //! Prepares the iteration on the packets + //! This method is called by Evaluate, but can be called anytime + //! The iteration consists in taking each Dispatch of the ShareOut + //! beginning by the first one, compute its packets, then iterate + //! on these packets. Once all these packets are iterated, the + //! iteration passes to the next Dispatch, or stops. + //! For a creation from a unique Dispatch, same but with only + //! this Dispatch. + //! Each packet can be listed, or really transferred (producing + //! a derived Model, from which a file can be generated) + //! + //! Prepare sets the iteration to the first Dispatch, first Packet + Standard_EXPORT void Prepare(); + + //! Returns True if there is more packets in the current Dispatch, + //! else if there is more Dispatch in the ShareOut + Standard_EXPORT Standard_Boolean More(); + + //! Passes to the next Packet in the current Dispatch, or if there + //! is none, to the next Dispatch in the ShareOut + Standard_EXPORT void Next(); + + //! Passes to the next Dispatch, regardless about remaining packets + Standard_EXPORT void NextDispatch(); + + //! Returns the current Dispatch + Standard_EXPORT Handle(IFSelect_Dispatch) Dispatch() const; + + //! Returns the Rank of the current Dispatch in the ShareOut + //! Returns Zero if there is none (iteration finished) + Standard_EXPORT Standard_Integer DispatchRank() const; + + //! Returns Number (rank) of current Packet in current Dispatch, + //! and total count of Packets in current Dispatch, as arguments + Standard_EXPORT void PacketsInDispatch(Standard_Integer& numpack, + Standard_Integer& nbpacks) const; + + //! Returns the list of Roots of the current Packet (never empty) + //! (i.e. the Entities to be themselves asked for transfer) + //! Error if there is none (iteration finished) + Standard_EXPORT Interface_EntityIterator PacketRoot(); + + //! Returns the complete content of the current Packet (i.e. + //! with shared entities, which will also be put in the file) + Standard_EXPORT Interface_EntityIterator PacketContent(); + + //! Returns the File Name which corresponds to current Packet + //! (computed by ShareOut) + //! If current Packet has no associated name (see ShareOut), + //! the returned value is Null + Standard_EXPORT TCollection_AsciiString FileName() const; + +protected: + Interface_Graph thegraph; + IFGraph_SubPartsIterator thedispres; + +private: + Handle(IFSelect_ShareOut) theshareout; + Handle(IFSelect_Dispatch) thedispatch; + Standard_Boolean theeval; + Standard_Integer thedispnum; + Standard_Integer thepacknum; + Standard_Integer thepackdisp; + Standard_Integer thenbindisp; + TColStd_SequenceOfInteger thedisplist; +}; + +#endif // _IFSelect_ShareOutResult_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SignMultiple.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SignMultiple.hxx new file mode 100644 index 0000000000000000000000000000000000000000..5b3f4fbac412a07fba1edc90ee453cf93fcc641f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IFSelect_SignMultiple.hxx @@ -0,0 +1,79 @@ +// Created on: 1998-01-28 +// Created by: Christian CAILLET +// Copyright (c) 1998-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 _IFSelect_SignMultiple_HeaderFile +#define _IFSelect_SignMultiple_HeaderFile + +#include + +#include +#include +#include +#include +class Standard_Transient; +class Interface_InterfaceModel; +class TCollection_AsciiString; + +class IFSelect_SignMultiple; +DEFINE_STANDARD_HANDLE(IFSelect_SignMultiple, IFSelect_Signature) + +//! Multiple Signature : ordered list of other Signatures +//! It concatenates on a same line the result of its sub-items +//! separated by sets of 3 blanks +//! It is possible to define tabulations between sub-items +//! Moreover, match rules are specific +class IFSelect_SignMultiple : public IFSelect_Signature +{ + +public: + //! Creates an empty SignMultiple with a Name + //! This name should take expected tabulations into account + Standard_EXPORT IFSelect_SignMultiple(const Standard_CString name); + + //! Adds a Signature. Width, if given, gives the tabulation + //! If is True, it is a forced tabulation (overlength is + //! replaced by a final dot) + //! If is False, just 3 blanks follow an overlength + Standard_EXPORT void Add(const Handle(IFSelect_Signature)& subsign, + const Standard_Integer width = 0, + const Standard_Boolean maxi = Standard_False); + + //! Concatenates the values of sub-signatures, with their + //! tabulations + Standard_EXPORT Standard_CString + Value(const Handle(Standard_Transient)& ent, + const Handle(Interface_InterfaceModel)& model) const Standard_OVERRIDE; + + //! Specialized Match Rule + //! If is False, simply checks if at least one sub-item + //! matches + //! If is True, standard match with Value + //! (i.e. tabulations must be respected) + Standard_EXPORT virtual Standard_Boolean Matches(const Handle(Standard_Transient)& ent, + const Handle(Interface_InterfaceModel)& model, + const TCollection_AsciiString& text, + const Standard_Boolean exact) const + Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(IFSelect_SignMultiple, IFSelect_Signature) + +protected: +private: + TColStd_SequenceOfTransient thesubs; + TColStd_SequenceOfInteger thetabs; +}; + +#endif // _IFSelect_SignMultiple_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESAppli_PWBArtworkStackup.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESAppli_PWBArtworkStackup.hxx new file mode 100644 index 0000000000000000000000000000000000000000..2df16fac9292c44d935257d6343d5df69becf8c8 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESAppli_PWBArtworkStackup.hxx @@ -0,0 +1,75 @@ +// Created on: 1993-01-11 +// Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN ) +// 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 _IGESAppli_PWBArtworkStackup_HeaderFile +#define _IGESAppli_PWBArtworkStackup_HeaderFile + +#include + +#include +#include +#include +class TCollection_HAsciiString; + +class IGESAppli_PWBArtworkStackup; +DEFINE_STANDARD_HANDLE(IGESAppli_PWBArtworkStackup, IGESData_IGESEntity) + +//! defines PWBArtworkStackup, Type <406> Form <25> +//! in package IGESAppli +//! Used to communicate which exchange file levels are to +//! be combined in order to create the artwork for a +//! printed wire board (PWB). This property should be +//! attached to the entity defining the printed wire +//! assembly (PWA) or if no such entity exists, then the +//! property should stand alone in the file. +class IGESAppli_PWBArtworkStackup : public IGESData_IGESEntity +{ + +public: + Standard_EXPORT IGESAppli_PWBArtworkStackup(); + + //! This method is used to set the fields of the class + //! PWBArtworkStackup + //! - nbPropVal : number of property values + //! - anArtIdent : Artwork Stackup Identification + //! - allLevelNums : Level Numbers + Standard_EXPORT void Init(const Standard_Integer nbPropVal, + const Handle(TCollection_HAsciiString)& anArtIdent, + const Handle(TColStd_HArray1OfInteger)& allLevelNums); + + //! returns number of property values + Standard_EXPORT Standard_Integer NbPropertyValues() const; + + //! returns Artwork Stackup Identification + Standard_EXPORT Handle(TCollection_HAsciiString) Identification() const; + + //! returns total number of Level Numbers + Standard_EXPORT Standard_Integer NbLevelNumbers() const; + + //! returns Level Number + //! raises exception if Index <= 0 or Index > NbLevelNumbers + Standard_EXPORT Standard_Integer LevelNumber(const Standard_Integer Index) const; + + DEFINE_STANDARD_RTTIEXT(IGESAppli_PWBArtworkStackup, IGESData_IGESEntity) + +protected: +private: + Standard_Integer theNbPropertyValues; + Handle(TCollection_HAsciiString) theArtworkStackupIdent; + Handle(TColStd_HArray1OfInteger) theLevelNumbers; +}; + +#endif // _IGESAppli_PWBArtworkStackup_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESAppli_ToolPWBArtworkStackup.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESAppli_ToolPWBArtworkStackup.hxx new file mode 100644 index 0000000000000000000000000000000000000000..3671971a11f75eaa8753e0b47c444e8e23337285 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESAppli_ToolPWBArtworkStackup.hxx @@ -0,0 +1,85 @@ +// Created on: 1993-10-14 +// Created by: Christian CAILLET +// 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 _IGESAppli_ToolPWBArtworkStackup_HeaderFile +#define _IGESAppli_ToolPWBArtworkStackup_HeaderFile + +#include +#include +#include + +#include +class IGESAppli_PWBArtworkStackup; +class IGESData_IGESReaderData; +class IGESData_ParamReader; +class IGESData_IGESWriter; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Interface_CopyTool; +class IGESData_IGESDumper; + +//! Tool to work on a PWBArtworkStackup. Called by various Modules +//! (ReadWriteModule, GeneralModule, SpecificModule) +class IGESAppli_ToolPWBArtworkStackup +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a ToolPWBArtworkStackup, ready to work + Standard_EXPORT IGESAppli_ToolPWBArtworkStackup(); + + //! Reads own parameters from file. gives access to them, + //! detains parameter types and values + Standard_EXPORT void ReadOwnParams(const Handle(IGESAppli_PWBArtworkStackup)& ent, + const Handle(IGESData_IGESReaderData)& IR, + IGESData_ParamReader& PR) const; + + //! Writes own parameters to IGESWriter + Standard_EXPORT void WriteOwnParams(const Handle(IGESAppli_PWBArtworkStackup)& ent, + IGESData_IGESWriter& IW) const; + + //! Lists the Entities shared by a PWBArtworkStackup , from + //! its specific (own) parameters + Standard_EXPORT void OwnShared(const Handle(IGESAppli_PWBArtworkStackup)& ent, + Interface_EntityIterator& iter) const; + + //! Returns specific DirChecker + Standard_EXPORT IGESData_DirChecker + DirChecker(const Handle(IGESAppli_PWBArtworkStackup)& ent) const; + + //! Performs Specific Semantic Check + Standard_EXPORT void OwnCheck(const Handle(IGESAppli_PWBArtworkStackup)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const; + + //! Copies Specific Parameters + Standard_EXPORT void OwnCopy(const Handle(IGESAppli_PWBArtworkStackup)& entfrom, + const Handle(IGESAppli_PWBArtworkStackup)& entto, + Interface_CopyTool& TC) const; + + //! Dump of Specific Parameters + Standard_EXPORT void OwnDump(const Handle(IGESAppli_PWBArtworkStackup)& ent, + const IGESData_IGESDumper& dumper, + Standard_OStream& S, + const Standard_Integer own) const; + +protected: +private: +}; + +#endif // _IGESAppli_ToolPWBArtworkStackup_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESData_DefList.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESData_DefList.hxx new file mode 100644 index 0000000000000000000000000000000000000000..8e90c6f4ed4fbfbe75ec089c07a31a0d84e23007 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESData_DefList.hxx @@ -0,0 +1,45 @@ +// Created on: 1992-04-06 +// Created by: Christian CAILLET +// Copyright (c) 1992-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 _IGESData_DefList_HeaderFile +#define _IGESData_DefList_HeaderFile + +//! Some fields of an IGES entity may be +//! - Undefined +//! - Defined as a single item +//! - Defined as a list of items. +//! A typical example, which presents this kind of variation, +//! is a level number. +//! This enumeration allows you to identify which of the above is the case. +//! The semantics of the terms is as follows: +//! - DefNone indicates that the list is empty (there is not +//! even a single item). +//! - DefOne indicates that the list contains a single item. +//! - DefSeveral indicates that the list contains several items. +//! - ErrorOne indicates that the list contains one item, but +//! that this item is incorrect +//! - ErrorSeveral indicates that the list contains several +//! items, but that at least one of them is incorrect. +enum IGESData_DefList +{ + IGESData_DefNone, + IGESData_DefOne, + IGESData_DefSeveral, + IGESData_ErrorOne, + IGESData_ErrorSeveral +}; + +#endif // _IGESData_DefList_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESData_Protocol.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESData_Protocol.hxx new file mode 100644 index 0000000000000000000000000000000000000000..6912164ce594cbeb4e47703f316c3e940c3b149d --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESData_Protocol.hxx @@ -0,0 +1,73 @@ +// Created on: 1993-05-05 +// Created by: Christian CAILLET +// 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 _IGESData_Protocol_HeaderFile +#define _IGESData_Protocol_HeaderFile + +#include +#include + +#include +#include +class Interface_InterfaceModel; +class Standard_Transient; + +class IGESData_Protocol; +DEFINE_STANDARD_HANDLE(IGESData_Protocol, Interface_Protocol) + +//! Description of basic Protocol for IGES +//! This comprises treatment of IGESModel and Recognition of +//! Undefined-FreeFormat-Entity +class IGESData_Protocol : public Interface_Protocol +{ + +public: + Standard_EXPORT IGESData_Protocol(); + + //! Gives the count of Resource Protocol. Here, none + Standard_EXPORT Standard_Integer NbResources() const Standard_OVERRIDE; + + //! Returns a Resource, given a rank. Here, none + Standard_EXPORT Handle(Interface_Protocol) Resource(const Standard_Integer num) const + Standard_OVERRIDE; + + //! Returns a Case Number, specific of each recognized Type + //! Here, Undefined and Free Format Entities have the Number 1. + Standard_EXPORT Standard_Integer + TypeNumber(const Handle(Standard_Type)& atype) const Standard_OVERRIDE; + + //! Creates an empty Model for IGES Norm + Standard_EXPORT Handle(Interface_InterfaceModel) NewModel() const Standard_OVERRIDE; + + //! Returns True if is a Model of IGES Norm + Standard_EXPORT Standard_Boolean + IsSuitableModel(const Handle(Interface_InterfaceModel)& model) const Standard_OVERRIDE; + + //! Creates a new Unknown Entity for IGES (UndefinedEntity) + Standard_EXPORT Handle(Standard_Transient) UnknownEntity() const Standard_OVERRIDE; + + //! Returns True if is an Unknown Entity for the Norm, i.e. + //! Type UndefinedEntity, status Unknown + Standard_EXPORT Standard_Boolean + IsUnknownEntity(const Handle(Standard_Transient)& ent) const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(IGESData_Protocol, Interface_Protocol) + +protected: +private: +}; + +#endif // _IGESData_Protocol_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESData_ViewKindEntity.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESData_ViewKindEntity.hxx new file mode 100644 index 0000000000000000000000000000000000000000..42cc3909fa00b9d2a7af4d0deaca0f7ae57ebc74 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESData_ViewKindEntity.hxx @@ -0,0 +1,55 @@ +// Created on: 1992-04-07 +// Created by: Christian CAILLET +// Copyright (c) 1992-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 _IGESData_ViewKindEntity_HeaderFile +#define _IGESData_ViewKindEntity_HeaderFile + +#include + +#include +#include + +class IGESData_ViewKindEntity; +DEFINE_STANDARD_HANDLE(IGESData_ViewKindEntity, IGESData_IGESEntity) + +//! defines required type for ViewKind in directory part +//! that is, Single view or Multiple view +//! An effective ViewKind entity must inherit it and define +//! IsSingle (True for Single, False for List of Views), +//! NbViews and ViewItem (especially for a List) +class IGESData_ViewKindEntity : public IGESData_IGESEntity +{ + +public: + //! says if "me" is a Single View (True) or a List of Views (False) + Standard_EXPORT virtual Standard_Boolean IsSingle() const = 0; + + //! Returns the count of Views for a List of Views. For a Single + //! View, may return simply 1 + Standard_EXPORT virtual Standard_Integer NbViews() const = 0; + + //! Returns the View n0. for a List of Views. For a Single + //! Views, may return itself + Standard_EXPORT virtual Handle(IGESData_ViewKindEntity) ViewItem( + const Standard_Integer num) const = 0; + + DEFINE_STANDARD_RTTIEXT(IGESData_ViewKindEntity, IGESData_IGESEntity) + +protected: +private: +}; + +#endif // _IGESData_ViewKindEntity_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDefs_ToolAssociativityDef.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDefs_ToolAssociativityDef.hxx new file mode 100644 index 0000000000000000000000000000000000000000..55705747a39c3ecd2031089a6a2230786a31d363 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDefs_ToolAssociativityDef.hxx @@ -0,0 +1,85 @@ +// Created on: 1993-10-14 +// Created by: Christian CAILLET +// 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 _IGESDefs_ToolAssociativityDef_HeaderFile +#define _IGESDefs_ToolAssociativityDef_HeaderFile + +#include +#include +#include + +#include +class IGESDefs_AssociativityDef; +class IGESData_IGESReaderData; +class IGESData_ParamReader; +class IGESData_IGESWriter; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Interface_CopyTool; +class IGESData_IGESDumper; + +//! Tool to work on a AssociativityDef. Called by various Modules +//! (ReadWriteModule, GeneralModule, SpecificModule) +class IGESDefs_ToolAssociativityDef +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a ToolAssociativityDef, ready to work + Standard_EXPORT IGESDefs_ToolAssociativityDef(); + + //! Reads own parameters from file. gives access to them, + //! detains parameter types and values + Standard_EXPORT void ReadOwnParams(const Handle(IGESDefs_AssociativityDef)& ent, + const Handle(IGESData_IGESReaderData)& IR, + IGESData_ParamReader& PR) const; + + //! Writes own parameters to IGESWriter + Standard_EXPORT void WriteOwnParams(const Handle(IGESDefs_AssociativityDef)& ent, + IGESData_IGESWriter& IW) const; + + //! Lists the Entities shared by a AssociativityDef , from + //! its specific (own) parameters + Standard_EXPORT void OwnShared(const Handle(IGESDefs_AssociativityDef)& ent, + Interface_EntityIterator& iter) const; + + //! Returns specific DirChecker + Standard_EXPORT IGESData_DirChecker + DirChecker(const Handle(IGESDefs_AssociativityDef)& ent) const; + + //! Performs Specific Semantic Check + Standard_EXPORT void OwnCheck(const Handle(IGESDefs_AssociativityDef)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const; + + //! Copies Specific Parameters + Standard_EXPORT void OwnCopy(const Handle(IGESDefs_AssociativityDef)& entfrom, + const Handle(IGESDefs_AssociativityDef)& entto, + Interface_CopyTool& TC) const; + + //! Dump of Specific Parameters + Standard_EXPORT void OwnDump(const Handle(IGESDefs_AssociativityDef)& ent, + const IGESData_IGESDumper& dumper, + Standard_OStream& S, + const Standard_Integer own) const; + +protected: +private: +}; + +#endif // _IGESDefs_ToolAssociativityDef_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDefs_ToolMacroDef.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDefs_ToolMacroDef.hxx new file mode 100644 index 0000000000000000000000000000000000000000..40cdb52139fa315c436fb7af0939cb23156b3e58 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDefs_ToolMacroDef.hxx @@ -0,0 +1,84 @@ +// Created on: 1993-10-14 +// Created by: Christian CAILLET +// 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 _IGESDefs_ToolMacroDef_HeaderFile +#define _IGESDefs_ToolMacroDef_HeaderFile + +#include +#include +#include + +#include +class IGESDefs_MacroDef; +class IGESData_IGESReaderData; +class IGESData_ParamReader; +class IGESData_IGESWriter; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Interface_CopyTool; +class IGESData_IGESDumper; + +//! Tool to work on a MacroDef. Called by various Modules +//! (ReadWriteModule, GeneralModule, SpecificModule) +class IGESDefs_ToolMacroDef +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a ToolMacroDef, ready to work + Standard_EXPORT IGESDefs_ToolMacroDef(); + + //! Reads own parameters from file. gives access to them, + //! detains parameter types and values + Standard_EXPORT void ReadOwnParams(const Handle(IGESDefs_MacroDef)& ent, + const Handle(IGESData_IGESReaderData)& IR, + IGESData_ParamReader& PR) const; + + //! Writes own parameters to IGESWriter + Standard_EXPORT void WriteOwnParams(const Handle(IGESDefs_MacroDef)& ent, + IGESData_IGESWriter& IW) const; + + //! Lists the Entities shared by a MacroDef , from + //! its specific (own) parameters + Standard_EXPORT void OwnShared(const Handle(IGESDefs_MacroDef)& ent, + Interface_EntityIterator& iter) const; + + //! Returns specific DirChecker + Standard_EXPORT IGESData_DirChecker DirChecker(const Handle(IGESDefs_MacroDef)& ent) const; + + //! Performs Specific Semantic Check + Standard_EXPORT void OwnCheck(const Handle(IGESDefs_MacroDef)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const; + + //! Copies Specific Parameters + Standard_EXPORT void OwnCopy(const Handle(IGESDefs_MacroDef)& entfrom, + const Handle(IGESDefs_MacroDef)& entto, + Interface_CopyTool& TC) const; + + //! Dump of Specific Parameters + Standard_EXPORT void OwnDump(const Handle(IGESDefs_MacroDef)& ent, + const IGESData_IGESDumper& dumper, + Standard_OStream& S, + const Standard_Integer own) const; + +protected: +private: +}; + +#endif // _IGESDefs_ToolMacroDef_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDimen_ToolLeaderArrow.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDimen_ToolLeaderArrow.hxx new file mode 100644 index 0000000000000000000000000000000000000000..5efc936969c9395c2a5349599567630956bab48f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDimen_ToolLeaderArrow.hxx @@ -0,0 +1,84 @@ +// Created on: 1993-10-14 +// Created by: Christian CAILLET +// 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 _IGESDimen_ToolLeaderArrow_HeaderFile +#define _IGESDimen_ToolLeaderArrow_HeaderFile + +#include +#include +#include + +#include +class IGESDimen_LeaderArrow; +class IGESData_IGESReaderData; +class IGESData_ParamReader; +class IGESData_IGESWriter; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Interface_CopyTool; +class IGESData_IGESDumper; + +//! Tool to work on a LeaderArrow. Called by various Modules +//! (ReadWriteModule, GeneralModule, SpecificModule) +class IGESDimen_ToolLeaderArrow +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a ToolLeaderArrow, ready to work + Standard_EXPORT IGESDimen_ToolLeaderArrow(); + + //! Reads own parameters from file. gives access to them, + //! detains parameter types and values + Standard_EXPORT void ReadOwnParams(const Handle(IGESDimen_LeaderArrow)& ent, + const Handle(IGESData_IGESReaderData)& IR, + IGESData_ParamReader& PR) const; + + //! Writes own parameters to IGESWriter + Standard_EXPORT void WriteOwnParams(const Handle(IGESDimen_LeaderArrow)& ent, + IGESData_IGESWriter& IW) const; + + //! Lists the Entities shared by a LeaderArrow , from + //! its specific (own) parameters + Standard_EXPORT void OwnShared(const Handle(IGESDimen_LeaderArrow)& ent, + Interface_EntityIterator& iter) const; + + //! Returns specific DirChecker + Standard_EXPORT IGESData_DirChecker DirChecker(const Handle(IGESDimen_LeaderArrow)& ent) const; + + //! Performs Specific Semantic Check + Standard_EXPORT void OwnCheck(const Handle(IGESDimen_LeaderArrow)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const; + + //! Copies Specific Parameters + Standard_EXPORT void OwnCopy(const Handle(IGESDimen_LeaderArrow)& entfrom, + const Handle(IGESDimen_LeaderArrow)& entto, + Interface_CopyTool& TC) const; + + //! Dump of Specific Parameters + Standard_EXPORT void OwnDump(const Handle(IGESDimen_LeaderArrow)& ent, + const IGESData_IGESDumper& dumper, + Standard_OStream& S, + const Standard_Integer own) const; + +protected: +private: +}; + +#endif // _IGESDimen_ToolLeaderArrow_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_GeneralModule.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_GeneralModule.hxx new file mode 100644 index 0000000000000000000000000000000000000000..3d6a7b1ceba490de261c77c21f5e6d7509e5a0d2 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_GeneralModule.hxx @@ -0,0 +1,110 @@ +// Created on: 1993-05-10 +// Created by: Christian CAILLET +// 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 _IGESDraw_GeneralModule_HeaderFile +#define _IGESDraw_GeneralModule_HeaderFile + +#include +#include + +#include +#include +class IGESData_IGESEntity; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Standard_Transient; +class Interface_CopyTool; + +class IGESDraw_GeneralModule; +DEFINE_STANDARD_HANDLE(IGESDraw_GeneralModule, IGESData_GeneralModule) + +//! Definition of General Services for IGESDraw (specific part) +//! This Services comprise : Shared & Implied Lists, Copy, Check +class IGESDraw_GeneralModule : public IGESData_GeneralModule +{ + +public: + //! Creates a GeneralModule from IGESDraw and puts it into GeneralLib + Standard_EXPORT IGESDraw_GeneralModule(); + + //! Lists the Entities shared by a given IGESEntity , from + //! its specific parameters : specific for each type + Standard_EXPORT void OwnSharedCase(const Standard_Integer CN, + const Handle(IGESData_IGESEntity)& ent, + Interface_EntityIterator& iter) const Standard_OVERRIDE; + + //! Specific list of Entities implied by an IGESEntity (in + //! addition to Associativities). Redefined for ViewsVisible ... + Standard_EXPORT virtual void OwnImpliedCase(const Standard_Integer CN, + const Handle(IGESData_IGESEntity)& ent, + Interface_EntityIterator& iter) const + Standard_OVERRIDE; + + //! Returns a DirChecker, specific for each type of Entity + //! (identified by its Case Number) : this DirChecker defines + //! constraints which must be respected by the DirectoryPart + Standard_EXPORT IGESData_DirChecker + DirChecker(const Standard_Integer CN, + const Handle(IGESData_IGESEntity)& ent) const Standard_OVERRIDE; + + //! Performs Specific Semantic Check for each type of Entity + Standard_EXPORT void OwnCheckCase(const Standard_Integer CN, + const Handle(IGESData_IGESEntity)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const Standard_OVERRIDE; + + //! Specific creation of a new void entity + Standard_EXPORT Standard_Boolean + NewVoid(const Standard_Integer CN, Handle(Standard_Transient)& entto) const Standard_OVERRIDE; + + //! Copies parameters which are specific of each Type of Entity + Standard_EXPORT void OwnCopyCase(const Standard_Integer CN, + const Handle(IGESData_IGESEntity)& entfrom, + const Handle(IGESData_IGESEntity)& entto, + Interface_CopyTool& TC) const Standard_OVERRIDE; + + //! Renews parameters which are specific of each Type of Entity : + //! redefined for ViewsVisible ... (takes only the implied ref.s + //! which have also been copied) + Standard_EXPORT virtual void OwnRenewCase(const Standard_Integer CN, + const Handle(IGESData_IGESEntity)& entfrom, + const Handle(IGESData_IGESEntity)& entto, + const Interface_CopyTool& TC) const Standard_OVERRIDE; + + //! Clears parameters with can cause looping structures : + //! redefined for ViewsVisible ... (clears the implied ref.s) + Standard_EXPORT virtual void OwnDeleteCase(const Standard_Integer CN, + const Handle(IGESData_IGESEntity)& ent) const + Standard_OVERRIDE; + + //! Returns a category number which characterizes an entity + //! Planar : Auxiliary + //! Subfigures and ConnectPoint : Structure + //! others : Drawing + Standard_EXPORT virtual Standard_Integer CategoryNumber(const Standard_Integer CN, + const Handle(Standard_Transient)& ent, + const Interface_ShareTool& shares) const + Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(IGESDraw_GeneralModule, IGESData_GeneralModule) + +protected: +private: +}; + +#endif // _IGESDraw_GeneralModule_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_NetworkSubfigure.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_NetworkSubfigure.hxx new file mode 100644 index 0000000000000000000000000000000000000000..8a015586cb8be77a42c12f8e62be37c8617b2778 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_NetworkSubfigure.hxx @@ -0,0 +1,117 @@ +// Created on: 1993-01-11 +// Created by: CKY / Contract Toubro-Larsen ( TCD ) +// 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 _IGESDraw_NetworkSubfigure_HeaderFile +#define _IGESDraw_NetworkSubfigure_HeaderFile + +#include +#include + +#include +#include +#include +#include +class IGESDraw_NetworkSubfigureDef; +class TCollection_HAsciiString; +class IGESGraph_TextDisplayTemplate; +class IGESDraw_ConnectPoint; + +class IGESDraw_NetworkSubfigure; +DEFINE_STANDARD_HANDLE(IGESDraw_NetworkSubfigure, IGESData_IGESEntity) + +//! defines IGES Network Subfigure Instance Entity, +//! Type <420> Form Number <0> in package IGESDraw +//! +//! Used to specify each instance of Network Subfigure +//! Definition Entity (Type 320, Form 0). +class IGESDraw_NetworkSubfigure : public IGESData_IGESEntity +{ + +public: + Standard_EXPORT IGESDraw_NetworkSubfigure(); + + //! This method is used to set the fields of the class + //! NetworkSubfigure + //! - aDefinition : Network Subfigure Definition Entity + //! - aTranslation : Translation data relative to the model + //! space or the definition space + //! - aScaleFactor : Scale factors in the definition space + //! - aTypeFlag : Type flag + //! - aDesignator : Primary reference designator + //! - aTemplate : Primary reference designator Text + //! display Template Entity + //! - allConnectPoints : Associated Connect Point Entities + Standard_EXPORT void Init(const Handle(IGESDraw_NetworkSubfigureDef)& aDefinition, + const gp_XYZ& aTranslation, + const gp_XYZ& aScaleFactor, + const Standard_Integer aTypeFlag, + const Handle(TCollection_HAsciiString)& aDesignator, + const Handle(IGESGraph_TextDisplayTemplate)& aTemplate, + const Handle(IGESDraw_HArray1OfConnectPoint)& allConnectPoints); + + //! returns Network Subfigure Definition Entity specified by this entity + Standard_EXPORT Handle(IGESDraw_NetworkSubfigureDef) SubfigureDefinition() const; + + //! returns Translation Data relative to either model space or to + //! the definition space of a referring entity + Standard_EXPORT gp_XYZ Translation() const; + + //! returns the Transformed Translation Data relative to either model + //! space or to the definition space of a referring entity + Standard_EXPORT gp_XYZ TransformedTranslation() const; + + //! returns Scale factor in definition space(x, y, z axes) + Standard_EXPORT gp_XYZ ScaleFactors() const; + + //! returns Type Flag which implements the distinction between Logical + //! design and Physical design data,and is required if both are present. + //! Type Flag = 0 : Not specified (default) + //! = 1 : Logical + //! = 2 : Physical + Standard_EXPORT Standard_Integer TypeFlag() const; + + //! returns the primary reference designator + Standard_EXPORT Handle(TCollection_HAsciiString) ReferenceDesignator() const; + + //! returns True if Text Display Template Entity is specified, + //! else False + Standard_EXPORT Standard_Boolean HasDesignatorTemplate() const; + + //! returns primary reference designator Text Display Template Entity, + //! or null. If null, no Text Display Template Entity specified + Standard_EXPORT Handle(IGESGraph_TextDisplayTemplate) DesignatorTemplate() const; + + //! returns the number of associated Connect Point Entities + Standard_EXPORT Standard_Integer NbConnectPoints() const; + + //! returns the Index'th associated Connect point Entity + //! raises exception if Index <= 0 or Index > NbConnectPoints() + Standard_EXPORT Handle(IGESDraw_ConnectPoint) ConnectPoint(const Standard_Integer Index) const; + + DEFINE_STANDARD_RTTIEXT(IGESDraw_NetworkSubfigure, IGESData_IGESEntity) + +protected: +private: + Handle(IGESDraw_NetworkSubfigureDef) theSubfigureDefinition; + gp_XYZ theTranslation; + gp_XYZ theScaleFactor; + Standard_Integer theTypeFlag; + Handle(TCollection_HAsciiString) theDesignator; + Handle(IGESGraph_TextDisplayTemplate) theDesignatorTemplate; + Handle(IGESDraw_HArray1OfConnectPoint) theConnectPoints; +}; + +#endif // _IGESDraw_NetworkSubfigure_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_ToolDrawing.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_ToolDrawing.hxx new file mode 100644 index 0000000000000000000000000000000000000000..4f29256e3be726283e66aa18ea5316615dbe4be6 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_ToolDrawing.hxx @@ -0,0 +1,88 @@ +// Created on: 1993-10-14 +// Created by: Christian CAILLET +// 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 _IGESDraw_ToolDrawing_HeaderFile +#define _IGESDraw_ToolDrawing_HeaderFile + +#include +#include +#include + +#include +class IGESDraw_Drawing; +class IGESData_IGESReaderData; +class IGESData_ParamReader; +class IGESData_IGESWriter; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Interface_CopyTool; +class IGESData_IGESDumper; + +//! Tool to work on a Drawing. Called by various Modules +//! (ReadWriteModule, GeneralModule, SpecificModule) +class IGESDraw_ToolDrawing +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a ToolDrawing, ready to work + Standard_EXPORT IGESDraw_ToolDrawing(); + + //! Reads own parameters from file. gives access to them, + //! detains parameter types and values + Standard_EXPORT void ReadOwnParams(const Handle(IGESDraw_Drawing)& ent, + const Handle(IGESData_IGESReaderData)& IR, + IGESData_ParamReader& PR) const; + + //! Writes own parameters to IGESWriter + Standard_EXPORT void WriteOwnParams(const Handle(IGESDraw_Drawing)& ent, + IGESData_IGESWriter& IW) const; + + //! Lists the Entities shared by a Drawing , from + //! its specific (own) parameters + Standard_EXPORT void OwnShared(const Handle(IGESDraw_Drawing)& ent, + Interface_EntityIterator& iter) const; + + //! Sets automatic unambiguous Correction on a Drawing + //! (Null Views are removed from list) + Standard_EXPORT Standard_Boolean OwnCorrect(const Handle(IGESDraw_Drawing)& ent) const; + + //! Returns specific DirChecker + Standard_EXPORT IGESData_DirChecker DirChecker(const Handle(IGESDraw_Drawing)& ent) const; + + //! Performs Specific Semantic Check + Standard_EXPORT void OwnCheck(const Handle(IGESDraw_Drawing)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const; + + //! Copies Specific Parameters + Standard_EXPORT void OwnCopy(const Handle(IGESDraw_Drawing)& entfrom, + const Handle(IGESDraw_Drawing)& entto, + Interface_CopyTool& TC) const; + + //! Dump of Specific Parameters + Standard_EXPORT void OwnDump(const Handle(IGESDraw_Drawing)& ent, + const IGESData_IGESDumper& dumper, + Standard_OStream& S, + const Standard_Integer own) const; + +protected: +private: +}; + +#endif // _IGESDraw_ToolDrawing_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_ViewsVisible.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_ViewsVisible.hxx new file mode 100644 index 0000000000000000000000000000000000000000..7a74d01c8717e868c2d14673b40c6c8445010bd2 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESDraw_ViewsVisible.hxx @@ -0,0 +1,81 @@ +// Created on: 1993-01-11 +// Created by: CKY / Contract Toubro-Larsen ( Niraj RANGWALA ) +// 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 _IGESDraw_ViewsVisible_HeaderFile +#define _IGESDraw_ViewsVisible_HeaderFile + +#include + +#include +#include +#include +#include +class IGESData_IGESEntity; + +class IGESDraw_ViewsVisible; +DEFINE_STANDARD_HANDLE(IGESDraw_ViewsVisible, IGESData_ViewKindEntity) + +//! Defines IGESViewsVisible, Type <402>, Form <3> +//! in package IGESDraw +//! +//! If an entity is to be displayed in more than one views, +//! this class instance is used, which contains the Visible +//! views and the associated entity Displays. +class IGESDraw_ViewsVisible : public IGESData_ViewKindEntity +{ + +public: + Standard_EXPORT IGESDraw_ViewsVisible(); + + //! This method is used to set the fields of the class + //! ViewsVisible + //! - allViewEntities : All View kind entities + //! - allDisplayEntity : All entities whose display is specified + Standard_EXPORT void Init(const Handle(IGESDraw_HArray1OfViewKindEntity)& allViewEntities, + const Handle(IGESData_HArray1OfIGESEntity)& allDisplayEntity); + + //! Changes only the list of Displayed Entities (Null allowed) + Standard_EXPORT void InitImplied(const Handle(IGESData_HArray1OfIGESEntity)& allDisplayEntity); + + //! Returns False (for a complex view) + Standard_EXPORT Standard_Boolean IsSingle() const Standard_OVERRIDE; + + //! returns the Number of views visible + Standard_EXPORT Standard_Integer NbViews() const Standard_OVERRIDE; + + //! returns the number of entities displayed in the Views or zero if + //! no Entities specified in these Views + Standard_EXPORT Standard_Integer NbDisplayedEntities() const; + + //! returns the Index'th ViewKindEntity Entity + //! raises exception if Index <= 0 or Index > NbViewsVisible() + Standard_EXPORT Handle(IGESData_ViewKindEntity) ViewItem(const Standard_Integer Index) const + Standard_OVERRIDE; + + //! returns the Index'th entity whose display is being specified by + //! this associativity instance + //! raises exception if Index <= 0 or Index > NbEntityDisplayed() + Standard_EXPORT Handle(IGESData_IGESEntity) DisplayedEntity(const Standard_Integer Index) const; + + DEFINE_STANDARD_RTTIEXT(IGESDraw_ViewsVisible, IGESData_ViewKindEntity) + +protected: +private: + Handle(IGESDraw_HArray1OfViewKindEntity) theViewEntities; + Handle(IGESData_HArray1OfIGESEntity) theDisplayEntity; +}; + +#endif // _IGESDraw_ViewsVisible_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_ConicArc.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_ConicArc.hxx new file mode 100644 index 0000000000000000000000000000000000000000..fa652ec3dfc10646f07b25951e68bcdaa59572f8 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_ConicArc.hxx @@ -0,0 +1,164 @@ +// Created on: 1993-01-09 +// Created by: CKY / Contract Toubro-Larsen (Kiran) +// 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 _IGESGeom_ConicArc_HeaderFile +#define _IGESGeom_ConicArc_HeaderFile + +#include +#include + +#include +#include +#include +class gp_Pnt2d; +class gp_Pnt; +class gp_Dir; + +class IGESGeom_ConicArc; +DEFINE_STANDARD_HANDLE(IGESGeom_ConicArc, IGESData_IGESEntity) + +//! defines IGESConicArc, Type <104> Form <0-3> in package IGESGeom +//! A conic arc is a bounded connected portion of a parent +//! conic curve which consists of more than one point. The +//! parent conic curve is either an ellipse, a parabola, or +//! a hyperbola. The definition space coordinate system is +//! always chosen so that the conic arc lies in a plane either +//! coincident with or parallel to XT, YT plane. Within such +//! a plane a conic is defined by the six coefficients in the +//! following equation. +//! A*XT^2 + B*XT*YT + C*YT^2 + D*XT + E*YT + F = 0 +class IGESGeom_ConicArc : public IGESData_IGESEntity +{ + +public: + Standard_EXPORT IGESGeom_ConicArc(); + + //! This method is used to set the fields of the class + //! ConicalArc + //! - A, B, C, D, E, F : Coefficients of the equation + //! defining conic arc + //! - ZT : Parallel ZT displacement of the arc + //! from XT, YT plane. + //! - aStart : Starting point of the conic arc + //! - anEnd : End point of the conic arc + Standard_EXPORT void Init(const Standard_Real A, + const Standard_Real B, + const Standard_Real C, + const Standard_Real D, + const Standard_Real E, + const Standard_Real F, + const Standard_Real ZT, + const gp_XY& aStart, + const gp_XY& anEnd); + + //! sets the Form Number equal to ComputedFormNumber, + //! returns True if changed + Standard_EXPORT Standard_Boolean OwnCorrect(); + + //! Computes the Form Number according to the equation + //! 1 for Ellipse, 2 for Hyperbola, 3 for Parabola + Standard_EXPORT Standard_Integer ComputedFormNumber() const; + + Standard_EXPORT void Equation(Standard_Real& A, + Standard_Real& B, + Standard_Real& C, + Standard_Real& D, + Standard_Real& E, + Standard_Real& F) const; + + //! returns the Z displacement of the arc from XT, YT plane + Standard_EXPORT Standard_Real ZPlane() const; + + //! returns the starting point of the arc + Standard_EXPORT gp_Pnt2d StartPoint() const; + + //! returns the starting point of the arc after applying + //! Transf. Matrix + Standard_EXPORT gp_Pnt TransformedStartPoint() const; + + //! returns the end point of the arc + Standard_EXPORT gp_Pnt2d EndPoint() const; + + //! returns the end point of the arc after applying + //! Transf. Matrix + Standard_EXPORT gp_Pnt TransformedEndPoint() const; + + //! returns True if parent conic curve is an ellipse + Standard_EXPORT Standard_Boolean IsFromEllipse() const; + + //! returns True if parent conic curve is a parabola + Standard_EXPORT Standard_Boolean IsFromParabola() const; + + //! returns True if parent conic curve is a hyperbola + Standard_EXPORT Standard_Boolean IsFromHyperbola() const; + + //! returns True if StartPoint = EndPoint + Standard_EXPORT Standard_Boolean IsClosed() const; + + //! Z-Axis of conic (i.e. [0,0,1]) + Standard_EXPORT gp_Dir Axis() const; + + //! Z-Axis after applying Trans. Matrix + Standard_EXPORT gp_Dir TransformedAxis() const; + + //! Returns a Definition computed from equation, easier to use + //!

: the center of the conic (meaningless for + //! a parabola) (defined with Z displacement) + //! : the Main Axis of the conic (for a Circle, + //! arbitrary the X Axis) + //! : Minor and Major Radii of the conic + //! For a Circle, Rmin = Rmax, + //! For a Parabola, Rmin = Rmax = the Focal + //! Warning : the basic definition (by equation) is not very stable, + //! limit cases may be approximative + Standard_EXPORT void Definition(gp_Pnt& Center, + gp_Dir& MainAxis, + Standard_Real& rmin, + Standard_Real& rmax) const; + + //! Same as Definition, but the Location is applied on the + //! Center and the MainAxis + Standard_EXPORT void TransformedDefinition(gp_Pnt& Center, + gp_Dir& MainAxis, + Standard_Real& rmin, + Standard_Real& rmax) const; + + //! Computes and returns the coordinates of the definition of + //! a comic from its equation. Used by Definition & + //! TransformedDefinition, or may be called directly if needed + Standard_EXPORT void ComputedDefinition(Standard_Real& Xcen, + Standard_Real& Ycen, + Standard_Real& Xax, + Standard_Real& Yax, + Standard_Real& Rmin, + Standard_Real& Rmax) const; + + DEFINE_STANDARD_RTTIEXT(IGESGeom_ConicArc, IGESData_IGESEntity) + +protected: +private: + Standard_Real theA; + Standard_Real theB; + Standard_Real theC; + Standard_Real theD; + Standard_Real theE; + Standard_Real theF; + Standard_Real theZT; + gp_XY theStart; + gp_XY theEnd; +}; + +#endif // _IGESGeom_ConicArc_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_CurveOnSurface.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_CurveOnSurface.hxx new file mode 100644 index 0000000000000000000000000000000000000000..56253e908d7a7cb3e9aa2de7dfa172297a525461 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_CurveOnSurface.hxx @@ -0,0 +1,90 @@ +// Created on: 1993-01-09 +// Created by: CKY / Contract Toubro-Larsen ( Kiran ) +// 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 _IGESGeom_CurveOnSurface_HeaderFile +#define _IGESGeom_CurveOnSurface_HeaderFile + +#include + +#include +#include + +class IGESGeom_CurveOnSurface; +DEFINE_STANDARD_HANDLE(IGESGeom_CurveOnSurface, IGESData_IGESEntity) + +//! defines IGESCurveOnSurface, Type <142> Form <0> +//! in package IGESGeom +//! A curve on a parametric surface entity associates a given +//! curve with a surface and identifies the curve as lying on +//! the surface. +class IGESGeom_CurveOnSurface : public IGESData_IGESEntity +{ + +public: + Standard_EXPORT IGESGeom_CurveOnSurface(); + + //! This method is used to set the fields of the class + //! CurveOnSurface + //! - aMode : Way the curve on the surface has been created + //! - aSurface : Surface on which the curve lies + //! - aCurveUV : Curve S (UV) + //! - aCurve3D : Curve C (3D) + //! - aPreference : 0 = Unspecified + //! 1 = S o B is preferred + //! 2 = C is preferred + //! 3 = C and S o B are equally preferred + Standard_EXPORT void Init(const Standard_Integer aMode, + const Handle(IGESData_IGESEntity)& aSurface, + const Handle(IGESData_IGESEntity)& aCurveUV, + const Handle(IGESData_IGESEntity)& aCurve3D, + const Standard_Integer aPreference); + + //! returns the mode in which the curve is created on the surface + //! 0 = Unspecified + //! 1 = Projection of a given curve on the surface + //! 2 = Intersection of two surfaces + //! 3 = Isoparametric curve, i.e:- either a `u` parametric + //! or a `v` parametric curve + Standard_EXPORT Standard_Integer CreationMode() const; + + //! returns the surface on which the curve lies + Standard_EXPORT Handle(IGESData_IGESEntity) Surface() const; + + //! returns curve S + Standard_EXPORT Handle(IGESData_IGESEntity) CurveUV() const; + + //! returns curve C + Standard_EXPORT Handle(IGESData_IGESEntity) Curve3D() const; + + //! returns preference mode + //! 0 = Unspecified + //! 1 = S o B is preferred + //! 2 = C is preferred + //! 3 = C and S o B are equally preferred + Standard_EXPORT Standard_Integer PreferenceMode() const; + + DEFINE_STANDARD_RTTIEXT(IGESGeom_CurveOnSurface, IGESData_IGESEntity) + +protected: +private: + Standard_Integer theCreationMode; + Handle(IGESData_IGESEntity) theSurface; + Handle(IGESData_IGESEntity) theCurveUV; + Handle(IGESData_IGESEntity) theCurve3D; + Standard_Integer thePreferenceMode; +}; + +#endif // _IGESGeom_CurveOnSurface_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_HArray1OfCurveOnSurface.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_HArray1OfCurveOnSurface.hxx new file mode 100644 index 0000000000000000000000000000000000000000..bbef4fe9aff3f18f712aa07b604cd4e451e25f88 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_HArray1OfCurveOnSurface.hxx @@ -0,0 +1,25 @@ +// Created on: 1993-01-11 +// Created by: CKY / Contract Toubro-Larsen ( Kiran ) +// 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 IGESGeom_HArray1OfCurveOnSurface_HeaderFile +#define IGESGeom_HArray1OfCurveOnSurface_HeaderFile + +#include +#include + +DEFINE_HARRAY1(IGESGeom_HArray1OfCurveOnSurface, IGESGeom_Array1OfCurveOnSurface) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_SurfaceOfRevolution.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_SurfaceOfRevolution.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e8d76cb27e97af3fed7e8522f24958b6c370c0e2 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_SurfaceOfRevolution.hxx @@ -0,0 +1,73 @@ +// Created on: 1993-01-09 +// Created by: CKY / Contract Toubro-Larsen ( Kiran ) +// 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 _IGESGeom_SurfaceOfRevolution_HeaderFile +#define _IGESGeom_SurfaceOfRevolution_HeaderFile + +#include +#include + +#include +class IGESGeom_Line; + +class IGESGeom_SurfaceOfRevolution; +DEFINE_STANDARD_HANDLE(IGESGeom_SurfaceOfRevolution, IGESData_IGESEntity) + +//! defines IGESSurfaceOfRevolution, Type <120> Form <0> +//! in package IGESGeom +//! A surface of revolution is defined by an axis of rotation +//! a generatrix, and start and terminate rotation angles. The +//! surface is created by rotating the generatrix about the axis +//! of rotation through the start and terminate rotation angles. +class IGESGeom_SurfaceOfRevolution : public IGESData_IGESEntity +{ + +public: + Standard_EXPORT IGESGeom_SurfaceOfRevolution(); + + //! This method is used to set the fields of the class Line + //! - anAxis : Axis of revolution + //! - aGeneratrix : The curve which is revolved about the axis + //! - aStartAngle : Start angle of the surface of revolution + //! - anEndAngle : End angle of the surface of revolution + Standard_EXPORT void Init(const Handle(IGESGeom_Line)& anAxis, + const Handle(IGESData_IGESEntity)& aGeneratrix, + const Standard_Real aStartAngle, + const Standard_Real anEndAngle); + + //! returns the axis of revolution + Standard_EXPORT Handle(IGESGeom_Line) AxisOfRevolution() const; + + //! returns the curve which is revolved about the axis + Standard_EXPORT Handle(IGESData_IGESEntity) Generatrix() const; + + //! returns start angle of revolution + Standard_EXPORT Standard_Real StartAngle() const; + + //! returns end angle of revolution + Standard_EXPORT Standard_Real EndAngle() const; + + DEFINE_STANDARD_RTTIEXT(IGESGeom_SurfaceOfRevolution, IGESData_IGESEntity) + +protected: +private: + Handle(IGESGeom_Line) theLine; + Handle(IGESData_IGESEntity) theGeneratrix; + Standard_Real theStartAngle; + Standard_Real theEndAngle; +}; + +#endif // _IGESGeom_SurfaceOfRevolution_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_ToolSplineCurve.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_ToolSplineCurve.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d7db5331510ed05a7efc1882a4c4c091df89bbc3 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGeom_ToolSplineCurve.hxx @@ -0,0 +1,84 @@ +// Created on: 1993-10-14 +// Created by: Christian CAILLET +// 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 _IGESGeom_ToolSplineCurve_HeaderFile +#define _IGESGeom_ToolSplineCurve_HeaderFile + +#include +#include +#include + +#include +class IGESGeom_SplineCurve; +class IGESData_IGESReaderData; +class IGESData_ParamReader; +class IGESData_IGESWriter; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Interface_CopyTool; +class IGESData_IGESDumper; + +//! Tool to work on a SplineCurve. Called by various Modules +//! (ReadWriteModule, GeneralModule, SpecificModule) +class IGESGeom_ToolSplineCurve +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a ToolSplineCurve, ready to work + Standard_EXPORT IGESGeom_ToolSplineCurve(); + + //! Reads own parameters from file. gives access to them, + //! detains parameter types and values + Standard_EXPORT void ReadOwnParams(const Handle(IGESGeom_SplineCurve)& ent, + const Handle(IGESData_IGESReaderData)& IR, + IGESData_ParamReader& PR) const; + + //! Writes own parameters to IGESWriter + Standard_EXPORT void WriteOwnParams(const Handle(IGESGeom_SplineCurve)& ent, + IGESData_IGESWriter& IW) const; + + //! Lists the Entities shared by a SplineCurve , from + //! its specific (own) parameters + Standard_EXPORT void OwnShared(const Handle(IGESGeom_SplineCurve)& ent, + Interface_EntityIterator& iter) const; + + //! Returns specific DirChecker + Standard_EXPORT IGESData_DirChecker DirChecker(const Handle(IGESGeom_SplineCurve)& ent) const; + + //! Performs Specific Semantic Check + Standard_EXPORT void OwnCheck(const Handle(IGESGeom_SplineCurve)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const; + + //! Copies Specific Parameters + Standard_EXPORT void OwnCopy(const Handle(IGESGeom_SplineCurve)& entfrom, + const Handle(IGESGeom_SplineCurve)& entto, + Interface_CopyTool& TC) const; + + //! Dump of Specific Parameters + Standard_EXPORT void OwnDump(const Handle(IGESGeom_SplineCurve)& ent, + const IGESData_IGESDumper& dumper, + Standard_OStream& S, + const Standard_Integer own) const; + +protected: +private: +}; + +#endif // _IGESGeom_ToolSplineCurve_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGraph_ToolLineFontDefPattern.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGraph_ToolLineFontDefPattern.hxx new file mode 100644 index 0000000000000000000000000000000000000000..fd73c1b19cfb0ce92d61539b674ebd22eb9e8c34 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESGraph_ToolLineFontDefPattern.hxx @@ -0,0 +1,85 @@ +// Created on: 1993-10-14 +// Created by: Christian CAILLET +// 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 _IGESGraph_ToolLineFontDefPattern_HeaderFile +#define _IGESGraph_ToolLineFontDefPattern_HeaderFile + +#include +#include +#include + +#include +class IGESGraph_LineFontDefPattern; +class IGESData_IGESReaderData; +class IGESData_ParamReader; +class IGESData_IGESWriter; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Interface_CopyTool; +class IGESData_IGESDumper; + +//! Tool to work on a LineFontDefPattern. Called by various +//! Modules (ReadWriteModule, GeneralModule, SpecificModule) +class IGESGraph_ToolLineFontDefPattern +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a ToolLineFontDefPattern, ready to work + Standard_EXPORT IGESGraph_ToolLineFontDefPattern(); + + //! Reads own parameters from file. gives access to them, + //! detains parameter types and values + Standard_EXPORT void ReadOwnParams(const Handle(IGESGraph_LineFontDefPattern)& ent, + const Handle(IGESData_IGESReaderData)& IR, + IGESData_ParamReader& PR) const; + + //! Writes own parameters to IGESWriter + Standard_EXPORT void WriteOwnParams(const Handle(IGESGraph_LineFontDefPattern)& ent, + IGESData_IGESWriter& IW) const; + + //! Lists the Entities shared by a LineFontDefPattern , from + //! its specific (own) parameters + Standard_EXPORT void OwnShared(const Handle(IGESGraph_LineFontDefPattern)& ent, + Interface_EntityIterator& iter) const; + + //! Returns specific DirChecker + Standard_EXPORT IGESData_DirChecker + DirChecker(const Handle(IGESGraph_LineFontDefPattern)& ent) const; + + //! Performs Specific Semantic Check + Standard_EXPORT void OwnCheck(const Handle(IGESGraph_LineFontDefPattern)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const; + + //! Copies Specific Parameters + Standard_EXPORT void OwnCopy(const Handle(IGESGraph_LineFontDefPattern)& entfrom, + const Handle(IGESGraph_LineFontDefPattern)& entto, + Interface_CopyTool& TC) const; + + //! Dump of Specific Parameters + Standard_EXPORT void OwnDump(const Handle(IGESGraph_LineFontDefPattern)& ent, + const IGESData_IGESDumper& dumper, + Standard_OStream& S, + const Standard_Integer own) const; + +protected: +private: +}; + +#endif // _IGESGraph_ToolLineFontDefPattern_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_Array1OfLoop.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_Array1OfLoop.hxx new file mode 100644 index 0000000000000000000000000000000000000000..07858cb539968bc20afebfc3cf7ee6753be41852 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_Array1OfLoop.hxx @@ -0,0 +1,25 @@ +// Created on: 1993-01-11 +// Created by: SIVA +// 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 IGESSolid_Array1OfLoop_HeaderFile +#define IGESSolid_Array1OfLoop_HeaderFile + +#include +#include + +typedef NCollection_Array1 IGESSolid_Array1OfLoop; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_SphericalSurface.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_SphericalSurface.hxx new file mode 100644 index 0000000000000000000000000000000000000000..6643ca9352f6971cb9d720917a0a7ff7230078c6 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_SphericalSurface.hxx @@ -0,0 +1,86 @@ +// Created on: 1993-01-09 +// Created by: CKY / Contract Toubro-Larsen ( SIVA ) +// 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 _IGESSolid_SphericalSurface_HeaderFile +#define _IGESSolid_SphericalSurface_HeaderFile + +#include +#include + +#include +class IGESGeom_Point; +class IGESGeom_Direction; +class gp_Pnt; + +class IGESSolid_SphericalSurface; +DEFINE_STANDARD_HANDLE(IGESSolid_SphericalSurface, IGESData_IGESEntity) + +//! defines SphericalSurface, Type <196> Form Number <0,1> +//! in package IGESSolid +//! Spherical surface is defined by a center and radius. +//! In case of parametrised surface an axis and a +//! reference direction is provided. +class IGESSolid_SphericalSurface : public IGESData_IGESEntity +{ + +public: + Standard_EXPORT IGESSolid_SphericalSurface(); + + //! This method is used to set the fields of the class + //! SphericalSurface + //! - aCenter : the coordinates of the center point + //! - aRadius : value of radius + //! - anAxis : the direction of the axis + //! Null in case of Unparametrised surface + //! - aRefdir : the reference direction + //! Null in case of Unparametrised surface + Standard_EXPORT void Init(const Handle(IGESGeom_Point)& aCenter, + const Standard_Real aRadius, + const Handle(IGESGeom_Direction)& anAxis, + const Handle(IGESGeom_Direction)& aRefdir); + + //! returns the center of the spherical surface + Standard_EXPORT Handle(IGESGeom_Point) Center() const; + + //! returns the center of the spherical surface after applying + //! TransformationMatrix + Standard_EXPORT gp_Pnt TransformedCenter() const; + + //! returns the radius of the spherical surface + Standard_EXPORT Standard_Real Radius() const; + + //! returns the direction of the axis (Parametrised surface) + //! Null is returned if the surface is not parametrised + Standard_EXPORT Handle(IGESGeom_Direction) Axis() const; + + //! returns the reference direction (Parametrised surface) + //! Null is returned if the surface is not parametrised + Standard_EXPORT Handle(IGESGeom_Direction) ReferenceDir() const; + + //! Returns True if the surface is parametrised, else False + Standard_EXPORT Standard_Boolean IsParametrised() const; + + DEFINE_STANDARD_RTTIEXT(IGESSolid_SphericalSurface, IGESData_IGESEntity) + +protected: +private: + Handle(IGESGeom_Point) theCenter; + Standard_Real theRadius; + Handle(IGESGeom_Direction) theAxis; + Handle(IGESGeom_Direction) theRefDir; +}; + +#endif // _IGESSolid_SphericalSurface_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_ToolConeFrustum.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_ToolConeFrustum.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9247d5e00741fa45721f6706a848ce5b0ac14001 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_ToolConeFrustum.hxx @@ -0,0 +1,84 @@ +// Created on: 1993-10-14 +// Created by: Christian CAILLET +// 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 _IGESSolid_ToolConeFrustum_HeaderFile +#define _IGESSolid_ToolConeFrustum_HeaderFile + +#include +#include +#include + +#include +class IGESSolid_ConeFrustum; +class IGESData_IGESReaderData; +class IGESData_ParamReader; +class IGESData_IGESWriter; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Interface_CopyTool; +class IGESData_IGESDumper; + +//! Tool to work on a ConeFrustum. Called by various Modules +//! (ReadWriteModule, GeneralModule, SpecificModule) +class IGESSolid_ToolConeFrustum +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a ToolConeFrustum, ready to work + Standard_EXPORT IGESSolid_ToolConeFrustum(); + + //! Reads own parameters from file. gives access to them, + //! detains parameter types and values + Standard_EXPORT void ReadOwnParams(const Handle(IGESSolid_ConeFrustum)& ent, + const Handle(IGESData_IGESReaderData)& IR, + IGESData_ParamReader& PR) const; + + //! Writes own parameters to IGESWriter + Standard_EXPORT void WriteOwnParams(const Handle(IGESSolid_ConeFrustum)& ent, + IGESData_IGESWriter& IW) const; + + //! Lists the Entities shared by a ConeFrustum , from + //! its specific (own) parameters + Standard_EXPORT void OwnShared(const Handle(IGESSolid_ConeFrustum)& ent, + Interface_EntityIterator& iter) const; + + //! Returns specific DirChecker + Standard_EXPORT IGESData_DirChecker DirChecker(const Handle(IGESSolid_ConeFrustum)& ent) const; + + //! Performs Specific Semantic Check + Standard_EXPORT void OwnCheck(const Handle(IGESSolid_ConeFrustum)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const; + + //! Copies Specific Parameters + Standard_EXPORT void OwnCopy(const Handle(IGESSolid_ConeFrustum)& entfrom, + const Handle(IGESSolid_ConeFrustum)& entto, + Interface_CopyTool& TC) const; + + //! Dump of Specific Parameters + Standard_EXPORT void OwnDump(const Handle(IGESSolid_ConeFrustum)& ent, + const IGESData_IGESDumper& dumper, + Standard_OStream& S, + const Standard_Integer own) const; + +protected: +private: +}; + +#endif // _IGESSolid_ToolConeFrustum_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_ToolSolidOfLinearExtrusion.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_ToolSolidOfLinearExtrusion.hxx new file mode 100644 index 0000000000000000000000000000000000000000..3e589239d02e0f480b68d2253a2959ec563ca156 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_ToolSolidOfLinearExtrusion.hxx @@ -0,0 +1,85 @@ +// Created on: 1993-10-14 +// Created by: Christian CAILLET +// 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 _IGESSolid_ToolSolidOfLinearExtrusion_HeaderFile +#define _IGESSolid_ToolSolidOfLinearExtrusion_HeaderFile + +#include +#include +#include + +#include +class IGESSolid_SolidOfLinearExtrusion; +class IGESData_IGESReaderData; +class IGESData_ParamReader; +class IGESData_IGESWriter; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Interface_CopyTool; +class IGESData_IGESDumper; + +//! Tool to work on a SolidOfLinearExtrusion. Called by various Modules +//! (ReadWriteModule, GeneralModule, SpecificModule) +class IGESSolid_ToolSolidOfLinearExtrusion +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a ToolSolidOfLinearExtrusion, ready to work + Standard_EXPORT IGESSolid_ToolSolidOfLinearExtrusion(); + + //! Reads own parameters from file. gives access to them, + //! detains parameter types and values + Standard_EXPORT void ReadOwnParams(const Handle(IGESSolid_SolidOfLinearExtrusion)& ent, + const Handle(IGESData_IGESReaderData)& IR, + IGESData_ParamReader& PR) const; + + //! Writes own parameters to IGESWriter + Standard_EXPORT void WriteOwnParams(const Handle(IGESSolid_SolidOfLinearExtrusion)& ent, + IGESData_IGESWriter& IW) const; + + //! Lists the Entities shared by a SolidOfLinearExtrusion , from + //! its specific (own) parameters + Standard_EXPORT void OwnShared(const Handle(IGESSolid_SolidOfLinearExtrusion)& ent, + Interface_EntityIterator& iter) const; + + //! Returns specific DirChecker + Standard_EXPORT IGESData_DirChecker + DirChecker(const Handle(IGESSolid_SolidOfLinearExtrusion)& ent) const; + + //! Performs Specific Semantic Check + Standard_EXPORT void OwnCheck(const Handle(IGESSolid_SolidOfLinearExtrusion)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const; + + //! Copies Specific Parameters + Standard_EXPORT void OwnCopy(const Handle(IGESSolid_SolidOfLinearExtrusion)& entfrom, + const Handle(IGESSolid_SolidOfLinearExtrusion)& entto, + Interface_CopyTool& TC) const; + + //! Dump of Specific Parameters + Standard_EXPORT void OwnDump(const Handle(IGESSolid_SolidOfLinearExtrusion)& ent, + const IGESData_IGESDumper& dumper, + Standard_OStream& S, + const Standard_Integer own) const; + +protected: +private: +}; + +#endif // _IGESSolid_ToolSolidOfLinearExtrusion_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_ToolTorus.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_ToolTorus.hxx new file mode 100644 index 0000000000000000000000000000000000000000..a54fd58a95d58efa78b6b5ca17643164a271fdf0 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_ToolTorus.hxx @@ -0,0 +1,84 @@ +// Created on: 1993-10-14 +// Created by: Christian CAILLET +// 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 _IGESSolid_ToolTorus_HeaderFile +#define _IGESSolid_ToolTorus_HeaderFile + +#include +#include +#include + +#include +class IGESSolid_Torus; +class IGESData_IGESReaderData; +class IGESData_ParamReader; +class IGESData_IGESWriter; +class Interface_EntityIterator; +class IGESData_DirChecker; +class Interface_ShareTool; +class Interface_Check; +class Interface_CopyTool; +class IGESData_IGESDumper; + +//! Tool to work on a Torus. Called by various Modules +//! (ReadWriteModule, GeneralModule, SpecificModule) +class IGESSolid_ToolTorus +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a ToolTorus, ready to work + Standard_EXPORT IGESSolid_ToolTorus(); + + //! Reads own parameters from file. gives access to them, + //! detains parameter types and values + Standard_EXPORT void ReadOwnParams(const Handle(IGESSolid_Torus)& ent, + const Handle(IGESData_IGESReaderData)& IR, + IGESData_ParamReader& PR) const; + + //! Writes own parameters to IGESWriter + Standard_EXPORT void WriteOwnParams(const Handle(IGESSolid_Torus)& ent, + IGESData_IGESWriter& IW) const; + + //! Lists the Entities shared by a Torus , from + //! its specific (own) parameters + Standard_EXPORT void OwnShared(const Handle(IGESSolid_Torus)& ent, + Interface_EntityIterator& iter) const; + + //! Returns specific DirChecker + Standard_EXPORT IGESData_DirChecker DirChecker(const Handle(IGESSolid_Torus)& ent) const; + + //! Performs Specific Semantic Check + Standard_EXPORT void OwnCheck(const Handle(IGESSolid_Torus)& ent, + const Interface_ShareTool& shares, + Handle(Interface_Check)& ach) const; + + //! Copies Specific Parameters + Standard_EXPORT void OwnCopy(const Handle(IGESSolid_Torus)& entfrom, + const Handle(IGESSolid_Torus)& entto, + Interface_CopyTool& TC) const; + + //! Dump of Specific Parameters + Standard_EXPORT void OwnDump(const Handle(IGESSolid_Torus)& ent, + const IGESData_IGESDumper& dumper, + Standard_OStream& S, + const Standard_Integer own) const; + +protected: +private: +}; + +#endif // _IGESSolid_ToolTorus_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_Torus.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_Torus.hxx new file mode 100644 index 0000000000000000000000000000000000000000..cae9ab3f1e5b46969165d9156a7ffcdae8cb285a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESSolid_Torus.hxx @@ -0,0 +1,81 @@ +// Created on: 1993-01-09 +// Created by: CKY / Contract Toubro-Larsen ( SIVA ) +// 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 _IGESSolid_Torus_HeaderFile +#define _IGESSolid_Torus_HeaderFile + +#include +#include + +#include +#include +class gp_Pnt; +class gp_Dir; + +class IGESSolid_Torus; +DEFINE_STANDARD_HANDLE(IGESSolid_Torus, IGESData_IGESEntity) + +//! defines Torus, Type <160> Form Number <0> +//! in package IGESSolid +//! A Torus is a solid formed by revolving a circular disc +//! about a specified coplanar axis. +class IGESSolid_Torus : public IGESData_IGESEntity +{ + +public: + Standard_EXPORT IGESSolid_Torus(); + + //! This method is used to set the fields of the class Torus + //! - R1 : distance from center of torus to center + //! of circular disc to be revolved + //! - R2 : radius of circular disc + //! - aPoint : center point coordinates (default (0,0,0)) + //! - anAxis : unit vector in axis direction (default (0,0,1)) + Standard_EXPORT void Init(const Standard_Real R1, + const Standard_Real R2, + const gp_XYZ& aPoint, + const gp_XYZ& anAxisdir); + + //! returns the distance from the center of torus to the center of + //! the disc to be revolved + Standard_EXPORT Standard_Real MajorRadius() const; + + //! returns the radius of the disc to be revolved + Standard_EXPORT Standard_Real DiscRadius() const; + + //! returns the center of torus + Standard_EXPORT gp_Pnt AxisPoint() const; + + //! returns the center of torus after applying TransformationMatrix + Standard_EXPORT gp_Pnt TransformedAxisPoint() const; + + //! returns direction of the axis + Standard_EXPORT gp_Dir Axis() const; + + //! returns direction of the axis after applying TransformationMatrix + Standard_EXPORT gp_Dir TransformedAxis() const; + + DEFINE_STANDARD_RTTIEXT(IGESSolid_Torus, IGESData_IGESEntity) + +protected: +private: + Standard_Real theR1; + Standard_Real theR2; + gp_XYZ thePoint; + gp_XYZ theAxis; +}; + +#endif // _IGESSolid_Torus_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESToBRep_AlgoContainer.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESToBRep_AlgoContainer.hxx new file mode 100644 index 0000000000000000000000000000000000000000..628452d1a89f12d666735098114b3a80e8c0d74c --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESToBRep_AlgoContainer.hxx @@ -0,0 +1,50 @@ +// Created on: 2000-02-07 +// Created by: data exchange team +// Copyright (c) 2000-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 _IGESToBRep_AlgoContainer_HeaderFile +#define _IGESToBRep_AlgoContainer_HeaderFile + +#include +#include + +#include +class IGESToBRep_ToolContainer; + +class IGESToBRep_AlgoContainer; +DEFINE_STANDARD_HANDLE(IGESToBRep_AlgoContainer, Standard_Transient) + +class IGESToBRep_AlgoContainer : public Standard_Transient +{ + +public: + //! Empty constructor + Standard_EXPORT IGESToBRep_AlgoContainer(); + + //! Sets ToolContainer + void SetToolContainer(const Handle(IGESToBRep_ToolContainer)& TC); + + //! Returns ToolContainer + Handle(IGESToBRep_ToolContainer) ToolContainer() const; + + DEFINE_STANDARD_RTTIEXT(IGESToBRep_AlgoContainer, Standard_Transient) + +protected: +private: + Handle(IGESToBRep_ToolContainer) myTC; +}; + +#include + +#endif // _IGESToBRep_AlgoContainer_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESToBRep_ToolContainer.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESToBRep_ToolContainer.hxx new file mode 100644 index 0000000000000000000000000000000000000000..8eae351ed391da060ae894c7d6b13f08dcc4158a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IGESToBRep_ToolContainer.hxx @@ -0,0 +1,44 @@ +// Created on: 2000-02-07 +// Created by: data exchange team +// Copyright (c) 2000-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 _IGESToBRep_ToolContainer_HeaderFile +#define _IGESToBRep_ToolContainer_HeaderFile + +#include +#include + +#include +class IGESToBRep_IGESBoundary; + +class IGESToBRep_ToolContainer; +DEFINE_STANDARD_HANDLE(IGESToBRep_ToolContainer, Standard_Transient) + +class IGESToBRep_ToolContainer : public Standard_Transient +{ + +public: + //! Empty constructor + Standard_EXPORT IGESToBRep_ToolContainer(); + + //! Returns IGESToBRep_IGESBoundary + Standard_EXPORT virtual Handle(IGESToBRep_IGESBoundary) IGESBoundary() const; + + DEFINE_STANDARD_RTTIEXT(IGESToBRep_ToolContainer, Standard_Transient) + +protected: +private: +}; + +#endif // _IGESToBRep_ToolContainer_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IMeshData_Status.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IMeshData_Status.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d2809d64683eb005053ec8f30ee0804f66ff8218 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IMeshData_Status.hxx @@ -0,0 +1,41 @@ +// Created on: 2011-05-17 +// Created by: Oleg AGASHIN +// Copyright (c) 2011-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 _IMeshData_Status_HeaderFile +#define _IMeshData_Status_HeaderFile + +//! Enumerates statuses used to notify state of discrete model. +enum IMeshData_Status +{ + IMeshData_NoError = 0x0, //!< Mesh generation is successful. + IMeshData_OpenWire = + 0x1, //!< Notifies open wire problem, which can potentially lead to incorrect results. + IMeshData_SelfIntersectingWire = 0x2, //!< Notifies self-intersections on discretized wire, which + //!< can potentially lead to incorrect results. + IMeshData_Failure = 0x4, //!< Failed to generate mesh for some faces. + IMeshData_ReMesh = + 0x8, //!< Deflection of some edges has been decreased due to interference of discrete model. + IMeshData_UnorientedWire = + 0x10, //!< Notifies bad orientation of a wire, which can potentially lead to incorrect results. + IMeshData_TooFewPoints = + 0x20, //!< Discrete model contains too few boundary points to generate mesh. + IMeshData_Outdated = 0x40, //!< Existing triangulation of some faces corresponds to greater + //!< deflection than specified by parameter. + IMeshData_Reused = 0x80, //!< Existing triangulation of some faces is reused as far as it fits + //!< specified deflection. + IMeshData_UserBreak = 0x100 //!< User break +}; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IMeshData_TessellatedShape.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IMeshData_TessellatedShape.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9b709aa6034fbe2c0eda0ff11417e91f48990219 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IMeshData_TessellatedShape.hxx @@ -0,0 +1,56 @@ +// Created on: 2016-04-07 +// Copyright (c) 2016 OPEN CASCADE SAS +// Created by: Oleg AGASHIN +// +// 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 _IMeshData_TessellatedShape_HeaderFile +#define _IMeshData_TessellatedShape_HeaderFile + +#include +#include +#include + +//! Interface class representing shaped model with deflection. +class IMeshData_TessellatedShape : public IMeshData_Shape +{ +public: + //! Destructor. + virtual ~IMeshData_TessellatedShape() {} + + //! Gets deflection value for the discrete model. + Standard_Real GetDeflection() const { return myDeflection; } + + //! Sets deflection value for the discrete model. + void SetDeflection(const Standard_Real theValue) { myDeflection = theValue; } + + DEFINE_STANDARD_RTTIEXT(IMeshData_TessellatedShape, IMeshData_Shape) + +protected: + //! Constructor. + IMeshData_TessellatedShape() + : myDeflection(RealLast()) + { + } + + //! Constructor. + IMeshData_TessellatedShape(const TopoDS_Shape& theShape) + : IMeshData_Shape(theShape), + myDeflection(RealLast()) + { + } + +private: + Standard_Real myDeflection; +}; + +#endif \ No newline at end of file diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IMeshTools_MeshAlgoType.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IMeshTools_MeshAlgoType.hxx new file mode 100644 index 0000000000000000000000000000000000000000..8f1d430b3702e565ffe87281505bfd90a15377bb --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IMeshTools_MeshAlgoType.hxx @@ -0,0 +1,29 @@ +// Copyright (c) 2020 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 _IMeshTools_MeshAlgoType_HeaderFile +#define _IMeshTools_MeshAlgoType_HeaderFile + +//! Enumerates built-in meshing algorithms factories implementing IMeshTools_MeshAlgoFactory +//! interface. +enum IMeshTools_MeshAlgoType +{ + IMeshTools_MeshAlgoType_DEFAULT = + -1, //!< use global default (IMeshTools_MeshAlgoType_Watson or CSF_MeshAlgo) + IMeshTools_MeshAlgoType_Watson = + 0, //!< generate 2D Delaunay triangulation based on Watson algorithm (BRepMesh_MeshAlgoFactory) + IMeshTools_MeshAlgoType_Delabella, //!< generate 2D Delaunay triangulation based on Delabella + //!< algorithm (BRepMesh_DelabellaMeshAlgoFactory) +}; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntAna_Int3Pln.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntAna_Int3Pln.lxx new file mode 100644 index 0000000000000000000000000000000000000000..b39d64232e50e6f40b1e63249d059affb28d6bed --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntAna_Int3Pln.lxx @@ -0,0 +1,46 @@ +// Copyright (c) 1995-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. + +#include +#include + +inline Standard_Boolean IntAna_Int3Pln::IsDone() const +{ + + return done; +} + +inline Standard_Boolean IntAna_Int3Pln::IsEmpty() const +{ + + if (!done) + { + throw StdFail_NotDone(); + } + return empt; +} + +inline const gp_Pnt& IntAna_Int3Pln::Value() const +{ + + if (!done) + { + throw StdFail_NotDone(); + } + if (empt) + { + throw Standard_DomainError(); + } + return pnt; +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntAna_ResultType.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntAna_ResultType.hxx new file mode 100644 index 0000000000000000000000000000000000000000..29a20ea3bdd752ba8761d2400a9af2a26e96ebc7 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntAna_ResultType.hxx @@ -0,0 +1,34 @@ +// Created on: 1992-06-30 +// Created by: Laurent BUCHARD +// Copyright (c) 1992-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 _IntAna_ResultType_HeaderFile +#define _IntAna_ResultType_HeaderFile + +enum IntAna_ResultType +{ + IntAna_Point, + IntAna_Line, + IntAna_Circle, + IntAna_PointAndCircle, + IntAna_Ellipse, + IntAna_Parabola, + IntAna_Hyperbola, + IntAna_Empty, + IntAna_Same, + IntAna_NoGeometricSolution +}; + +#endif // _IntAna_ResultType_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurveSurface_HInter.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurveSurface_HInter.hxx new file mode 100644 index 0000000000000000000000000000000000000000..c96d6a28957ab3bb1b14a31f5c46f0eaefa3c409 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurveSurface_HInter.hxx @@ -0,0 +1,209 @@ +// Created on: 1993-04-07 +// Created by: Laurent BUCHARD +// 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 _IntCurveSurface_HInter_HeaderFile +#define _IntCurveSurface_HInter_HeaderFile + +#include +#include +#include +#include +#include + +class IntCurveSurface_TheHCurveTool; +class Adaptor3d_HSurfaceTool; +class IntCurveSurface_ThePolygonOfHInter; +class IntCurveSurface_ThePolygonToolOfHInter; +class IntCurveSurface_ThePolyhedronOfHInter; +class IntCurveSurface_ThePolyhedronToolOfHInter; +class IntCurveSurface_TheInterferenceOfHInter; +class IntCurveSurface_TheCSFunctionOfHInter; +class IntCurveSurface_TheExactHInter; +class IntCurveSurface_TheQuadCurvExactHInter; +class IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter; +class Bnd_BoundSortBox; +class gp_Lin; +class gp_Circ; +class gp_Elips; +class gp_Parab; +class gp_Hypr; +class IntAna_IntConicQuad; +class Bnd_Box; + +class IntCurveSurface_HInter : public IntCurveSurface_Intersection +{ +public: + DEFINE_STANDARD_ALLOC + + //! Empty Constructor + Standard_EXPORT IntCurveSurface_HInter(); + + //! Compute the Intersection between the curve and the + //! surface + Standard_EXPORT void Perform(const Handle(Adaptor3d_Curve)& Curve, + const Handle(Adaptor3d_Surface)& Surface); + + //! Compute the Intersection between the curve and + //! the surface. The Curve is already sampled and + //! its polygon : is given. + Standard_EXPORT void Perform(const Handle(Adaptor3d_Curve)& Curve, + const IntCurveSurface_ThePolygonOfHInter& Polygon, + const Handle(Adaptor3d_Surface)& Surface); + + //! Compute the Intersection between the curve and + //! the surface. The Curve is already sampled and + //! its polygon : is given. The Surface is + //! also sampled and is given. + Standard_EXPORT void Perform(const Handle(Adaptor3d_Curve)& Curve, + const IntCurveSurface_ThePolygonOfHInter& ThePolygon, + const Handle(Adaptor3d_Surface)& Surface, + const IntCurveSurface_ThePolyhedronOfHInter& Polyhedron); + + //! Compute the Intersection between the curve and + //! the surface. The Curve is already sampled and + //! its polygon : is given. The Surface is + //! also sampled and is given. + Standard_EXPORT void Perform(const Handle(Adaptor3d_Curve)& Curve, + const IntCurveSurface_ThePolygonOfHInter& ThePolygon, + const Handle(Adaptor3d_Surface)& Surface, + const IntCurveSurface_ThePolyhedronOfHInter& Polyhedron, + Bnd_BoundSortBox& BndBSB); + + //! Compute the Intersection between the curve and + //! the surface. The Surface is already sampled and + //! its polyhedron : is given. + Standard_EXPORT void Perform(const Handle(Adaptor3d_Curve)& Curve, + const Handle(Adaptor3d_Surface)& Surface, + const IntCurveSurface_ThePolyhedronOfHInter& Polyhedron); + +protected: + //! Compute the Intersection between the curve and the + //! surface + Standard_EXPORT void Perform(const Handle(Adaptor3d_Curve)& Curve, + const Handle(Adaptor3d_Surface)& Surface, + const Standard_Real U0, + const Standard_Real V0, + const Standard_Real U1, + const Standard_Real V1); + + Standard_EXPORT void InternalPerformCurveQuadric(const Handle(Adaptor3d_Curve)& Curve, + const Handle(Adaptor3d_Surface)& Surface); + + Standard_EXPORT void InternalPerform(const Handle(Adaptor3d_Curve)& Curve, + const IntCurveSurface_ThePolygonOfHInter& Polygon, + const Handle(Adaptor3d_Surface)& Surface, + const IntCurveSurface_ThePolyhedronOfHInter& Polyhedron, + const Standard_Real U1, + const Standard_Real V1, + const Standard_Real U2, + const Standard_Real V2); + + Standard_EXPORT void InternalPerform(const Handle(Adaptor3d_Curve)& Curve, + const IntCurveSurface_ThePolygonOfHInter& Polygon, + const Handle(Adaptor3d_Surface)& Surface, + const IntCurveSurface_ThePolyhedronOfHInter& Polyhedron, + const Standard_Real U1, + const Standard_Real V1, + const Standard_Real U2, + const Standard_Real V2, + Bnd_BoundSortBox& BSB); + + Standard_EXPORT void InternalPerform(const Handle(Adaptor3d_Curve)& Curve, + const IntCurveSurface_ThePolygonOfHInter& Polygon, + const Handle(Adaptor3d_Surface)& Surface, + const Standard_Real U1, + const Standard_Real V1, + const Standard_Real U2, + const Standard_Real V2); + + Standard_EXPORT void PerformConicSurf(const gp_Lin& Line, + const Handle(Adaptor3d_Curve)& Curve, + const Handle(Adaptor3d_Surface)& Surface, + const Standard_Real U1, + const Standard_Real V1, + const Standard_Real U2, + const Standard_Real V2); + + Standard_EXPORT void PerformConicSurf(const gp_Circ& Circle, + const Handle(Adaptor3d_Curve)& Curve, + const Handle(Adaptor3d_Surface)& Surface, + const Standard_Real U1, + const Standard_Real V1, + const Standard_Real U2, + const Standard_Real V2); + + Standard_EXPORT void PerformConicSurf(const gp_Elips& Ellipse, + const Handle(Adaptor3d_Curve)& Curve, + const Handle(Adaptor3d_Surface)& Surface, + const Standard_Real U1, + const Standard_Real V1, + const Standard_Real U2, + const Standard_Real V2); + + Standard_EXPORT void PerformConicSurf(const gp_Parab& Parab, + const Handle(Adaptor3d_Curve)& Curve, + const Handle(Adaptor3d_Surface)& Surface, + const Standard_Real U1, + const Standard_Real V1, + const Standard_Real U2, + const Standard_Real V2); + + Standard_EXPORT void PerformConicSurf(const gp_Hypr& Hyper, + const Handle(Adaptor3d_Curve)& Curve, + const Handle(Adaptor3d_Surface)& Surface, + const Standard_Real U1, + const Standard_Real V1, + const Standard_Real U2, + const Standard_Real V2); + + Standard_EXPORT void AppendIntAna(const Handle(Adaptor3d_Curve)& Curve, + const Handle(Adaptor3d_Surface)& Surface, + const IntAna_IntConicQuad& InterAna); + + Standard_EXPORT void AppendPoint(const Handle(Adaptor3d_Curve)& Curve, + const Standard_Real w, + const Handle(Adaptor3d_Surface)& Surface, + const Standard_Real u, + const Standard_Real v); + + Standard_EXPORT void AppendSegment(const Handle(Adaptor3d_Curve)& Curve, + const Standard_Real u0, + const Standard_Real u1, + const Handle(Adaptor3d_Surface)& Surface); + +private: + Standard_EXPORT void DoSurface(const Handle(Adaptor3d_Surface)& surface, + const Standard_Real u0, + const Standard_Real u1, + const Standard_Real v0, + const Standard_Real v1, + TColgp_Array2OfPnt& pntsOnSurface, + Bnd_Box& boxSurface, + Standard_Real& gap); + + Standard_EXPORT void DoNewBounds(const Handle(Adaptor3d_Surface)& surface, + const Standard_Real u0, + const Standard_Real u1, + const Standard_Real v0, + const Standard_Real v1, + const TColgp_Array2OfPnt& pntsOnSurface, + const TColStd_Array1OfReal& X, + const TColStd_Array1OfReal& Y, + const TColStd_Array1OfReal& Z, + TColStd_Array1OfReal& Bounds); +}; + +#endif // _IntCurveSurface_HInter_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurveSurface_TheCSFunctionOfHInter.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurveSurface_TheCSFunctionOfHInter.hxx new file mode 100644 index 0000000000000000000000000000000000000000..7e4f181a4fec4eee26cb988c2f55c72bbb66bc68 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurveSurface_TheCSFunctionOfHInter.hxx @@ -0,0 +1,64 @@ +// Created on: 1993-04-07 +// Created by: Laurent BUCHARD +// 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 _IntCurveSurface_TheCSFunctionOfHInter_HeaderFile +#define _IntCurveSurface_TheCSFunctionOfHInter_HeaderFile + +#include +#include +#include +#include +#include + +class Adaptor3d_HSurfaceTool; +class IntCurveSurface_TheHCurveTool; +class math_Matrix; + +class IntCurveSurface_TheCSFunctionOfHInter : public math_FunctionSetWithDerivatives +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT IntCurveSurface_TheCSFunctionOfHInter(const Handle(Adaptor3d_Surface)& S, + const Handle(Adaptor3d_Curve)& C); + + Standard_EXPORT Standard_Integer NbVariables() const; + + Standard_EXPORT Standard_Integer NbEquations() const; + + Standard_EXPORT Standard_Boolean Value(const math_Vector& X, math_Vector& F); + + Standard_EXPORT Standard_Boolean Derivatives(const math_Vector& X, math_Matrix& D); + + Standard_EXPORT Standard_Boolean Values(const math_Vector& X, math_Vector& F, math_Matrix& D); + + Standard_EXPORT const gp_Pnt& Point() const; + + Standard_EXPORT Standard_Real Root() const; + + Standard_EXPORT const Handle(Adaptor3d_Surface)& AuxillarSurface() const; + + Standard_EXPORT const Handle(Adaptor3d_Curve)& AuxillarCurve() const; + +protected: +private: + Handle(Adaptor3d_Surface) surface; + Handle(Adaptor3d_Curve) curve; + gp_Pnt p; + Standard_Real f; +}; + +#endif // _IntCurveSurface_TheCSFunctionOfHInter_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurveSurface_ThePolygonOfHInter.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurveSurface_ThePolygonOfHInter.hxx new file mode 100644 index 0000000000000000000000000000000000000000..6e98375e9de9c1f97eaf4014cf4ac8a5bb70e3a7 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurveSurface_ThePolygonOfHInter.hxx @@ -0,0 +1,105 @@ +// Created on: 1993-04-07 +// Created by: Laurent BUCHARD +// 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 _IntCurveSurface_ThePolygonOfHInter_HeaderFile +#define _IntCurveSurface_ThePolygonOfHInter_HeaderFile + +#include +#include +#include +#include +#include +class Standard_OutOfRange; +class IntCurveSurface_TheHCurveTool; +class Bnd_Box; +class gp_Pnt; + +class IntCurveSurface_ThePolygonOfHInter +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT IntCurveSurface_ThePolygonOfHInter(const Handle(Adaptor3d_Curve)& Curve, + const Standard_Integer NbPnt); + + Standard_EXPORT IntCurveSurface_ThePolygonOfHInter(const Handle(Adaptor3d_Curve)& Curve, + const Standard_Real U1, + const Standard_Real U2, + const Standard_Integer NbPnt); + + Standard_EXPORT IntCurveSurface_ThePolygonOfHInter(const Handle(Adaptor3d_Curve)& Curve, + const TColStd_Array1OfReal& Upars); + + //! Give the bounding box of the polygon. + const Bnd_Box& Bounding() const { return TheBnd; } + + Standard_Real DeflectionOverEstimation() const { return TheDeflection; } + + void SetDeflectionOverEstimation(const Standard_Real x) + { + TheDeflection = x; + TheBnd.Enlarge(TheDeflection); + } + + void Closed(const Standard_Boolean flag) { ClosedPolygon = flag; } + + // clang-format off + Standard_Boolean Closed() const { return Standard_False; } // -- Voir si le cas Closed est traitable + + // clang-format on + + //! Give the number of Segments in the polyline. + Standard_Integer NbSegments() const { return NbPntIn - 1; } + + //! Give the point of range Index in the Polygon. + const gp_Pnt& BeginOfSeg(const Standard_Integer theIndex) const { return ThePnts(theIndex); } + + //! Give the point of range Index in the Polygon. + const gp_Pnt& EndOfSeg(const Standard_Integer theIndex) const { return ThePnts(theIndex + 1); } + + //! Returns the parameter (On the curve) + //! of the first point of the Polygon + Standard_Real InfParameter() const { return Binf; } + + //! Returns the parameter (On the curve) + //! of the last point of the Polygon + Standard_Real SupParameter() const { return Bsup; } + + //! Give an approximation of the parameter on the curve + //! according to the discretization of the Curve. + Standard_EXPORT Standard_Real ApproxParamOnCurve(const Standard_Integer Index, + const Standard_Real ParamOnLine) const; + + Standard_EXPORT void Dump() const; + +protected: + Standard_EXPORT void Init(const Handle(Adaptor3d_Curve)& Curve); + + Standard_EXPORT void Init(const Handle(Adaptor3d_Curve)& Curve, + const TColStd_Array1OfReal& Upars); + +private: + Bnd_Box TheBnd; + Standard_Real TheDeflection; + Standard_Integer NbPntIn; + TColgp_Array1OfPnt ThePnts; + Standard_Boolean ClosedPolygon; + Standard_Real Binf; + Standard_Real Bsup; + Handle(TColStd_HArray1OfReal) myParams; +}; + +#endif // _IntCurveSurface_ThePolygonOfHInter_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurve_PConic.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurve_PConic.hxx new file mode 100644 index 0000000000000000000000000000000000000000..802d4cb960cc748697e8e1ce4cb5f1a388cc6e29 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntCurve_PConic.hxx @@ -0,0 +1,88 @@ +// Created on: 1992-03-04 +// Created by: Laurent BUCHARD +// Copyright (c) 1992-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 _IntCurve_PConic_HeaderFile +#define _IntCurve_PConic_HeaderFile + +#include +#include + +#include +#include +#include +class gp_Elips2d; +class gp_Circ2d; +class gp_Parab2d; +class gp_Hypr2d; +class gp_Lin2d; + +//! This class represents a conic from gp as a +//! parametric curve ( in order to be used by the +//! class PConicTool from IntCurve). +class IntCurve_PConic +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT IntCurve_PConic(const IntCurve_PConic& PC); + + Standard_EXPORT IntCurve_PConic(const gp_Elips2d& E); + + Standard_EXPORT IntCurve_PConic(const gp_Circ2d& C); + + Standard_EXPORT IntCurve_PConic(const gp_Parab2d& P); + + Standard_EXPORT IntCurve_PConic(const gp_Hypr2d& H); + + Standard_EXPORT IntCurve_PConic(const gp_Lin2d& L); + + //! EpsX is a internal tolerance used in math + //! algorithms, usually about 1e-10 + //! (See FunctionAllRoots for more details) + Standard_EXPORT void SetEpsX(const Standard_Real EpsDist); + + //! Accuracy is the number of samples used to + //! approximate the parametric curve on its domain. + Standard_EXPORT void SetAccuracy(const Standard_Integer Nb); + + Standard_Integer Accuracy() const; + + Standard_Real EpsX() const; + + //! The Conics are manipulated as objects which only + //! depend on three parameters : Axis and two Real from Standards. + //! Type Curve is used to select the correct Conic. + GeomAbs_CurveType TypeCurve() const; + + const gp_Ax22d& Axis2() const; + + Standard_Real Param1() const; + + Standard_Real Param2() const; + +protected: +private: + gp_Ax22d axe; + Standard_Real prm1; + Standard_Real prm2; + Standard_Real TheEpsX; + Standard_Integer TheAccuracy; + GeomAbs_CurveType type; +}; + +#include + +#endif // _IntCurve_PConic_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntImp_ConstIsoparametric.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntImp_ConstIsoparametric.hxx new file mode 100644 index 0000000000000000000000000000000000000000..668f35888115e82dadec6b542ffac998697f6250 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntImp_ConstIsoparametric.hxx @@ -0,0 +1,28 @@ +// Created on: 1992-04-13 +// Created by: Isabelle GRIGNON +// Copyright (c) 1992-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 _IntImp_ConstIsoparametric_HeaderFile +#define _IntImp_ConstIsoparametric_HeaderFile + +enum IntImp_ConstIsoparametric +{ + IntImp_UIsoparametricOnCaro1, + IntImp_VIsoparametricOnCaro1, + IntImp_UIsoparametricOnCaro2, + IntImp_VIsoparametricOnCaro2 +}; + +#endif // _IntImp_ConstIsoparametric_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntRes2d_Intersection.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntRes2d_Intersection.hxx new file mode 100644 index 0000000000000000000000000000000000000000..3952383f8cbe965b7d0d36bcb44e42b08602b53a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntRes2d_Intersection.hxx @@ -0,0 +1,118 @@ +// Created on: 1992-04-27 +// Created by: Laurent BUCHARD +// Copyright (c) 1992-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 _IntRes2d_Intersection_HeaderFile +#define _IntRes2d_Intersection_HeaderFile + +#include +#include +#include + +#include +#include +#include +class IntRes2d_IntersectionPoint; +class IntRes2d_IntersectionSegment; + +//! Defines the root class of all the Intersections +//! between two 2D-Curves, and provides all the methods +//! about the results of the Intersections Algorithms. +class IntRes2d_Intersection +{ +public: + DEFINE_STANDARD_ALLOC + + //! returns TRUE when the computation was successful. + Standard_Boolean IsDone() const; + + //! Returns TRUE if there is no intersection between the + //! given arguments. + //! The exception NotDone is raised if IsDone returns FALSE. + Standard_Boolean IsEmpty() const; + + //! This function returns the number of intersection + //! points between the 2 curves. + //! The exception NotDone is raised if IsDone returns FALSE. + Standard_Integer NbPoints() const; + + //! This function returns the intersection point + //! of range N; + //! The exception NotDone is raised if IsDone returns FALSE. + //! The exception OutOfRange is raised if (N <= 0) + //! or (N > NbPoints). + const IntRes2d_IntersectionPoint& Point(const Standard_Integer N) const; + + //! This function returns the number of intersection + //! segments between the two curves. + //! The exception NotDone is raised if IsDone returns FALSE. + Standard_Integer NbSegments() const; + + //! This function returns the intersection segment + //! of range N; + //! The exception NotDone is raised if IsDone returns FALSE. + //! The exception OutOfRange is raised if (N <= 0) + //! or (N > NbPoints). + const IntRes2d_IntersectionSegment& Segment(const Standard_Integer N) const; + + void SetReversedParameters(const Standard_Boolean Reverseflag); + +protected: + //! Empty constructor. + IntRes2d_Intersection(); + + IntRes2d_Intersection(const IntRes2d_Intersection& Other); + + //! Assignment + IntRes2d_Intersection& operator=(const IntRes2d_Intersection& theOther) + { + done = theOther.done; + reverse = theOther.reverse; + lpnt = theOther.lpnt; + lseg = theOther.lseg; + return *this; + } + + //! Destructor is protected, for safe inheritance + ~IntRes2d_Intersection() {} + + Standard_EXPORT void SetValues(const IntRes2d_Intersection& Inter); + + Standard_EXPORT void Append(const IntRes2d_Intersection& Inter, + const Standard_Real FirstParam1, + const Standard_Real LastParam1, + const Standard_Real FirstParam2, + const Standard_Real LastParam2); + + void Append(const IntRes2d_IntersectionSegment& Seg); + + void Append(const IntRes2d_IntersectionPoint& Pnt); + + Standard_EXPORT void Insert(const IntRes2d_IntersectionPoint& Pnt); + + void ResetFields(); + + Standard_Boolean ReversedParameters() const; + +protected: + IntRes2d_SequenceOfIntersectionPoint lpnt; + IntRes2d_SequenceOfIntersectionSegment lseg; + Standard_Boolean done; + Standard_Boolean reverse; +}; + +#include + +#endif // _IntRes2d_Intersection_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntSurf_ListOfPntOn2S.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntSurf_ListOfPntOn2S.hxx new file mode 100644 index 0000000000000000000000000000000000000000..73539294d8ef7d438493ac15da0fddefa4783881 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntSurf_ListOfPntOn2S.hxx @@ -0,0 +1,26 @@ +// Created on: 1992-08-24 +// Created by: Jacques GOUSSARD +// Copyright (c) 1992-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 IntSurf_ListOfPntOn2S_HeaderFile +#define IntSurf_ListOfPntOn2S_HeaderFile + +#include +#include + +typedef NCollection_List IntSurf_ListOfPntOn2S; +typedef NCollection_List::Iterator IntSurf_ListIteratorOfListOfPntOn2S; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntTools_MapOfSurfaceSample.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntTools_MapOfSurfaceSample.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ed1bfe99f6ae586c33c271beac7d52932ddc4550 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/IntTools_MapOfSurfaceSample.hxx @@ -0,0 +1,26 @@ +// Created on: 2000-05-18 +// Created by: Peter KURNEV +// Copyright (c) 2000-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 IntTools_MapOfSurfaceSample_HeaderFile +#define IntTools_MapOfSurfaceSample_HeaderFile + +#include +#include + +typedef NCollection_Map IntTools_MapOfSurfaceSample; +typedef NCollection_Map::Iterator + IntTools_MapIteratorOfMapOfSurfaceSample; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Interface_CheckFailure.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Interface_CheckFailure.hxx new file mode 100644 index 0000000000000000000000000000000000000000..eabd2ef91a91dbd08c1d63a88dac732b950d26d4 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Interface_CheckFailure.hxx @@ -0,0 +1,38 @@ +// Created on: 1992-02-03 +// Created by: Christian CAILLET +// Copyright (c) 1992-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 _Interface_CheckFailure_HeaderFile +#define _Interface_CheckFailure_HeaderFile + +#include +#include +#include +#include + +class Interface_CheckFailure; +DEFINE_STANDARD_HANDLE(Interface_CheckFailure, Interface_InterfaceError) + +#if !defined No_Exception && !defined No_Interface_CheckFailure + #define Interface_CheckFailure_Raise_if(CONDITION, MESSAGE) \ + if (CONDITION) \ + throw Interface_CheckFailure(MESSAGE); +#else + #define Interface_CheckFailure_Raise_if(CONDITION, MESSAGE) +#endif + +DEFINE_STANDARD_EXCEPTION(Interface_CheckFailure, Interface_InterfaceError) + +#endif // _Interface_CheckFailure_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Intf_SectionPoint.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Intf_SectionPoint.lxx new file mode 100644 index 0000000000000000000000000000000000000000..a6c87bec8910ad941e51486cf4be6a79e8c4a79c --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Intf_SectionPoint.lxx @@ -0,0 +1,41 @@ +// Created on: 1991-06-25 +// Created by: Didier PIFFAULT +// 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. + +inline Standard_Real Intf_SectionPoint::ParamOnFirst() const +{ + return (IndexO2 - 1) + ParamObje; +} + +inline Standard_Real Intf_SectionPoint::ParamOnSecond() const +{ + return (IndexT2 - 1) + ParamTool; +} + +inline Intf_PIType Intf_SectionPoint::TypeOnFirst() const +{ + return DimenObje; +} + +inline Intf_PIType Intf_SectionPoint::TypeOnSecond() const +{ + return DimenTool; +} + +inline Standard_Boolean Intf_SectionPoint::IsEqual(const Intf_SectionPoint& Other) const +{ + return (DimenObje == Other.DimenObje && IndexO1 == Other.IndexO1 && IndexO2 == Other.IndexO2 + && DimenTool == Other.DimenTool && IndexT1 == Other.IndexT1 && IndexT2 == Other.IndexT2); +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/LocOpe_SplitDrafts.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/LocOpe_SplitDrafts.hxx new file mode 100644 index 0000000000000000000000000000000000000000..915541c12f3e799966807c3213a847bc439d5a9b --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/LocOpe_SplitDrafts.hxx @@ -0,0 +1,111 @@ +// Created on: 1996-10-02 +// Created by: Jacques GOUSSARD +// Copyright (c) 1996-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 _LocOpe_SplitDrafts_HeaderFile +#define _LocOpe_SplitDrafts_HeaderFile + +#include +#include +#include +#include +#include +#include + +class TopoDS_Face; +class TopoDS_Wire; +class gp_Dir; +class gp_Pln; + +//! This class provides a tool to realize the +//! following operations on a shape : +//! - split a face of the shape with a wire, +//! - put draft angle on both side of the wire. +//! For each side, the draft angle may be different. +class LocOpe_SplitDrafts +{ +public: + DEFINE_STANDARD_ALLOC + + //! Empty constructor. + LocOpe_SplitDrafts() {} + + //! Creates the algorithm on the shape . + LocOpe_SplitDrafts(const TopoDS_Shape& S) + : myShape(S) + { + } + + //! Initializes the algorithm with the shape . + Standard_EXPORT void Init(const TopoDS_Shape& S); + + //! Splits the face of the former given shape with + //! the wire . The wire is assumed to lie on the + //! face. Puts a draft angle on both parts of the + //! wire. , , define the + //! arguments for the left part of the wire. + //! , , define the arguments + //! for the right part of the wire. The draft angle is + //! measured with the direction . + //! defines the neutral plane (points belonging to the + //! neutral plane are not modified). is the + //! value of the draft angle. If is set + //! to , no draft angle is applied to + //! the left part of the wire. If is set + //! to ,no draft angle is applied to + //! the right part of the wire. + Standard_EXPORT void Perform(const TopoDS_Face& F, + const TopoDS_Wire& W, + const gp_Dir& Extractg, + const gp_Pln& NPlg, + const Standard_Real Angleg, + const gp_Dir& Extractd, + const gp_Pln& NPld, + const Standard_Real Angled, + const Standard_Boolean ModifyLeft = Standard_True, + const Standard_Boolean ModifyRight = Standard_True); + + //! Splits the face of the former given shape with + //! the wire . The wire is assumed to lie on the + //! face. Puts a draft angle on the left part of the + //! wire. The draft angle is measured with the + //! direction . defines the neutral + //! plane (points belonging to the neutral plane are + //! not modified). is the value of the draft + //! angle. + Standard_EXPORT void Perform(const TopoDS_Face& F, + const TopoDS_Wire& W, + const gp_Dir& Extract, + const gp_Pln& NPl, + const Standard_Real Angle); + + //! Returns if the modification has been successfully performed. + Standard_Boolean IsDone() const { return !myResult.IsNull(); } + + const TopoDS_Shape& OriginalShape() const { return myShape; } + + //! Returns the modified shape. + Standard_EXPORT const TopoDS_Shape& Shape() const; + + //! Manages the descendant shapes. + Standard_EXPORT const TopTools_ListOfShape& ShapesFromShape(const TopoDS_Shape& S) const; + +private: + TopoDS_Shape myShape; + TopoDS_Shape myResult; + TopTools_DataMapOfShapeListOfShape myMap; +}; + +#endif // _LocOpe_SplitDrafts_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/LocOpe_SplitShape.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/LocOpe_SplitShape.lxx new file mode 100644 index 0000000000000000000000000000000000000000..aaa907cd44d4ca3831c6d4026652a2b2e908db23 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/LocOpe_SplitShape.lxx @@ -0,0 +1,47 @@ +// Created on: 1995-06-27 +// Created by: Jacques GOUSSARD +// Copyright (c) 1995-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. + +#include + +//======================================================================= +// function : LocOpe_SplitShape +// purpose : +//======================================================================= + +inline LocOpe_SplitShape::LocOpe_SplitShape() + : myDone(Standard_False) +{ +} + +//======================================================================= +// function : LocOpe_SplitShape +// purpose : +//======================================================================= + +inline LocOpe_SplitShape::LocOpe_SplitShape(const TopoDS_Shape& S) +{ + Init(S); +} + +//======================================================================= +// function : Shape +// purpose : +//======================================================================= + +inline const TopoDS_Shape& LocOpe_SplitShape::Shape() const +{ + return myShape; +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/MAT2d_DataMapOfIntegerBisec.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/MAT2d_DataMapOfIntegerBisec.hxx new file mode 100644 index 0000000000000000000000000000000000000000..b7a6cb6d10ccf5f05877ebaa33c0d2d42e846e7a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/MAT2d_DataMapOfIntegerBisec.hxx @@ -0,0 +1,27 @@ +// Created on: 1993-07-06 +// Created by: Yves FRICAUD +// 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 MAT2d_DataMapOfIntegerBisec_HeaderFile +#define MAT2d_DataMapOfIntegerBisec_HeaderFile + +#include +#include + +typedef NCollection_DataMap MAT2d_DataMapOfIntegerBisec; +typedef NCollection_DataMap::Iterator + MAT2d_DataMapIteratorOfDataMapOfIntegerBisec; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/MeshVS_DataMapOfIntegerColor.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/MeshVS_DataMapOfIntegerColor.hxx new file mode 100644 index 0000000000000000000000000000000000000000..7d7ce4f7d82496edaf9da178e95b957d41b03874 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/MeshVS_DataMapOfIntegerColor.hxx @@ -0,0 +1,27 @@ +// Created on: 2003-10-10 +// Created by: Alexander SOLOVYOV +// Copyright (c) 2003-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 MeshVS_DataMapOfIntegerColor_HeaderFile +#define MeshVS_DataMapOfIntegerColor_HeaderFile + +#include +#include +#include + +typedef NCollection_DataMap MeshVS_DataMapOfIntegerColor; +typedef NCollection_DataMap::Iterator + MeshVS_DataMapIteratorOfDataMapOfIntegerColor; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Message_Gravity.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Message_Gravity.hxx new file mode 100644 index 0000000000000000000000000000000000000000..23db2dbc4001350f27911540a476fc05edc040cb --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Message_Gravity.hxx @@ -0,0 +1,35 @@ +// Created on: 1999-07-29 +// Created by: Roman LYGIN +// Copyright (c) 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 _Message_Gravity_HeaderFile +#define _Message_Gravity_HeaderFile + +//! Defines gravity level of messages +//! - Trace: low-level details on algorithm execution (usually for debug purposes) +//! - Info: informative message +//! - Warning: warning message +//! - Alarm: non-critical error +//! - Fail: fatal error +enum Message_Gravity +{ + Message_Trace, + Message_Info, + Message_Warning, + Message_Alarm, + Message_Fail +}; + +#endif // _Message_Gravity_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/MoniTool_TimerSentry.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/MoniTool_TimerSentry.lxx new file mode 100644 index 0000000000000000000000000000000000000000..3d83409e33291b37b8c3c0e9b7b7a88dc1afe80c --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/MoniTool_TimerSentry.lxx @@ -0,0 +1,69 @@ +// 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. + +#include + +//======================================================================= +// function : MoniTool_TimerSentry +// purpose : +//======================================================================= + +inline MoniTool_TimerSentry::MoniTool_TimerSentry(const Standard_CString cname) + : myTimer(MoniTool_Timer::Timer(cname)) +{ + myTimer->Start(); +} + +//======================================================================= +// function : MoniTool_TimerSentry +// purpose : +//======================================================================= + +inline MoniTool_TimerSentry::MoniTool_TimerSentry(const Handle(MoniTool_Timer)& timer) +{ + myTimer = timer; + myTimer->Start(); +} + +//======================================================================= +// function : Destructor +// purpose : make stop for corresponding timer before destroying +//======================================================================= + +inline MoniTool_TimerSentry::~MoniTool_TimerSentry() +{ + if (!myTimer.IsNull()) + myTimer->Stop(); +} + +//======================================================================= +// function : Timer +// purpose : +//======================================================================= + +inline Handle(MoniTool_Timer) MoniTool_TimerSentry::Timer() const +{ + return myTimer; +} + +//======================================================================= +// function : Stop +// purpose : +//======================================================================= + +inline void MoniTool_TimerSentry::Stop() +{ + if (!myTimer.IsNull()) + myTimer->Stop(); + myTimer.Nullify(); +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/NLPlate_SequenceOfHGPPConstraint.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/NLPlate_SequenceOfHGPPConstraint.hxx new file mode 100644 index 0000000000000000000000000000000000000000..a75e0b825b3f51b767675a90e791c7f6394f8a69 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/NLPlate_SequenceOfHGPPConstraint.hxx @@ -0,0 +1,25 @@ +// Created on: 1998-04-08 +// Created by: Andre LIEUTIER +// Copyright (c) 1998-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 NLPlate_SequenceOfHGPPConstraint_HeaderFile +#define NLPlate_SequenceOfHGPPConstraint_HeaderFile + +#include +#include + +typedef NCollection_Sequence NLPlate_SequenceOfHGPPConstraint; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_Exception_CTRL_BREAK.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_Exception_CTRL_BREAK.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9f8db410d8746369ace721bf0220ffdf5fa06ef3 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_Exception_CTRL_BREAK.hxx @@ -0,0 +1,35 @@ +// Copyright (c) 1992-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 _OSD_Exception_CTRL_BREAK_HeaderFile +#define _OSD_Exception_CTRL_BREAK_HeaderFile + +#include +#include +#include + +class OSD_Exception_CTRL_BREAK; +DEFINE_STANDARD_HANDLE(OSD_Exception_CTRL_BREAK, OSD_Exception) + +#if !defined No_Exception && !defined No_OSD_Exception_CTRL_BREAK + #define OSD_Exception_CTRL_BREAK_Raise_if(CONDITION, MESSAGE) \ + if (CONDITION) \ + throw OSD_Exception_CTRL_BREAK(MESSAGE); +#else + #define OSD_Exception_CTRL_BREAK_Raise_if(CONDITION, MESSAGE) +#endif + +DEFINE_STANDARD_EXCEPTION(OSD_Exception_CTRL_BREAK, OSD_Exception) + +#endif // _OSD_Exception_CTRL_BREAK_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_Exception_STACK_OVERFLOW.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_Exception_STACK_OVERFLOW.hxx new file mode 100644 index 0000000000000000000000000000000000000000..115e7de7636a9258e7821bd8ac31cb887186c364 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_Exception_STACK_OVERFLOW.hxx @@ -0,0 +1,36 @@ +// Copyright (c) 1992-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 _OSD_Exception_STACK_OVERFLOW_HeaderFile +#define _OSD_Exception_STACK_OVERFLOW_HeaderFile + +#include +#include +#include +#include + +class OSD_Exception_STACK_OVERFLOW; +DEFINE_STANDARD_HANDLE(OSD_Exception_STACK_OVERFLOW, OSD_Exception) + +#if !defined No_Exception && !defined No_OSD_Exception_STACK_OVERFLOW + #define OSD_Exception_STACK_OVERFLOW_Raise_if(CONDITION, MESSAGE) \ + if (CONDITION) \ + throw OSD_Exception_STACK_OVERFLOW(MESSAGE); +#else + #define OSD_Exception_STACK_OVERFLOW_Raise_if(CONDITION, MESSAGE) +#endif + +DEFINE_STANDARD_EXCEPTION(OSD_Exception_STACK_OVERFLOW, OSD_Exception) + +#endif // _OSD_Exception_STACK_OVERFLOW_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_OEMType.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_OEMType.hxx new file mode 100644 index 0000000000000000000000000000000000000000..86e33c594b33630ba4506d64d943a612e00a2573 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_OEMType.hxx @@ -0,0 +1,36 @@ +// Copyright (c) 1992-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 _OSD_OEMType_HeaderFile +#define _OSD_OEMType_HeaderFile + +//! This is set of possible machine types +//! used in OSD_Host::MachineType +enum OSD_OEMType +{ + OSD_Unavailable, + OSD_SUN, + OSD_DEC, + OSD_SGI, + OSD_NEC, + OSD_MAC, + OSD_PC, + OSD_HP, + OSD_IBM, + OSD_VAX, + OSD_LIN, + OSD_AIX +}; + +#endif // _OSD_OEMType_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_Path.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_Path.hxx new file mode 100644 index 0000000000000000000000000000000000000000..276f925eb32a49c3f53cde020192aa074079f958 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_Path.hxx @@ -0,0 +1,365 @@ +// Created on: 1992-02-18 +// Created by: Stephan GARNAUD (ARM) +// Copyright (c) 1992-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 _OSD_Path_HeaderFile +#define _OSD_Path_HeaderFile + +#include +#include +#include +#include +#include + +class OSD_Path +{ +public: + DEFINE_STANDARD_ALLOC + + //! Creates a Path object initialized to an empty string. + //! i.e. current directory. + Standard_EXPORT OSD_Path(); + + //! Creates a Path object initialized by dependent path. + //! ex: OSD_Path me ("/usr/bin/myprog.sh",OSD_UnixBSD); + //! + //! OSD_Path me ("sys$common:[syslib]cc.exe",OSD_OSF) will + //! raise a ProgramError due to invalid name for this + //! type of system. + //! In order to avoid a 'ProgramError' , use IsValid(...) + //! to ensure you the validity of . + //! Raises ConstructionError when the path is either null + //! or contains characters not in range of ' '...'~'. + Standard_EXPORT OSD_Path(const TCollection_AsciiString& aDependentName, + const OSD_SysType aSysType = OSD_Default); + + //! Initializes a system independent path. + //! By default , the Path conversion will be assumed using + //! currently used system. + //! A special syntax is used to specify a "aTrek" in an + //! independent manner : + //! a "|" represents directory separator + //! a "^" means directory above (father) + //! examples: + //! "|usr|bin" - On UNIX -> "/usr/bin" + //! - On VMS -> "[usr.bin]" + //! - On MSDOS-> "\usr\bin" + //! - On MacOs-> ": usr : bin" + //! + //! "^|rep" - On UNIX -> "../rep" + //! - On VMS -> "[-.rep]" + //! - On MSDOS -> "..\rep" + //! - On MacOS-> ":: rep" + //! + //! "subdir|" - On UNIX -> "subdir/" + //! - On VMS -> "[.subdir.]" + Standard_EXPORT OSD_Path(const TCollection_AsciiString& aNode, + const TCollection_AsciiString& aUsername, + const TCollection_AsciiString& aPassword, + const TCollection_AsciiString& aDisk, + const TCollection_AsciiString& aTrek, + const TCollection_AsciiString& aName, + const TCollection_AsciiString& anExtension); + + //! Gets each component of a path. + Standard_EXPORT void Values(TCollection_AsciiString& aNode, + TCollection_AsciiString& aUsername, + TCollection_AsciiString& aPassword, + TCollection_AsciiString& aDisk, + TCollection_AsciiString& aTrek, + TCollection_AsciiString& aName, + TCollection_AsciiString& anExtension) const; + + //! Sets each component of a path. + Standard_EXPORT void SetValues(const TCollection_AsciiString& aNode, + const TCollection_AsciiString& aUsername, + const TCollection_AsciiString& aPassword, + const TCollection_AsciiString& aDisk, + const TCollection_AsciiString& aTrek, + const TCollection_AsciiString& aName, + const TCollection_AsciiString& anExtension); + + //! Returns system dependent path + //! is one among Unix,VMS ... + //! This function is not private because you may need to + //! display system dependent path on a front-end. + //! It can be useful when communicating with another system. + //! For instance when you want to communicate between VMS and Unix + //! to transfer files, or to do a remote procedure call + //! using files. + //! example : + //! OSD_Path myPath ("sparc4", "sga", "secret_passwd", + //! "$5$dkb100","|users|examples"); + //! Internal ( Dependent_name ); + //! On UNIX sga"secret_passwd"@sparc4:/users/examples + //! On VMS sparc4"sga secret_passwd"::$5$dkb100:[users.examples] + //! Sets each component of a Path giving its system dependent name. + Standard_EXPORT void SystemName(TCollection_AsciiString& FullName, + const OSD_SysType aType = OSD_Default) const; + + //! Returns system dependent path resolving logical symbols. + Standard_EXPORT void ExpandedName(TCollection_AsciiString& aName); + + //! Returns TRUE if is valid for this SysType. + Standard_EXPORT static Standard_Boolean IsValid(const TCollection_AsciiString& theDependentName, + const OSD_SysType theSysType = OSD_Default); + + //! This removes the last directory name in + //! and returns result. + //! ex: me = "|usr|bin|todo.sh" + //! me.UpTrek() gives me = "|usr|todo.sh" + //! if contains "|", me.UpTrek() will give again "|" + //! without any error. + Standard_EXPORT void UpTrek(); + + //! This appends a directory name into the Trek. + //! ex: me = "|usr|todo.sh" + //! me.DownTrek("bin") gives me = "|usr|bin|todo.sh". + Standard_EXPORT void DownTrek(const TCollection_AsciiString& aName); + + //! Returns number of components in Trek of . + //! ex: me = "|usr|sys|etc|bin" + //! me.TrekLength() returns 4. + Standard_EXPORT Standard_Integer TrekLength() const; + + //! This removes a component of Trek in at position . + //! The first component of Trek is numbered 1. + //! ex: me = "|usr|bin|" + //! me.RemoveATrek(1) gives me = "|bin|" + //! To avoid a 'NumericError' because of a bad , use + //! TrekLength() to know number of components of Trek in . + Standard_EXPORT void RemoveATrek(const Standard_Integer where); + + //! This removes from in Trek. + //! No error is raised if is not in . + //! ex: me = "|usr|sys|etc|doc" + //! me.RemoveATrek("sys") gives me = "|usr|etc|doc". + Standard_EXPORT void RemoveATrek(const TCollection_AsciiString& aName); + + //! Returns component of Trek in at position . + //! ex: me = "|usr|bin|sys|" + //! me.TrekValue(2) returns "bin" + Standard_EXPORT TCollection_AsciiString TrekValue(const Standard_Integer where) const; + + //! This inserts at position into Trek of . + //! ex: me = "|usr|etc|" + //! me.InsertATrek("sys",2) gives me = "|usr|sys|etc" + Standard_EXPORT void InsertATrek(const TCollection_AsciiString& aName, + const Standard_Integer where); + + //! Returns Node of . + Standard_EXPORT TCollection_AsciiString Node() const; + + //! Returns UserName of . + Standard_EXPORT TCollection_AsciiString UserName() const; + + //! Returns Password of . + Standard_EXPORT TCollection_AsciiString Password() const; + + //! Returns Disk of . + Standard_EXPORT TCollection_AsciiString Disk() const; + + //! Returns Trek of . + Standard_EXPORT TCollection_AsciiString Trek() const; + + //! Returns file name of . + //! If hasn't been initialized, it returns an empty AsciiString. + Standard_EXPORT TCollection_AsciiString Name() const; + + //! Returns my extension name. + //! This returns an empty string if path contains no file name. + Standard_EXPORT TCollection_AsciiString Extension() const; + + //! Sets Node of . + Standard_EXPORT void SetNode(const TCollection_AsciiString& aName); + + //! Sets UserName of . + Standard_EXPORT void SetUserName(const TCollection_AsciiString& aName); + + //! Sets Password of . + Standard_EXPORT void SetPassword(const TCollection_AsciiString& aName); + + //! Sets Disk of . + Standard_EXPORT void SetDisk(const TCollection_AsciiString& aName); + + //! Sets Trek of . + Standard_EXPORT void SetTrek(const TCollection_AsciiString& aName); + + //! Sets file name of . + //! If hasn't been initialized, it returns an empty AsciiString. + Standard_EXPORT void SetName(const TCollection_AsciiString& aName); + + //! Sets my extension name. + Standard_EXPORT void SetExtension(const TCollection_AsciiString& aName); + + //! Finds the full path of an executable file, like the + //! "which" Unix utility. Uses the path environment variable. + //! Returns False if executable file not found. + Standard_EXPORT Standard_Boolean LocateExecFile(OSD_Path& aPath); + +public: + //! Returns the relative file path between the absolute directory + //! path and the absolute file path . + //! If starts with "/", paths are handled as + //! on Unix, if it starts with a letter followed by ":", as on + //! WNT. In particular on WNT directory names are not key sensitive. + //! If handling fails, an empty string is returned. + Standard_EXPORT static TCollection_AsciiString RelativePath( + const TCollection_AsciiString& DirPath, + const TCollection_AsciiString& AbsFilePath); + + //! Returns the absolute file path from the absolute directory path + //! and the relative file path returned by RelativePath(). + //! If the RelFilePath is an absolute path, it is returned and the + //! directory path is ignored. + //! If handling fails, an empty string is returned. + Standard_EXPORT static TCollection_AsciiString AbsolutePath( + const TCollection_AsciiString& DirPath, + const TCollection_AsciiString& RelFilePath); + + //! Split absolute filepath into folder path and file name. + //! Example: IN theFilePath ='/media/cdrom/image.jpg' + //! OUT theFolder ='/media/cdrom/' + //! OUT theFileName ='image.jpg' + //! @param[in] theFilePath file path + //! @param[out] theFolder folder path (with trailing separator) + //! @param[out] theFileName file name + Standard_EXPORT static void FolderAndFileFromPath(const TCollection_AsciiString& theFilePath, + TCollection_AsciiString& theFolder, + TCollection_AsciiString& theFileName); + + //! Return file extension from the name in lower case. + //! Extension is expected to be within 20-symbols length, and determined as file name tail after + //! last dot. Example: IN theFilePath ='Image.sbs.JPG' + //! OUT theName ='Image.sbs' + //! OUT theFileName ='jpg' + //! @param[in] theFilePath file path + //! @param[out] theName file name without extension + //! @param[out] theExtension file extension in lower case and without dot + Standard_EXPORT static void FileNameAndExtension(const TCollection_AsciiString& theFilePath, + TCollection_AsciiString& theName, + TCollection_AsciiString& theExtension); + + //! Detect absolute DOS-path also used in Windows. + //! The total path length is limited to 256 characters. + //! Sample path: + //! C:\folder\file + //! @return true if DOS path syntax detected. + static Standard_Boolean IsDosPath(const char* thePath) + { + return thePath[0] != '\0' && thePath[1] == ':'; + } + + //! Detect extended-length NT path (can be only absolute). + //! Approximate maximum path is 32767 characters. + //! Sample path: + //! \\?\D:\very long path + //! File I/O functions in the Windows API convert "/" to "\" as part of converting the name to an + //! NT-style name, except when using the "\\?\" prefix. + //! @return true if extended-length NT path syntax detected. + static Standard_Boolean IsNtExtendedPath(const char* thePath) + { + return ::strncmp(thePath, "\\\\?\\", 4) == 0; + } + + //! UNC is a naming convention used primarily to specify and map network drives in Microsoft + //! Windows. Sample path: + //! \\server\share\file + //! @return true if UNC path syntax detected. + static Standard_Boolean IsUncPath(const char* thePath) + { + if (::strncmp(thePath, "\\\\", 2) == 0) + { + return thePath[2] != '?' || IsUncExtendedPath(thePath); + } + return ::strncmp(thePath, "//", 2) == 0; + } + + //! Detect extended-length UNC path. + //! Sample path: + //! \\?\UNC\server\share + //! @return true if extended-length UNC path syntax detected. + static Standard_Boolean IsUncExtendedPath(const char* thePath) + { + return ::strncmp(thePath, "\\\\?\\UNC\\", 8) == 0; + } + + //! Detect absolute UNIX-path. + //! Sample path: + //! /media/cdrom/file + //! @return true if UNIX path syntax detected. + static Standard_Boolean IsUnixPath(const char* thePath) + { + return thePath[0] == '/' && thePath[1] != '/'; + } + + //! Detect special URLs on Android platform. + //! Sample path: + //! content://filename + //! @return true if content path syntax detected + static Standard_Boolean IsContentProtocolPath(const char* thePath) + { + return ::strncmp(thePath, "content://", 10) == 0; + } + + //! Detect remote protocol path (http / ftp / ...). + //! Actually shouldn't be remote... + //! Sample path: + //! http://domain/path/file + //! @return true if remote protocol path syntax detected. + static Standard_Boolean IsRemoteProtocolPath(const char* thePath) + { + const char* anIter = thePath; + if (*anIter == ':') + { + return false; + } + for (; *anIter != '\0'; ++anIter) + { + if (*anIter == ':') + { + return *(++anIter) == '/' && *(++anIter) == '/'; + } + } + return false; + } + + //! Method to recognize path is absolute or not. + //! Detection is based on path syntax - no any filesystem / network access performed. + //! @return true if path is incomplete (relative). + static Standard_Boolean IsRelativePath(const char* thePath) + { + return !IsUncPath(thePath) && !IsDosPath(thePath) && !IsNtExtendedPath(thePath) + && !IsUnixPath(thePath) && !IsRemoteProtocolPath(thePath); + } + + //! Method to recognize path is absolute or not. + //! Detection is based on path syntax - no any filesystem / network access performed. + //! @return true if path is complete (absolute) + static Standard_Boolean IsAbsolutePath(const char* thePath) { return !IsRelativePath(thePath); } + +private: + TCollection_AsciiString myNode; + TCollection_AsciiString myUserName; + TCollection_AsciiString myPassword; + TCollection_AsciiString myDisk; + TCollection_AsciiString myTrek; + TCollection_AsciiString myName; + TCollection_AsciiString myExtension; + Standard_Boolean myUNCFlag; + OSD_SysType mySysDep; +}; + +#endif // _OSD_Path_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_SIGBUS.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_SIGBUS.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e23fbb315407f1572e1cadfcfe9fcd5ff5638609 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_SIGBUS.hxx @@ -0,0 +1,35 @@ +// Copyright (c) 1992-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 _OSD_SIGBUS_HeaderFile +#define _OSD_SIGBUS_HeaderFile + +#include +#include +#include + +class OSD_SIGBUS; +DEFINE_STANDARD_HANDLE(OSD_SIGBUS, OSD_Signal) + +#if !defined No_Exception && !defined No_OSD_SIGBUS + #define OSD_SIGBUS_Raise_if(CONDITION, MESSAGE) \ + if (CONDITION) \ + throw OSD_SIGBUS(MESSAGE); +#else + #define OSD_SIGBUS_Raise_if(CONDITION, MESSAGE) +#endif + +DEFINE_STANDARD_EXCEPTION(OSD_SIGBUS, OSD_Signal) + +#endif // _OSD_SIGBUS_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_SIGILL.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_SIGILL.hxx new file mode 100644 index 0000000000000000000000000000000000000000..3a4cb896089c8910be6c97379aebd685a6ad3b29 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_SIGILL.hxx @@ -0,0 +1,35 @@ +// Copyright (c) 1992-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 _OSD_SIGILL_HeaderFile +#define _OSD_SIGILL_HeaderFile + +#include +#include +#include + +class OSD_SIGILL; +DEFINE_STANDARD_HANDLE(OSD_SIGILL, OSD_Signal) + +#if !defined No_Exception && !defined No_OSD_SIGILL + #define OSD_SIGILL_Raise_if(CONDITION, MESSAGE) \ + if (CONDITION) \ + throw OSD_SIGILL(MESSAGE); +#else + #define OSD_SIGILL_Raise_if(CONDITION, MESSAGE) +#endif + +DEFINE_STANDARD_EXCEPTION(OSD_SIGILL, OSD_Signal) + +#endif // _OSD_SIGILL_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_ThreadFunction.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_ThreadFunction.hxx new file mode 100644 index 0000000000000000000000000000000000000000..853cb04a373bd0b408c6241a837ebd8dfc2188b9 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OSD_ThreadFunction.hxx @@ -0,0 +1,36 @@ +// Created on: 2006-03-10 +// Created by: data exchange team +// Copyright (c) 2006-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 OSD_ThreadFunction_HeaderFile +#define OSD_ThreadFunction_HeaderFile + +//! Typedef for prototype of function to be used as main function of a thread. +//! +//! Note: currently we use the same prototype for thread functions on all platforms, +//! in order to make user programs less platform-dependent. +//! However, there is a distinction in returned value for the thread function +//! on UNIX/Linux (void*) and Windows (DWORD) systems. +//! Thus on Windows we have to encode returned void* as DWORD. +//! It is OK for WIN32, but potentially problem on WIN64. +//! To avoid any problems with this, for better application portability it is recommended +//! that the thread function returns just integer (casted to void*). +//! This shall work on all platforms. +typedef Standard_Address (*OSD_ThreadFunction)(Standard_Address data); + +// #ifdef _WIN32 +// typedef LPTHREAD_START_ROUTINE OSD_ThreadFunction; +// #endif + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OpenGl_BackgroundArray.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OpenGl_BackgroundArray.hxx new file mode 100644 index 0000000000000000000000000000000000000000..c47c5d0352f9ad68064e3ad59dff1add0d6d1abf --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OpenGl_BackgroundArray.hxx @@ -0,0 +1,110 @@ +// Created on: 2015-01-16 +// Created by: Anastasia BORISOVA +// Copyright (c) 2015 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 OpenGl_BackgroundArray_Header +#define OpenGl_BackgroundArray_Header + +#include +#include +#include +#include +#include +#include +#include + +//! Tool class for generating reusable data for +//! gradient or texture background rendering. +class OpenGl_BackgroundArray : public OpenGl_PrimitiveArray +{ +public: + //! Main constructor. + Standard_EXPORT OpenGl_BackgroundArray(const Graphic3d_TypeOfBackground theType); + + //! Render primitives to the window + Standard_EXPORT void Render(const Handle(OpenGl_Workspace)& theWorkspace, + Graphic3d_Camera::Projection theProjection) const; + + //! Check if background parameters are set properly + Standard_EXPORT bool IsDefined() const; + + //! Sets background texture parameters + Standard_EXPORT void SetTextureParameters(const Aspect_FillMethod theFillMethod); + + //! Sets texture fill method + Standard_EXPORT void SetTextureFillMethod(const Aspect_FillMethod theFillMethod); + + //! Gets background texture fill method + Aspect_FillMethod TextureFillMethod() const { return myFillMethod; } + + //! Gets background gradient fill method + Aspect_GradientFillMethod GradientFillMethod() const { return myGradientParams.type; } + + //! Returns color of gradient background for the given index. + const OpenGl_Vec4& GradientColor(const Standard_Integer theIndex) const + { + return (&myGradientParams.color1)[theIndex]; + } + + //! Sets type of gradient fill method + Standard_EXPORT void SetGradientFillMethod(const Aspect_GradientFillMethod theType); + + //! Sets background gradient parameters + Standard_EXPORT void SetGradientParameters(const Quantity_Color& theColor1, + const Quantity_Color& theColor2, + const Aspect_GradientFillMethod theType); + +protected: //! @name Internal structure for storing gradient parameters + struct OpenGl_GradientParameters + { + OpenGl_Vec4 color1; + OpenGl_Vec4 color2; + Aspect_GradientFillMethod type; + }; + +protected: + //! Fill attributes arrays for background array according to its type: + //! - for gradient background its attributes consist of colors and gradient coordinates + //! - for texture one its attributes consist of position and texture coordinates. + Standard_EXPORT Standard_Boolean init(const Handle(OpenGl_Workspace)& theWorkspace) const; + + //! Initializes gradient arrays. + Standard_EXPORT Standard_Boolean createGradientArray(const Handle(OpenGl_Context)& theCtx) const; + + //! Initializes texture arrays. + //! @param theWorkspace OpenGl workspace that stores texture in the current enabled face aspect. + Standard_EXPORT Standard_Boolean + createTextureArray(const Handle(OpenGl_Workspace)& theWorkspace) const; + + //! Initializes cubemap arrays. + Standard_EXPORT Standard_Boolean createCubeMapArray() const; + + //! Marks array parameters as changed, + //! on next rendering stage array data is to be updated. + Standard_EXPORT void invalidateData(); + + using OpenGl_PrimitiveArray::Render; + +protected: + // clang-format off + Graphic3d_TypeOfBackground myType; //!< Type of background: texture or gradient. + Aspect_FillMethod myFillMethod; //!< Texture parameters + mutable OpenGl_GradientParameters myGradientParams; //!< Gradient parameters + mutable Standard_Integer myViewWidth; //!< view width used for array initialization + mutable Standard_Integer myViewHeight; //!< view height used for array initialization + mutable Standard_Boolean myToUpdate; //!< Shows if array parameters were changed and data (myAttribs storage) is to be updated + // clang-format on +}; + +#endif // OpenGl_BackgroundArray_Header diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OpenGl_Group.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OpenGl_Group.hxx new file mode 100644 index 0000000000000000000000000000000000000000..1a27dbfb30f3d3336e86e63dbc9893fe49d03c90 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OpenGl_Group.hxx @@ -0,0 +1,143 @@ +// Created on: 2011-08-01 +// Created by: Sergey ZERCHANINOV +// Copyright (c) 2011-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 OpenGl_Group_HeaderFile +#define OpenGl_Group_HeaderFile + +#include +#include + +#include +#include + +class OpenGl_Structure; + +struct OpenGl_ElementNode +{ + OpenGl_Element* elem; + OpenGl_ElementNode* next; + DEFINE_STANDARD_ALLOC +}; + +//! Implementation of low-level graphic group. +class OpenGl_Group : public Graphic3d_Group +{ +public: + //! Create empty group. + //! Will throw exception if not created by OpenGl_Structure. + Standard_EXPORT OpenGl_Group(const Handle(Graphic3d_Structure)& theStruct); + + Standard_EXPORT virtual void Clear(const Standard_Boolean theToUpdateStructureMgr) + Standard_OVERRIDE; + + //! Return line aspect. + virtual Handle(Graphic3d_Aspects) Aspects() const Standard_OVERRIDE + { + return myAspects != NULL ? myAspects->Aspect() : Handle(Graphic3d_Aspects)(); + } + + //! Return TRUE if group contains primitives with transform persistence. + bool HasPersistence() const + { + return !myTrsfPers.IsNull() + || (myStructure != NULL && !myStructure->TransformPersistence().IsNull()); + } + + //! Update aspect. + Standard_EXPORT virtual void SetGroupPrimitivesAspect(const Handle(Graphic3d_Aspects)& theAspect) + Standard_OVERRIDE; + + //! Append aspect as an element. + Standard_EXPORT virtual void SetPrimitivesAspect(const Handle(Graphic3d_Aspects)& theAspect) + Standard_OVERRIDE; + + //! Update presentation aspects after their modification. + Standard_EXPORT virtual void SynchronizeAspects() Standard_OVERRIDE; + + //! Replace aspects specified in the replacement map. + Standard_EXPORT virtual void ReplaceAspects(const Graphic3d_MapOfAspectsToAspects& theMap) + Standard_OVERRIDE; + + //! Add primitive array element + Standard_EXPORT virtual void AddPrimitiveArray(const Graphic3d_TypeOfPrimitiveArray theType, + const Handle(Graphic3d_IndexBuffer)& theIndices, + const Handle(Graphic3d_Buffer)& theAttribs, + const Handle(Graphic3d_BoundBuffer)& theBounds, + const Standard_Boolean theToEvalMinMax) + Standard_OVERRIDE; + + //! Adds a text for display + Standard_EXPORT virtual void AddText(const Handle(Graphic3d_Text)& theTextParams, + const Standard_Boolean theToEvalMinMax) Standard_OVERRIDE; + //! Add flipping element + Standard_EXPORT virtual void SetFlippingOptions(const Standard_Boolean theIsEnabled, + const gp_Ax2& theRefPlane) Standard_OVERRIDE; + + //! Add stencil test element + Standard_EXPORT virtual void SetStencilTestOptions(const Standard_Boolean theIsEnabled) + Standard_OVERRIDE; + +public: + OpenGl_Structure* GlStruct() const + { + return (OpenGl_Structure*)(myStructure->CStructure().operator->()); + } + + Standard_EXPORT void AddElement(OpenGl_Element* theElem); + + Standard_EXPORT virtual void Render(const Handle(OpenGl_Workspace)& theWorkspace) const; + Standard_EXPORT virtual void Release(const Handle(OpenGl_Context)& theGlCtx); + + //! Returns first OpenGL element node of the group. + const OpenGl_ElementNode* FirstNode() const { return myFirst; } + + //! Returns OpenGL aspect. + const OpenGl_Aspects* GlAspects() const { return myAspects; } + + //! Is the group ray-tracable (contains ray-tracable elements)? + Standard_Boolean IsRaytracable() const { return myIsRaytracable; } + + //! Dumps the content of me into the stream + Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, + Standard_Integer theDepth = -1) const Standard_OVERRIDE; + +protected: + Standard_EXPORT virtual ~OpenGl_Group(); + +private: + //! Render element if it passes the filtering procedure. + //! This method should be used for elements which can be used in scope of rendering algorithms. + //! E.g. elements of groups during recursive rendering. + //! If render filter is null, pure rendering is performed. + //! @param[in] theWorkspace the rendering workspace + //! @param[in] theFilter the rendering filter to check whether the element should be rendered + //! or not + //! @return True if element passes the check and renders + Standard_EXPORT bool renderFiltered(const Handle(OpenGl_Workspace)& theWorkspace, + OpenGl_Element* theElement) const; + +protected: + OpenGl_Aspects* myAspects; + OpenGl_ElementNode* myFirst; + OpenGl_ElementNode* myLast; + Standard_Boolean myIsRaytracable; + +public: + DEFINE_STANDARD_RTTIEXT(OpenGl_Group, Graphic3d_Group) // Type definition +}; + +DEFINE_STANDARD_HANDLE(OpenGl_Group, Graphic3d_Group) + +#endif // _OpenGl_Group_Header diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OpenGl_SetOfShaderPrograms.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OpenGl_SetOfShaderPrograms.hxx new file mode 100644 index 0000000000000000000000000000000000000000..817b5b118eb44b4da82f4b375e270ea2679ead68 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/OpenGl_SetOfShaderPrograms.hxx @@ -0,0 +1,81 @@ +// Created on: 2014-10-08 +// Created by: Kirill Gavrilov +// Copyright (c) 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 _OpenGl_SetOfShaderPrograms_HeaderFile +#define _OpenGl_SetOfShaderPrograms_HeaderFile + +#include +#include +#include + +class OpenGl_ShaderProgram; + +//! Alias to programs array of predefined length +class OpenGl_SetOfPrograms : public Standard_Transient +{ + DEFINE_STANDARD_RTTI_INLINE(OpenGl_SetOfPrograms, Standard_Transient) +public: + //! Empty constructor + OpenGl_SetOfPrograms() {} + + //! Access program by index + Handle(OpenGl_ShaderProgram)& ChangeValue(Standard_Integer theProgramBits) + { + return myPrograms[theProgramBits]; + } + +protected: + Handle(OpenGl_ShaderProgram) myPrograms[Graphic3d_ShaderFlags_NB]; //!< programs array +}; + +//! Alias to 2D programs array of predefined length +class OpenGl_SetOfShaderPrograms : public Standard_Transient +{ + DEFINE_STANDARD_RTTI_INLINE(OpenGl_SetOfShaderPrograms, Standard_Transient) +public: + //! Empty constructor + OpenGl_SetOfShaderPrograms() {} + + //! Constructor + OpenGl_SetOfShaderPrograms(const Handle(OpenGl_SetOfPrograms)& thePrograms) + { + for (Standard_Integer aSetIter = 0; aSetIter < Graphic3d_TypeOfShadingModel_NB - 1; ++aSetIter) + { + myPrograms[aSetIter] = thePrograms; + } + } + + //! Access program by index + Handle(OpenGl_ShaderProgram)& ChangeValue(Graphic3d_TypeOfShadingModel theShadingModel, + Standard_Integer theProgramBits) + { + Handle(OpenGl_SetOfPrograms)& aSet = myPrograms[theShadingModel - 1]; + if (aSet.IsNull()) + { + aSet = new OpenGl_SetOfPrograms(); + } + return aSet->ChangeValue(theProgramBits); + } + +protected: + // clang-format off + Handle(OpenGl_SetOfPrograms) myPrograms[Graphic3d_TypeOfShadingModel_NB - 1]; //!< programs array, excluding Graphic3d_TypeOfShadingModel_Unlit + // clang-format on +}; + +typedef NCollection_DataMap + OpenGl_MapOfShaderPrograms; + +#endif // _OpenGl_SetOfShaderPrograms_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PCDM_Document.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PCDM_Document.hxx new file mode 100644 index 0000000000000000000000000000000000000000..46ff339b5bc4d35c77493b6dc0409f3f8062bfee --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PCDM_Document.hxx @@ -0,0 +1,38 @@ +// Created on: 1997-08-01 +// Created by: Jean-Louis Frenkel +// Copyright (c) 1997-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 _PCDM_Document_HeaderFile +#define _PCDM_Document_HeaderFile + +#include +#include + +#include + +class PCDM_Document; +DEFINE_STANDARD_HANDLE(PCDM_Document, Standard_Persistent) + +class PCDM_Document : public Standard_Persistent +{ + +public: + DEFINE_STANDARD_RTTIEXT(PCDM_Document, Standard_Persistent) + +protected: +private: +}; + +#endif // _PCDM_Document_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PCDM_Reference.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PCDM_Reference.hxx new file mode 100644 index 0000000000000000000000000000000000000000..f9450bc926e1d35b684e4b0a0bb03bf65894a4c9 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PCDM_Reference.hxx @@ -0,0 +1,50 @@ +// Created on: 1997-12-09 +// Created by: Jean-Louis Frenkel +// Copyright (c) 1997-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 _PCDM_Reference_HeaderFile +#define _PCDM_Reference_HeaderFile + +#include +#include +#include + +#include + +class PCDM_Reference +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT PCDM_Reference(); + + Standard_EXPORT PCDM_Reference(const Standard_Integer aReferenceIdentifier, + const TCollection_ExtendedString& aFileName, + const Standard_Integer aDocumentVersion); + + Standard_EXPORT Standard_Integer ReferenceIdentifier() const; + + Standard_EXPORT TCollection_ExtendedString FileName() const; + + Standard_EXPORT Standard_Integer DocumentVersion() const; + +protected: +private: + Standard_Integer myReferenceIdentifier; + TCollection_ExtendedString myFileName; + Standard_Integer myDocumentVersion; +}; + +#endif // _PCDM_Reference_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PCDM_ReferenceIterator.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PCDM_ReferenceIterator.hxx new file mode 100644 index 0000000000000000000000000000000000000000..8b532552586bbf5d5c3c4b984f83bbe068dd332f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PCDM_ReferenceIterator.hxx @@ -0,0 +1,71 @@ +// Created on: 1997-12-01 +// Created by: Jean-Louis Frenkel +// Copyright (c) 1997-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 _PCDM_ReferenceIterator_HeaderFile +#define _PCDM_ReferenceIterator_HeaderFile + +#include +#include + +#include +#include + +class Message_Messenger; +class CDM_Document; +class CDM_MetaData; +class CDM_Application; + +class PCDM_ReferenceIterator; +DEFINE_STANDARD_HANDLE(PCDM_ReferenceIterator, Standard_Transient) + +class PCDM_ReferenceIterator : public Standard_Transient +{ + +public: + //! Warning! The constructor does not initialization. + Standard_EXPORT PCDM_ReferenceIterator(const Handle(Message_Messenger)& theMessageDriver); + + Standard_EXPORT void LoadReferences(const Handle(CDM_Document)& aDocument, + const Handle(CDM_MetaData)& aMetaData, + const Handle(CDM_Application)& anApplication, + const Standard_Boolean UseStorageConfiguration); + + Standard_EXPORT virtual void Init(const Handle(CDM_MetaData)& aMetaData); + + DEFINE_STANDARD_RTTIEXT(PCDM_ReferenceIterator, Standard_Transient) + +protected: +private: + Standard_EXPORT virtual Standard_Boolean More() const; + + Standard_EXPORT virtual void Next(); + + Standard_EXPORT virtual Handle(CDM_MetaData) MetaData( + CDM_MetaDataLookUpTable& theLookUpTable, + const Standard_Boolean UseStorageConfiguration) const; + + Standard_EXPORT virtual Standard_Integer ReferenceIdentifier() const; + + //! returns the version of the document in the reference + Standard_EXPORT virtual Standard_Integer DocumentVersion() const; + +private: + PCDM_SequenceOfReference myReferences; + Standard_Integer myIterator; + Handle(Message_Messenger) myMessageDriver; +}; + +#endif // _PCDM_ReferenceIterator_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PLib_DoubleJacobiPolynomial.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PLib_DoubleJacobiPolynomial.lxx new file mode 100644 index 0000000000000000000000000000000000000000..72e6b2903f7e2971437398d17cc105d221b12463 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PLib_DoubleJacobiPolynomial.lxx @@ -0,0 +1,38 @@ +// Created on: 1997-06-06 +// Created by: Sergey SOKOLOV +// Copyright (c) 1997-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. + +#include +#include + +inline Handle(PLib_JacobiPolynomial) PLib_DoubleJacobiPolynomial::U() const +{ + return myJacPolU; +} + +inline Handle(PLib_JacobiPolynomial) PLib_DoubleJacobiPolynomial::V() const +{ + return myJacPolV; +} + +inline Handle(TColStd_HArray1OfReal) PLib_DoubleJacobiPolynomial::TabMaxU() const +{ + return myTabMaxU; +} + +inline Handle(TColStd_HArray1OfReal) PLib_DoubleJacobiPolynomial::TabMaxV() const +{ + return myTabMaxV; +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PLib_JacobiPolynomial.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PLib_JacobiPolynomial.lxx new file mode 100644 index 0000000000000000000000000000000000000000..2b7a6f96a0422c9b5903215aae1278f4ac86aea2 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PLib_JacobiPolynomial.lxx @@ -0,0 +1,25 @@ +// Created on: 1997-06-03 +// Created by: Sergey SOKOLOV +// Copyright (c) 1997-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. + +inline Standard_Integer PLib_JacobiPolynomial::WorkDegree() const +{ + return myWorkDegree; +} + +inline Standard_Integer PLib_JacobiPolynomial::NivConstr() const +{ + return myNivConstr; +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Plate_Array1OfPinpointConstraint.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Plate_Array1OfPinpointConstraint.hxx new file mode 100644 index 0000000000000000000000000000000000000000..502f75de19b70fe733fee5701f5fed0d1024ccf8 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Plate_Array1OfPinpointConstraint.hxx @@ -0,0 +1,25 @@ +// Created on: 1995-10-17 +// Created by: Andre LIEUTIER +// Copyright (c) 1995-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 Plate_Array1OfPinpointConstraint_HeaderFile +#define Plate_Array1OfPinpointConstraint_HeaderFile + +#include +#include + +typedef NCollection_Array1 Plate_Array1OfPinpointConstraint; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Plate_PinpointConstraint.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Plate_PinpointConstraint.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d78033f57e554686641e24022e8ec2532c5fc5d6 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Plate_PinpointConstraint.hxx @@ -0,0 +1,58 @@ +// Created on: 1995-10-19 +// Created by: Andre LIEUTIER +// Copyright (c) 1995-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 _Plate_PinpointConstraint_HeaderFile +#define _Plate_PinpointConstraint_HeaderFile + +#include +#include +#include + +#include +#include + +//! define a constraint on the Plate +class Plate_PinpointConstraint +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT Plate_PinpointConstraint(); + + Standard_EXPORT Plate_PinpointConstraint(const gp_XY& point2d, + const gp_XYZ& ImposedValue, + const Standard_Integer iu = 0, + const Standard_Integer iv = 0); + + const gp_XY& Pnt2d() const; + + const Standard_Integer& Idu() const; + + const Standard_Integer& Idv() const; + + const gp_XYZ& Value() const; + +protected: +private: + gp_XYZ value; + gp_XY pnt2d; + Standard_Integer idu; + Standard_Integer idv; +}; + +#include + +#endif // _Plate_PinpointConstraint_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Poly_ArrayOfNodes.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Poly_ArrayOfNodes.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ad8c8adcb97b72fae1a6c2e732e8af368b07d980 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Poly_ArrayOfNodes.hxx @@ -0,0 +1,149 @@ +// Copyright (c) 2021 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 _Poly_ArrayOfNodes_HeaderFile +#define _Poly_ArrayOfNodes_HeaderFile + +#include +#include +#include +#include + +//! Defines an array of 3D nodes of single/double precision configurable at construction time. +class Poly_ArrayOfNodes : public NCollection_AliasedArray<> +{ +public: + //! Empty constructor of double-precision array. + Poly_ArrayOfNodes() + : NCollection_AliasedArray((Standard_Integer)sizeof(gp_Pnt)) + { + // + } + + //! Constructor of double-precision array. + Poly_ArrayOfNodes(Standard_Integer theLength) + : NCollection_AliasedArray((Standard_Integer)sizeof(gp_Pnt), theLength) + { + // + } + + //! Copy constructor + Standard_EXPORT Poly_ArrayOfNodes(const Poly_ArrayOfNodes& theOther); + + //! Constructor wrapping pre-allocated C-array of values without copying them. + Poly_ArrayOfNodes(const gp_Pnt& theBegin, Standard_Integer theLength) + : NCollection_AliasedArray(theBegin, theLength) + { + // + } + + //! Constructor wrapping pre-allocated C-array of values without copying them. + Poly_ArrayOfNodes(const gp_Vec3f& theBegin, Standard_Integer theLength) + : NCollection_AliasedArray(theBegin, theLength) + { + // + } + + //! Destructor. + Standard_EXPORT ~Poly_ArrayOfNodes(); + + //! Returns TRUE if array defines nodes with double precision. + bool IsDoublePrecision() const { return myStride == (Standard_Integer)sizeof(gp_Pnt); } + + //! Sets if array should define nodes with double or single precision. + //! Raises exception if array was already allocated. + void SetDoublePrecision(bool theIsDouble) + { + if (myData != NULL) + { + throw Standard_ProgramError( + "Poly_ArrayOfNodes::SetDoublePrecision() should be called before allocation"); + } + myStride = Standard_Integer(theIsDouble ? sizeof(gp_Pnt) : sizeof(gp_Vec3f)); + } + + //! Copies data of theOther array to this. + //! The arrays should have the same length, + //! but may have different precision / number of components (data conversion will be applied in + //! the latter case). + Standard_EXPORT Poly_ArrayOfNodes& Assign(const Poly_ArrayOfNodes& theOther); + + //! Move assignment. + Poly_ArrayOfNodes& Move(Poly_ArrayOfNodes& theOther) + { + NCollection_AliasedArray::Move(theOther); + return *this; + } + + //! Assignment operator; @sa Assign() + Poly_ArrayOfNodes& operator=(const Poly_ArrayOfNodes& theOther) { return Assign(theOther); } + + //! Move constructor + Poly_ArrayOfNodes(Poly_ArrayOfNodes&& theOther) Standard_Noexcept + : NCollection_AliasedArray(std::move(theOther)) + { + // + } + + //! Move assignment operator; @sa Move() + Poly_ArrayOfNodes& operator=(Poly_ArrayOfNodes&& theOther) Standard_Noexcept + { + return Move(theOther); + } + +public: + //! A generalized accessor to point. + inline gp_Pnt Value(Standard_Integer theIndex) const; + + //! A generalized setter for point. + inline void SetValue(Standard_Integer theIndex, const gp_Pnt& theValue); + + //! operator[] - alias to Value + gp_Pnt operator[](Standard_Integer theIndex) const { return Value(theIndex); } +}; + +// ======================================================================= +// function : Value +// purpose : +// ======================================================================= +inline gp_Pnt Poly_ArrayOfNodes::Value(Standard_Integer theIndex) const +{ + if (myStride == (Standard_Integer)sizeof(gp_Pnt)) + { + return NCollection_AliasedArray::Value(theIndex); + } + else + { + const gp_Vec3f& aVec3 = NCollection_AliasedArray::Value(theIndex); + return gp_Pnt(aVec3.x(), aVec3.y(), aVec3.z()); + } +} + +// ======================================================================= +// function : SetValue +// purpose : +// ======================================================================= +inline void Poly_ArrayOfNodes::SetValue(Standard_Integer theIndex, const gp_Pnt& theValue) +{ + if (myStride == (Standard_Integer)sizeof(gp_Pnt)) + { + NCollection_AliasedArray::ChangeValue(theIndex) = theValue; + } + else + { + gp_Vec3f& aVec3 = NCollection_AliasedArray::ChangeValue(theIndex); + aVec3.SetValues((float)theValue.X(), (float)theValue.Y(), (float)theValue.Z()); + } +} + +#endif // _Poly_ArrayOfNodes_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Prs3d_DatumAttribute.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Prs3d_DatumAttribute.hxx new file mode 100644 index 0000000000000000000000000000000000000000..df1a91286132371ce8f33a907dbe050d7cdfdd04 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Prs3d_DatumAttribute.hxx @@ -0,0 +1,45 @@ +// Copyright (c) 2016 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 _Prs3d_DatumAttribute_HeaderFile +#define _Prs3d_DatumAttribute_HeaderFile + +//! Enumeration defining a datum attribute, see Prs3d_Datum. +enum Prs3d_DatumAttribute +{ + Prs3d_DatumAttribute_XAxisLength = 0, + Prs3d_DatumAttribute_YAxisLength, + Prs3d_DatumAttribute_ZAxisLength, + Prs3d_DatumAttribute_ShadingTubeRadiusPercent, + Prs3d_DatumAttribute_ShadingConeRadiusPercent, + Prs3d_DatumAttribute_ShadingConeLengthPercent, + Prs3d_DatumAttribute_ShadingOriginRadiusPercent, + Prs3d_DatumAttribute_ShadingNumberOfFacettes, + + // old aliases + Prs3d_DA_XAxisLength = Prs3d_DatumAttribute_XAxisLength, + Prs3d_DA_YAxisLength = Prs3d_DatumAttribute_YAxisLength, + Prs3d_DA_ZAxisLength = Prs3d_DatumAttribute_ZAxisLength, + Prs3d_DP_ShadingTubeRadiusPercent = Prs3d_DatumAttribute_ShadingTubeRadiusPercent, + Prs3d_DP_ShadingConeRadiusPercent = Prs3d_DatumAttribute_ShadingConeRadiusPercent, + Prs3d_DP_ShadingConeLengthPercent = Prs3d_DatumAttribute_ShadingConeLengthPercent, + Prs3d_DP_ShadingOriginRadiusPercent = Prs3d_DatumAttribute_ShadingOriginRadiusPercent, + Prs3d_DP_ShadingNumberOfFacettes = Prs3d_DatumAttribute_ShadingNumberOfFacettes +}; + +enum +{ + Prs3d_DatumAttribute_NB = Prs3d_DatumAttribute_ShadingNumberOfFacettes + 1 +}; + +#endif // _Prs3d_DatumAttribute_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_ConcentricRelation.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_ConcentricRelation.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e7d58e7352a2d474b23ea866a3a7fc9ca12d76ca --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_ConcentricRelation.hxx @@ -0,0 +1,67 @@ +// Created on: 1996-12-05 +// Created by: Flore Lantheaume/Odile Olivier +// Copyright (c) 1996-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 _PrsDim_ConcentricRelation_HeaderFile +#define _PrsDim_ConcentricRelation_HeaderFile + +#include +#include + +class Geom_Plane; + +DEFINE_STANDARD_HANDLE(PrsDim_ConcentricRelation, PrsDim_Relation) + +//! A framework to define a constraint by a relation of +//! concentricity between two or more interactive datums. +//! The display of this constraint is also defined. +//! A plane is used to create an axis along which the +//! relation of concentricity can be extended. +class PrsDim_ConcentricRelation : public PrsDim_Relation +{ + DEFINE_STANDARD_RTTIEXT(PrsDim_ConcentricRelation, PrsDim_Relation) +public: + //! Constructs the display object for concentric relations + //! between shapes. + //! This object is defined by the two shapes, aFShape + //! and aSShape and the plane aPlane. + //! aPlane is provided to create an axis along which the + //! relation of concentricity can be extended. + Standard_EXPORT PrsDim_ConcentricRelation(const TopoDS_Shape& aFShape, + const TopoDS_Shape& aSShape, + const Handle(Geom_Plane)& aPlane); + +private: + Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager)& thePrsMgr, + const Handle(Prs3d_Presentation)& thePrs, + const Standard_Integer theMode) Standard_OVERRIDE; + + Standard_EXPORT void ComputeTwoEdgesConcentric(const Handle(Prs3d_Presentation)& thePrsMgr); + + Standard_EXPORT void ComputeEdgeVertexConcentric(const Handle(Prs3d_Presentation)& thePrsMgr); + + Standard_EXPORT void ComputeTwoVerticesConcentric(const Handle(Prs3d_Presentation)& thePrsMgr); + + Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& theSel, + const Standard_Integer theMode) Standard_OVERRIDE; + +private: + gp_Pnt myCenter; + Standard_Real myRad; + gp_Dir myDir; + gp_Pnt myPnt; +}; + +#endif // _PrsDim_ConcentricRelation_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_DimensionOwner.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_DimensionOwner.hxx new file mode 100644 index 0000000000000000000000000000000000000000..458db182c425f6697e3babc021b980ade61a7cf6 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_DimensionOwner.hxx @@ -0,0 +1,73 @@ +// Created on: 1996-12-05 +// Created by: Odile Olivier +// Copyright (c) 1996-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 _PrsDim_DimensionOwner_HeaderFile +#define _PrsDim_DimensionOwner_HeaderFile + +#include + +#include +#include +#include +#include + +class SelectMgr_SelectableObject; +class PrsMgr_PresentationManager; + +DEFINE_STANDARD_HANDLE(PrsDim_DimensionOwner, SelectMgr_EntityOwner) + +//! The owner is the entity which makes it possible to link +//! the sensitive primitives and the reference shapes that +//! you want to detect. It stocks the various pieces of +//! information which make it possible to find objects. An +//! owner has a priority which you can modulate, so as to +//! make one entity more selectable than another. You +//! might want to make edges more selectable than +//! faces, for example. In that case, you could attribute sa +//! higher priority to the one compared to the other. An +//! edge, could have priority 5, for example, and a face, +//! priority 4. The default priority is 5. +class PrsDim_DimensionOwner : public SelectMgr_EntityOwner +{ + DEFINE_STANDARD_RTTIEXT(PrsDim_DimensionOwner, SelectMgr_EntityOwner) +public: + //! Initializes the dimension owner, theSO, and attributes it + //! the priority, thePriority. + Standard_EXPORT PrsDim_DimensionOwner(const Handle(SelectMgr_SelectableObject)& theSelObject, + const PrsDim_DimensionSelectionMode theSelMode, + const Standard_Integer thePriority = 0); + + PrsDim_DimensionSelectionMode SelectionMode() const { return mySelectionMode; } + + Standard_EXPORT virtual void HilightWithColor(const Handle(PrsMgr_PresentationManager)& thePM, + const Handle(Prs3d_Drawer)& theStyle, + const Standard_Integer theMode) Standard_OVERRIDE; + + //! Returns true if an object with the selection mode + //! aMode is highlighted in the presentation manager aPM. + Standard_EXPORT virtual Standard_Boolean IsHilighted( + const Handle(PrsMgr_PresentationManager)& thePM, + const Standard_Integer theMode = 0) const Standard_OVERRIDE; + + //! Removes highlighting from the selected part of dimension. + Standard_EXPORT virtual void Unhilight(const Handle(PrsMgr_PresentationManager)& thePM, + const Standard_Integer theMode = 0) Standard_OVERRIDE; + +private: + PrsDim_DimensionSelectionMode mySelectionMode; +}; + +#endif // _AIS_DimensionOwner_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_LengthDimension.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_LengthDimension.hxx new file mode 100644 index 0000000000000000000000000000000000000000..0f10badbdcc5d62ba1ccfa4725a876eb87dcb287 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_LengthDimension.hxx @@ -0,0 +1,246 @@ +// Copyright (c) 1999-2013 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 _PrsDim_LengthDimension_HeaderFile +#define _PrsDim_LengthDimension_HeaderFile + +#include +#include +#include +#include +#include +#include + +DEFINE_STANDARD_HANDLE(PrsDim_LengthDimension, PrsDim_Dimension) + +//! Length dimension. Can be constructed: +//! - Between two generic points. +//! - Between two vertices. +//! - Between two faces. +//! - Between two parallel edges. +//! - Between face and edge. +//! +//! In case of two points (vertices) or one linear edge the user-defined plane +//! that includes this geometry is necessary to be set. +//! +//! In case of face-edge, edge-vertex or face-face lengths the automatic plane +//! computing is allowed. For this plane the third point is found on the +//! edge or on the face. +//! +//! Please note that if the inappropriate geometry is defined +//! or the distance between measured points is less than +//! Precision::Confusion(), the dimension is invalid and its +//! presentation can not be computed. +class PrsDim_LengthDimension : public PrsDim_Dimension +{ + DEFINE_STANDARD_RTTIEXT(PrsDim_LengthDimension, PrsDim_Dimension) +public: + //! Construct an empty length dimension. + //! @sa SetMeasuredGeometry(), SetMeasuredShapes() for initialization. + Standard_EXPORT PrsDim_LengthDimension(); + + //! Construct length dimension between face and edge. + //! Here dimension can be built without user-defined plane. + //! @param[in] theFace the face (first shape). + //! @param[in] theEdge the edge (second shape). + Standard_EXPORT PrsDim_LengthDimension(const TopoDS_Face& theFace, const TopoDS_Edge& theEdge); + + //! Construct length dimension between two faces. + //! @param[in] theFirstFace the first face (first shape). + //! @param[in] theSecondFace the second face (second shape). + Standard_EXPORT PrsDim_LengthDimension(const TopoDS_Face& theFirstFace, + const TopoDS_Face& theSecondFace); + + //! Construct length dimension between two points in + //! the specified plane. + //! @param[in] theFirstPoint the first point. + //! @param[in] theSecondPoint the second point. + //! @param[in] thePlane the plane to orient dimension. + Standard_EXPORT PrsDim_LengthDimension(const gp_Pnt& theFirstPoint, + const gp_Pnt& theSecondPoint, + const gp_Pln& thePlane); + + //! Construct length dimension between two arbitrary shapes in + //! the specified plane. + //! @param[in] theFirstShape the first shape. + //! @param[in] theSecondShape the second shape. + //! @param[in] thePlane the plane to orient dimension. + Standard_EXPORT PrsDim_LengthDimension(const TopoDS_Shape& theFirstShape, + const TopoDS_Shape& theSecondShape, + const gp_Pln& thePlane); + + //! Construct length dimension of linear edge. + //! @param[in] theEdge the edge to measure. + //! @param[in] thePlane the plane to orient dimension. + Standard_EXPORT PrsDim_LengthDimension(const TopoDS_Edge& theEdge, const gp_Pln& thePlane); + +public: + //! @return first attachment point. + const gp_Pnt& FirstPoint() const { return myFirstPoint; } + + //! @return second attachment point. + const gp_Pnt& SecondPoint() const { return mySecondPoint; } + + //! @return first attachment shape. + const TopoDS_Shape& FirstShape() const { return myFirstShape; } + + //! @return second attachment shape. + const TopoDS_Shape& SecondShape() const { return mySecondShape; } + +public: + //! Measure distance between two points. + //! The dimension will become invalid if the new distance between + //! attachment points is less than Precision::Confusion(). + //! @param[in] theFirstPoint the first point. + //! @param[in] theSecondPoint the second point. + //! @param[in] thePlane the user-defined plane + Standard_EXPORT void SetMeasuredGeometry(const gp_Pnt& theFirstPoint, + const gp_Pnt& theSecondPoint, + const gp_Pln& thePlane); + + //! Measure length of edge. + //! The dimension will become invalid if the new length of edge + //! is less than Precision::Confusion(). + //! @param[in] theEdge the edge to measure. + //! @param[in] thePlane the user-defined plane + Standard_EXPORT void SetMeasuredGeometry(const TopoDS_Edge& theEdge, const gp_Pln& thePlane); + + //! Measure distance between two faces. + //! The dimension will become invalid if the distance can not + //! be measured or it is less than Precision::Confusion(). + //! @param[in] theFirstFace the first face (first shape). + //! @param[in] theSecondFace the second face (second shape). + Standard_EXPORT void SetMeasuredGeometry(const TopoDS_Face& theFirstFace, + const TopoDS_Face& theSecondFace); + + //! Measure distance between face and edge. + //! The dimension will become invalid if the distance can not + //! be measured or it is less than Precision::Confusion(). + //! @param[in] theFace the face (first shape). + //! @param[in] theEdge the edge (second shape). + Standard_EXPORT void SetMeasuredGeometry(const TopoDS_Face& theFace, const TopoDS_Edge& theEdge); + + //! Measure distance between generic pair of shapes (edges, vertices, length), + //! where measuring is applicable. + //! @param[in] theFirstShape the first shape. + //! @param[in] theSecondShape the second shape. + Standard_EXPORT void SetMeasuredShapes(const TopoDS_Shape& theFirstShape, + const TopoDS_Shape& theSecondShape); + + //! @return the display units string. + Standard_EXPORT virtual const TCollection_AsciiString& GetDisplayUnits() const Standard_OVERRIDE; + + //! @return the model units string. + Standard_EXPORT virtual const TCollection_AsciiString& GetModelUnits() const Standard_OVERRIDE; + + Standard_EXPORT virtual void SetDisplayUnits(const TCollection_AsciiString& theUnits) + Standard_OVERRIDE; + + Standard_EXPORT virtual void SetModelUnits(const TCollection_AsciiString& theUnits) + Standard_OVERRIDE; + + Standard_EXPORT virtual void SetTextPosition(const gp_Pnt& theTextPos) Standard_OVERRIDE; + + Standard_EXPORT virtual gp_Pnt GetTextPosition() const Standard_OVERRIDE; + + //! Set custom direction for dimension. If it is not set, the direction is obtained + //! from the measured geometry (e.g. line between points of dimension) + //! The direction does not change flyout direction of dimension. + //! @param[in] theDirection the dimension direction. + //! @param[in] theUseDirection boolean value if custom direction should be used. + Standard_EXPORT void SetDirection(const gp_Dir& theDirection, + const Standard_Boolean theUseDirection = Standard_True); + +protected: + //! Checks if the plane includes first and second points to build dimension. + Standard_EXPORT virtual Standard_Boolean CheckPlane(const gp_Pln& thePlane) const + Standard_OVERRIDE; + + Standard_EXPORT virtual gp_Pln ComputePlane(const gp_Dir& theAttachDir) const; + + //! Computes distance between dimension points. If custom direction is defined, the distance + //! is a projection value of the distance between points to this direction + //! @return dimension value + Standard_EXPORT Standard_Real ComputeValue() const Standard_OVERRIDE; + + Standard_EXPORT virtual void Compute( + const Handle(PrsMgr_PresentationManager)& thePresentationManager, + const Handle(Prs3d_Presentation)& thePresentation, + const Standard_Integer theMode = 0) Standard_OVERRIDE; + + //! Computes points bounded the flyout line for linear dimension. + //! Direction of flyout line equal to the custom direction of dimension if defined or + //! parallel to the main direction line + //! @param[in] theFirstPoint the first attach point of linear dimension. + //! @param[in] theSecondPoint the second attach point of linear dimension. + //! @param[out] theLineBegPoint the first attach point of linear dimension. + //! @param[out] theLineEndPoint the second attach point of linear dimension. + Standard_EXPORT virtual void ComputeFlyoutLinePoints(const gp_Pnt& theFirstPoint, + const gp_Pnt& theSecondPoint, + gp_Pnt& theLineBegPoint, + gp_Pnt& theLineEndPoint) Standard_OVERRIDE; + + Standard_EXPORT virtual void ComputeFlyoutSelection( + const Handle(SelectMgr_Selection)& theSelection, + const Handle(SelectMgr_EntityOwner)& theEntityOwner) Standard_OVERRIDE; + +protected: + //! Checks that distance between two points is valid. + //! @param[in] theFirstPoint the first point. + //! @param[in] theSecondPoint the second point. + Standard_EXPORT Standard_Boolean IsValidPoints(const gp_Pnt& theFirstPoint, + const gp_Pnt& theSecondPoint) const; + + Standard_EXPORT Standard_Boolean InitTwoEdgesLength(const TopoDS_Edge& theFirstEdge, + const TopoDS_Edge& theSecondEdge, + gp_Dir& theEdgeDir); + + //! Auxiliary method for InitTwoShapesPoints() + //! in case of the distance between edge and vertex. + //! Finds the point on the edge that is the closest one to . + //! @param[out] theEdgeDir is the direction on the edge to build automatic plane. + Standard_EXPORT Standard_Boolean InitEdgeVertexLength(const TopoDS_Edge& theEdge, + const TopoDS_Vertex& theVertex, + gp_Dir& theEdgeDir, + Standard_Boolean isInfinite); + + //! Auxiliary method for InitTwoShapesPoints() + //! in case of the distance between face and edge. + //! The first attachment point is first parameter point from . + //! Find the second attachment point which belongs to + //! Iterate over the edges of the face and find the closest point according + //! to found point on edge. + //! @param[out] theEdgeDir is the direction on the edge to build automatic plane. + Standard_EXPORT Standard_Boolean InitEdgeFaceLength(const TopoDS_Edge& theEdge, + const TopoDS_Face& theFace, + gp_Dir& theEdgeDir); + + //! Initialization of two attach points in case of two owner shapes. + Standard_EXPORT Standard_Boolean InitTwoShapesPoints(const TopoDS_Shape& theFirstShape, + const TopoDS_Shape& theSecondShape, + gp_Pln& theComputedPlane, + Standard_Boolean& theIsPlaneComputed); + + //! Initialization of two attach points in case of one owner shape. + Standard_EXPORT Standard_Boolean InitOneShapePoints(const TopoDS_Shape& theShape); + +protected: + gp_Pnt myFirstPoint; + gp_Pnt mySecondPoint; + TopoDS_Shape myFirstShape; + TopoDS_Shape mySecondShape; + gp_Dir myDirection; + Standard_Boolean myHasCustomDirection; +}; + +#endif // _PrsDim_LengthDimension_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_MidPointRelation.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_MidPointRelation.hxx new file mode 100644 index 0000000000000000000000000000000000000000..4334429a9823f9a8175e63dec6aedc4f20fe7ff9 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/PrsDim_MidPointRelation.hxx @@ -0,0 +1,100 @@ +// Created on: 2000-10-20 +// Created by: Julia DOROVSKIKH +// Copyright (c) 2000-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 _PrsDim_MidPointRelation_HeaderFile +#define _PrsDim_MidPointRelation_HeaderFile + +#include + +class Geom_Plane; +class gp_Lin; +class gp_Circ; +class gp_Elips; + +DEFINE_STANDARD_HANDLE(PrsDim_MidPointRelation, PrsDim_Relation) + +//! presentation of equal distance to point myMidPoint +class PrsDim_MidPointRelation : public PrsDim_Relation +{ + DEFINE_STANDARD_RTTIEXT(PrsDim_MidPointRelation, PrsDim_Relation) +public: + Standard_EXPORT PrsDim_MidPointRelation(const TopoDS_Shape& aSymmTool, + const TopoDS_Shape& FirstShape, + const TopoDS_Shape& SecondShape, + const Handle(Geom_Plane)& aPlane); + + virtual Standard_Boolean IsMovable() const Standard_OVERRIDE { return Standard_True; } + + void SetTool(const TopoDS_Shape& aMidPointTool) { myTool = aMidPointTool; } + + const TopoDS_Shape& GetTool() const { return myTool; } + +private: + Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager)& thePrsMgr, + const Handle(Prs3d_Presentation)& thePrs, + const Standard_Integer theMode) Standard_OVERRIDE; + + Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& theSel, + const Standard_Integer theMode) Standard_OVERRIDE; + + Standard_EXPORT void ComputeFaceFromPnt(const Handle(Prs3d_Presentation)& aprs, + const Standard_Boolean first); + + Standard_EXPORT void ComputeEdgeFromPnt(const Handle(Prs3d_Presentation)& aprs, + const Standard_Boolean first); + + Standard_EXPORT void ComputeVertexFromPnt(const Handle(Prs3d_Presentation)& aprs, + const Standard_Boolean first); + + Standard_EXPORT void ComputePointsOnLine(const gp_Lin& aLin, const Standard_Boolean first); + + Standard_EXPORT void ComputePointsOnLine(const gp_Pnt& pnt1, + const gp_Pnt& pnt2, + const Standard_Boolean first); + + Standard_EXPORT void ComputePointsOnCirc(const gp_Circ& aCirc, + const gp_Pnt& pnt1, + const gp_Pnt& pnt2, + const Standard_Boolean first); + + //! ComputePointsOn... methods set myFAttach, myFirstPnt and myLastPnt + //! from the following initial data: curve, end points, myMidPoint. + //! End points (pnt1 & pnt2) and curve define the trimmed curve. + //! If end points are equal, curve is not trimmed (line - special case). + //! + //! .------. pnt2 + //! / + //! . circle . myLastPnt + //! | | + //! . pnt1 . myFAttach + //! \ arc / . myMidPoint + //! .______. myFirstPnt + Standard_EXPORT void ComputePointsOnElips(const gp_Elips& anEll, + const gp_Pnt& pnt1, + const gp_Pnt& pnt2, + const Standard_Boolean first); + +private: + TopoDS_Shape myTool; + gp_Pnt myMidPoint; + gp_Pnt myFAttach; + gp_Pnt myFirstPnt1; + gp_Pnt myFirstPnt2; + gp_Pnt mySAttach; + gp_Pnt mySecondPnt1; + gp_Pnt mySecondPnt2; +}; + +#endif // _AIS_MidPointRelation_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Quantity_Date.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Quantity_Date.hxx new file mode 100644 index 0000000000000000000000000000000000000000..150b0b9533db2558af683390e8c537bc04bcddd4 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Quantity_Date.hxx @@ -0,0 +1,201 @@ +// Created on: 1993-01-04 +// Created by: J.P. BOUDIER - J.P. TIRAULT +// 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 _Quantity_Date_HeaderFile +#define _Quantity_Date_HeaderFile + +#include +#include +#include + +#include +class Quantity_Period; + +//! This class provides services to manage date information. +//! A date represents the following time intervals: +//! year, month, day, hour, minute, second, +//! millisecond and microsecond. +//! Current time is expressed in elapsed seconds +//! and microseconds beginning from 00:00 GMT, +//! January 1, 1979 (zero hour). The valid date can +//! only be later than this one. +//! Note: a Period object gives the interval between two dates. +class Quantity_Date +{ +public: + DEFINE_STANDARD_ALLOC + + //! Constructs a default date + //! (00:00 GMT, January 1, 1979 (zero hour)); use the function + //! SetValues to define the required date; or + Standard_EXPORT Quantity_Date(); + + //! Constructs a date from the year yyyy, the + //! month mm, the day dd, the hour hh, the minute + //! mn, the second ss, the millisecond mis + //! (defaulted to 0) and the microsecond mics (defaulted to 0).. + //! With: 1 <= mm <= 12 + //! 1 <= dd <= max number of days of + //! 1979 <= yyyy + //! 0 <= hh <= 23 + //! 0 <= mn <= 59 + //! 0 <= ss <= 59 + //! 0 <= mis <= 999 + //! 0 <= mics <= 999 + //! Exceptions + //! Quantity_DateDefinitionError if mm, dd, hh, + //! mn, ss, mis and mics are not the components of the valid date. + Standard_EXPORT Quantity_Date(const Standard_Integer mm, + const Standard_Integer dd, + const Standard_Integer yyyy, + const Standard_Integer hh, + const Standard_Integer mn, + const Standard_Integer ss, + const Standard_Integer mis = 0, + const Standard_Integer mics = 0); + + //! Gets a complete Date. + //! - in mm - the month, + //! - in dd - the day, + //! - in yyyy - the year, + //! - in hh - the hour, + //! - in mn - the minute, + //! - in ss - the second, + //! - in mis - the millisecond, and + //! - in mics - the microsecond + Standard_EXPORT void Values(Standard_Integer& mm, + Standard_Integer& dd, + Standard_Integer& yy, + Standard_Integer& hh, + Standard_Integer& mn, + Standard_Integer& ss, + Standard_Integer& mis, + Standard_Integer& mics) const; + + //! Assigns to this date the year yyyy, the month + //! mm, the day dd, the hour hh, the minute mn, the + //! second ss, the millisecond mis (defaulted to 0) + //! and the microsecond mics (defaulted to 0). + //! Exceptions + //! Quantity_DateDefinitionError if mm, dd, hh, + //! mn, ss, mis and mics are not components of a valid date. + Standard_EXPORT void SetValues(const Standard_Integer mm, + const Standard_Integer dd, + const Standard_Integer yy, + const Standard_Integer hh, + const Standard_Integer mn, + const Standard_Integer ss, + const Standard_Integer mis = 0, + const Standard_Integer mics = 0); + + //! Subtracts one Date from another one to find the period + //! between and returns the value. + //! The result is the absolute value between the difference + //! of two dates. + Standard_EXPORT Quantity_Period Difference(const Quantity_Date& anOther); + + //! Subtracts a period from a Date and returns the new Date. + //! Raises an exception if the result date is anterior to + //! Jan 1, 1979. + Standard_EXPORT Quantity_Date Subtract(const Quantity_Period& aPeriod); + + Quantity_Date operator-(const Quantity_Period& aPeriod) { return Subtract(aPeriod); } + + //! Adds a Period to a Date and returns the new Date. + Standard_EXPORT Quantity_Date Add(const Quantity_Period& aPeriod); + + Quantity_Date operator+(const Quantity_Period& aPeriod) { return Add(aPeriod); } + + //! Returns year of a Date. + Standard_EXPORT Standard_Integer Year(); + + //! Returns month of a Date. + Standard_EXPORT Standard_Integer Month(); + + //! Returns Day of a Date. + Standard_EXPORT Standard_Integer Day(); + + //! Returns Hour of a Date. + Standard_EXPORT Standard_Integer Hour(); + + //! Returns minute of a Date. + Standard_EXPORT Standard_Integer Minute(); + + //! Returns seconde of a Date. + Standard_EXPORT Standard_Integer Second(); + + //! Returns millisecond of a Date. + Standard_EXPORT Standard_Integer MilliSecond(); + + //! Returns microsecond of a Date. + Standard_EXPORT Standard_Integer MicroSecond(); + + //! Returns TRUE if both and are equal. + //! This method is an alias of operator ==. + Standard_EXPORT Standard_Boolean IsEqual(const Quantity_Date& anOther) const; + + Standard_Boolean operator==(const Quantity_Date& anOther) const { return IsEqual(anOther); } + + //! Returns TRUE if is earlier than . + Standard_EXPORT Standard_Boolean IsEarlier(const Quantity_Date& anOther) const; + + Standard_Boolean operator<(const Quantity_Date& anOther) const { return IsEarlier(anOther); } + + //! Returns TRUE if is later then . + Standard_EXPORT Standard_Boolean IsLater(const Quantity_Date& anOther) const; + + Standard_Boolean operator>(const Quantity_Date& anOther) const { return IsLater(anOther); } + + //! Checks the validity of a date - returns true if a + //! date defined from the year yyyy, the month mm, + //! the day dd, the hour hh, the minute mn, the + //! second ss, the millisecond mis (defaulted to 0) + //! and the microsecond mics (defaulted to 0) is valid. + //! A date must satisfy the conditions above: + //! - yyyy is greater than or equal to 1979, + //! - mm lies within the range [1, 12] (with 1 + //! corresponding to January and 12 to December), + //! - dd lies within a valid range for the month mm + //! (from 1 to 28, 29, 30 or 31 depending on + //! mm and whether yyyy is a leap year or not), + //! - hh lies within the range [0, 23], + //! - mn lies within the range [0, 59], + //! - ss lies within the range [0, 59], + //! - mis lies within the range [0, 999], + //! - mics lies within the range [0, 999].C + Standard_EXPORT static Standard_Boolean IsValid(const Standard_Integer mm, + const Standard_Integer dd, + const Standard_Integer yy, + const Standard_Integer hh, + const Standard_Integer mn, + const Standard_Integer ss, + const Standard_Integer mis = 0, + const Standard_Integer mics = 0); + + //! Returns true if a year is a leap year. + //! The leap years are divisible by 4 and not by 100 except + //! the years divisible by 400. + static Standard_Boolean IsLeap(const Standard_Integer yy) + { + return ((yy % 4 == 0) && (yy % 100 != 0)) || (yy % 400) == 0; + } + +private: + Standard_Integer mySec; + Standard_Integer myUSec; +}; + +#endif // _Quantity_Date_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Quantity_DateDefinitionError.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Quantity_DateDefinitionError.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ce93afe6452a7c023973635355783f8e16c60dad --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Quantity_DateDefinitionError.hxx @@ -0,0 +1,37 @@ +// Created on: 1994-02-08 +// Created by: Gilles DEBARBOUILLE +// 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. + +#ifndef _Quantity_DateDefinitionError_HeaderFile +#define _Quantity_DateDefinitionError_HeaderFile + +#include +#include +#include + +class Quantity_DateDefinitionError; +DEFINE_STANDARD_HANDLE(Quantity_DateDefinitionError, Standard_DomainError) + +#if !defined No_Exception && !defined No_Quantity_DateDefinitionError + #define Quantity_DateDefinitionError_Raise_if(CONDITION, MESSAGE) \ + if (CONDITION) \ + throw Quantity_DateDefinitionError(MESSAGE); +#else + #define Quantity_DateDefinitionError_Raise_if(CONDITION, MESSAGE) +#endif + +DEFINE_STANDARD_EXCEPTION(Quantity_DateDefinitionError, Standard_DomainError) + +#endif // _Quantity_DateDefinitionError_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWHeaderSection_RWFileName.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWHeaderSection_RWFileName.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e73ca6043222b7e70593ee67366941383f46ecc8 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWHeaderSection_RWFileName.hxx @@ -0,0 +1,50 @@ +// Created on: 1994-06-16 +// Created by: EXPRESS->CDL V0.2 Translator +// 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. + +#ifndef _RWHeaderSection_RWFileName_HeaderFile +#define _RWHeaderSection_RWFileName_HeaderFile + +#include +#include +#include + +#include +class StepData_StepReaderData; +class Interface_Check; +class HeaderSection_FileName; +class StepData_StepWriter; + +//! Read & Write Module for FileName +class RWHeaderSection_RWFileName +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT RWHeaderSection_RWFileName(); + + Standard_EXPORT void ReadStep(const Handle(StepData_StepReaderData)& data, + const Standard_Integer num, + Handle(Interface_Check)& ach, + const Handle(HeaderSection_FileName)& ent) const; + + Standard_EXPORT void WriteStep(StepData_StepWriter& SW, + const Handle(HeaderSection_FileName)& ent) const; + +protected: +private: +}; + +#endif // _RWHeaderSection_RWFileName_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWMesh_FaceIterator.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWMesh_FaceIterator.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ebd98f728ecff029833ba79e78e41e6f8fe297ae --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWMesh_FaceIterator.hxx @@ -0,0 +1,188 @@ +// Copyright (c) 2017-2019 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 _RWMesh_FaceIterator_HeaderFile +#define _RWMesh_FaceIterator_HeaderFile + +#include + +#include +#include +#include + +#include + +class TDF_Label; + +//! Auxiliary class to iterate through triangulated faces. +//! Class is designed to provide an interface for iterating over the faces +//! of a shape, specifically focusing on triangulated faces. +//! It inherits from the `RWMesh_ShapeIterator` base class and +//! extends its functionality to handle faces with triangulation data. +class RWMesh_FaceIterator : public RWMesh_ShapeIterator +{ +public: + //! Main constructor. + //! @param[in] theLabel Label containing the face data + //! @param[in] theLocation Location of the face + //! @param[in] theToMapColors Flag to indicate if colors should be mapped + //! @param[in] theStyle Style information for the face + Standard_EXPORT RWMesh_FaceIterator(const TDF_Label& theLabel, + const TopLoc_Location& theLocation, + const Standard_Boolean theToMapColors = false, + const XCAFPrs_Style& theStyle = XCAFPrs_Style()); + + //! Auxiliary constructor. + //! @param[in] theShape Shape containing the face data + //! @param[in] theStyle Style information for the face + Standard_EXPORT RWMesh_FaceIterator(const TopoDS_Shape& theShape, + const XCAFPrs_Style& theStyle = XCAFPrs_Style()); + + //! Return true if iterator points to the valid triangulation. + bool More() const Standard_OVERRIDE { return !myPolyTriang.IsNull(); } + + //! Find next value. + Standard_EXPORT void Next() Standard_OVERRIDE; + + //! Return current face. + const TopoDS_Face& Face() const { return myFace; } + + //! Return current face. + const TopoDS_Shape& Shape() const Standard_OVERRIDE { return myFace; } + + //! Return current face triangulation. + const Handle(Poly_Triangulation)& Triangulation() const { return myPolyTriang; } + + //! Return true if mesh data is defined. + bool IsEmptyMesh() const { return IsEmpty(); } + + //! Return true if mesh data is defined. + bool IsEmpty() const Standard_OVERRIDE + { + return myPolyTriang.IsNull() + || (myPolyTriang->NbNodes() < 1 && myPolyTriang->NbTriangles() < 1); + } + +public: + //! Return face material. + const XCAFPrs_Style& FaceStyle() const { return myStyle; } + + //! Return TRUE if face color is set. + bool HasFaceColor() const { return myHasColor; } + + //! Return face color. + const Quantity_ColorRGBA& FaceColor() const { return myColor; } + +public: + //! Return number of elements of specific type for the current face. + Standard_Integer NbTriangles() const { return myPolyTriang->NbTriangles(); } + + //! Lower element index in current triangulation. + Standard_Integer ElemLower() const Standard_OVERRIDE { return 1; } + + //! Upper element index in current triangulation. + Standard_Integer ElemUpper() const Standard_OVERRIDE { return myPolyTriang->NbTriangles(); } + + //! Return triangle with specified index with applied Face orientation. + Poly_Triangle TriangleOriented(Standard_Integer theElemIndex) const + { + Poly_Triangle aTri = triangle(theElemIndex); + if ((myFace.Orientation() == TopAbs_REVERSED) ^ myIsMirrored) + { + return Poly_Triangle(aTri.Value(1), aTri.Value(3), aTri.Value(2)); + } + return aTri; + } + +public: + //! Return true if triangulation has defined normals. + bool HasNormals() const { return myHasNormals; } + + //! Return true if triangulation has defined normals. + bool HasTexCoords() const { return !myPolyTriang.IsNull() && myPolyTriang->HasUVNodes(); } + + //! Return normal at specified node index with face transformation applied and face orientation + //! applied. + gp_Dir NormalTransformed(Standard_Integer theNode) const + { + gp_Dir aNorm = normal(theNode); + if (myTrsf.Form() != gp_Identity) + { + aNorm.Transform(myTrsf); + } + if (myFace.Orientation() == TopAbs_REVERSED) + { + aNorm.Reverse(); + } + return aNorm; + } + + //! Return number of nodes for the current face. + Standard_Integer NbNodes() const Standard_OVERRIDE + { + return !myPolyTriang.IsNull() ? myPolyTriang->NbNodes() : 0; + } + + //! Lower node index in current triangulation. + Standard_Integer NodeLower() const Standard_OVERRIDE { return 1; } + + //! Upper node index in current triangulation. + Standard_Integer NodeUpper() const Standard_OVERRIDE { return myPolyTriang->NbNodes(); } + + //! Return texture coordinates for the node. + gp_Pnt2d NodeTexCoord(const Standard_Integer theNode) const + { + return myPolyTriang->HasUVNodes() ? myPolyTriang->UVNode(theNode) : gp_Pnt2d(); + } + +public: + //! Return the node with specified index with applied transformation. + gp_Pnt node(const Standard_Integer theNode) const Standard_OVERRIDE + { + return myPolyTriang->Node(theNode); + } + + //! Return normal at specified node index without face transformation applied. + Standard_EXPORT gp_Dir normal(Standard_Integer theNode) const; + + //! Return triangle with specified index. + Poly_Triangle triangle(Standard_Integer theElemIndex) const + { + return myPolyTriang->Triangle(theElemIndex); + } + +private: + //! Reset information for current face. + void resetFace() + { + myPolyTriang.Nullify(); + myFace.Nullify(); + myHasNormals = false; + resetShape(); + } + + //! Initialize face properties. + void initFace(); + +private: + // clang-format off + TopoDS_Face myFace; //!< current face + Handle(Poly_Triangulation) myPolyTriang; //!< triangulation of current face + mutable BRepLProp_SLProps mySLTool; //!< auxiliary tool for fetching normals from surface + BRepAdaptor_Surface myFaceAdaptor; //!< surface adaptor for fetching normals from surface + Standard_Boolean myHasNormals; //!< flag indicating that current face has normals + Standard_Boolean myIsMirrored; //!< flag indicating that face triangles should be mirrored + // clang-format on +}; + +#endif // _RWMesh_FaceIterator_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWMesh_ShapeIterator.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWMesh_ShapeIterator.hxx new file mode 100644 index 0000000000000000000000000000000000000000..3f1735a7d1ddb465142db86bffd58ba6cd9a2c4d --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWMesh_ShapeIterator.hxx @@ -0,0 +1,133 @@ +// Copyright (c) 2025 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 _RWMesh_ShapeIterator_HeaderFile +#define _RWMesh_ShapeIterator_HeaderFile + +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +class TDF_Label; + +//! This is a virtual base class for other shape iterators. +//! Provides an abstract interface for iterating over the elements of a shape. +//! It defines a set of pure virtual methods that must be implemented by +//! derived classes to handle specific types of shapes and their elements. +class RWMesh_ShapeIterator +{ +public: + //! Return explored shape. + const TopoDS_Shape& ExploredShape() const { return myIter.ExploredShape(); } + + //! Return shape. + Standard_EXPORT virtual const TopoDS_Shape& Shape() const = 0; + + //! Return true if iterator points to the valid triangulation. + Standard_EXPORT virtual bool More() const = 0; + + //! Find next value. + Standard_EXPORT virtual void Next() = 0; + + //! Return true if mesh data is defined. + Standard_EXPORT virtual bool IsEmpty() const = 0; + + //! Return shape material. + const XCAFPrs_Style& Style() const { return myStyle; } + + //! Return TRUE if shape color is set. + bool HasColor() const { return myHasColor; } + + //! Return shape color. + const Quantity_ColorRGBA& Color() const { return myColor; } + + //! Lower element index in current triangulation. + Standard_EXPORT virtual Standard_Integer ElemLower() const = 0; + + //! Upper element index in current triangulation. + Standard_EXPORT virtual Standard_Integer ElemUpper() const = 0; + + //! Return number of nodes for the current shape. + Standard_EXPORT virtual Standard_Integer NbNodes() const = 0; + + //! Lower node index in current shape. + Standard_EXPORT virtual Standard_Integer NodeLower() const = 0; + + //! Upper node index in current shape. + Standard_EXPORT virtual Standard_Integer NodeUpper() const = 0; + + //! Return the node with specified index with applied transformation. + gp_Pnt NodeTransformed(const Standard_Integer theNode) const + { + gp_Pnt aNode = node(theNode); + aNode.Transform(myTrsf); + return aNode; + } + +protected: + //! Return the node with specified index with applied transformation. + virtual gp_Pnt node(const Standard_Integer theNode) const = 0; + + //! Main constructor. + RWMesh_ShapeIterator(const TDF_Label& theLabel, + const TopLoc_Location& theLocation, + const TopAbs_ShapeEnum theShapeTypeFind, + const TopAbs_ShapeEnum theShapeTypeAvoid, + const Standard_Boolean theToMapColors = false, + const XCAFPrs_Style& theStyle = XCAFPrs_Style()); + + //! Auxiliary constructor. + RWMesh_ShapeIterator(const TopoDS_Shape& theShape, + const TopAbs_ShapeEnum theShapeTypeFind, + const TopAbs_ShapeEnum theShapeTypeAvoid, + const XCAFPrs_Style& theStyle = XCAFPrs_Style()); + + //! Dispatch shape styles. + void dispatchStyles(const TDF_Label& theLabel, + const TopLoc_Location& theLocation, + const XCAFPrs_Style& theStyle); + + //! Reset information for current shape. + void resetShape() + { + myHasColor = false; + myColor = Quantity_ColorRGBA(); + myStyle = XCAFPrs_Style(); + } + + //! Initialize shape properties. + void initShape(); + +protected: + NCollection_DataMap + myStyles; //!< Shape -> Style map + XCAFPrs_Style myDefStyle; //!< default style for shapes without dedicated style + Standard_Boolean myToMapColors; //!< flag to dispatch styles + + TopExp_Explorer myIter; //!< shape explorer + TopLoc_Location myLocation; //!< current shape location + gp_Trsf myTrsf; //!< current shape transformation + XCAFPrs_Style myStyle; //!< current shape style + Quantity_ColorRGBA myColor; //!< current shape color + TopAbs_ShapeEnum myShapeType; //!< type of shape + Standard_Boolean myHasColor; //!< flag indicating that current shape has assigned color +}; + +#endif // _RWMesh_ShapeIterator_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWObj_CafWriter.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWObj_CafWriter.hxx new file mode 100644 index 0000000000000000000000000000000000000000..40609a0e4d6a552305f395b9fde675c537154786 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/RWObj_CafWriter.hxx @@ -0,0 +1,168 @@ +// Copyright (c) 2015-2021 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 _RWObj_CafWriter_HeaderFiler +#define _RWObj_CafWriter_HeaderFiler + +#include +#include +#include +#include +#include +#include + +#include + +class Message_ProgressRange; +class RWMesh_FaceIterator; +class TDocStd_Document; + +class Message_LazyProgressScope; +class RWObj_ObjWriterContext; +class RWObj_ObjMaterialMap; + +//! OBJ writer context from XCAF document. +class RWObj_CafWriter : public Standard_Transient +{ + DEFINE_STANDARD_RTTIEXT(RWObj_CafWriter, Standard_Transient) +public: + //! Main constructor. + //! @param[in] theFile path to output OBJ file + Standard_EXPORT RWObj_CafWriter(const TCollection_AsciiString& theFile); + + //! Destructor. + Standard_EXPORT virtual ~RWObj_CafWriter(); + + //! Return transformation from OCCT to OBJ coordinate system. + const RWMesh_CoordinateSystemConverter& CoordinateSystemConverter() const { return myCSTrsf; } + + //! Return transformation from OCCT to OBJ coordinate system. + RWMesh_CoordinateSystemConverter& ChangeCoordinateSystemConverter() { return myCSTrsf; } + + //! Set transformation from OCCT to OBJ coordinate system. + void SetCoordinateSystemConverter(const RWMesh_CoordinateSystemConverter& theConverter) + { + myCSTrsf = theConverter; + } + + //! Return default material definition to be used for nodes with only color defined. + const XCAFPrs_Style& DefaultStyle() const { return myDefaultStyle; } + + //! Set default material definition to be used for nodes with only color defined. + void SetDefaultStyle(const XCAFPrs_Style& theStyle) { myDefaultStyle = theStyle; } + + //! Write OBJ file and associated MTL material file. + //! Triangulation data should be precomputed within shapes! + //! @param[in] theDocument input document + //! @param[in] theRootLabels list of root shapes to export + //! @param[in] theLabelFilter optional filter with document nodes to export, + //! with keys defined by XCAFPrs_DocumentExplorer::DefineChildId() and + //! filled recursively (leaves and parent assembly nodes at all + //! levels); when not NULL, all nodes not included into the map will be + //! ignored + //! @param[in] theFileInfo map with file metadata to put into OBJ header section + //! @param[in] theProgress optional progress indicator + //! @return FALSE on file writing failure + Standard_EXPORT virtual bool Perform(const Handle(TDocStd_Document)& theDocument, + const TDF_LabelSequence& theRootLabels, + const TColStd_MapOfAsciiString* theLabelFilter, + const TColStd_IndexedDataMapOfStringString& theFileInfo, + const Message_ProgressRange& theProgress); + + //! Write OBJ file and associated MTL material file. + //! Triangulation data should be precomputed within shapes! + //! @param[in] theDocument input document + //! @param[in] theFileInfo map with file metadata to put into glTF header section + //! @param[in] theProgress optional progress indicator + //! @return FALSE on file writing failure + Standard_EXPORT virtual bool Perform(const Handle(TDocStd_Document)& theDocument, + const TColStd_IndexedDataMapOfStringString& theFileInfo, + const Message_ProgressRange& theProgress); + +protected: + //! Return TRUE if face mesh should be skipped (e.g. because it is invalid or empty). + Standard_EXPORT virtual Standard_Boolean toSkipFaceMesh(const RWMesh_FaceIterator& theFaceIter); + + //! Collect face triangulation info. + //! @param[in] theFace face to process + //! @param[in][out] theNbNodes overall number of triangulation nodes (should be appended) + //! @param[in][out] theNbElems overall number of triangulation elements (should be appended) + //! @param[in][out] theNbProgressSteps overall number of progress steps (should be appended) + //! @param[in][out] theToCreateMatFile flag to create material file or not (should be appended) + Standard_EXPORT virtual void addFaceInfo(const RWMesh_FaceIterator& theFace, + Standard_Integer& theNbNodes, + Standard_Integer& theNbElems, + Standard_Real& theNbProgressSteps, + Standard_Boolean& theToCreateMatFile); + + //! Write the shape. + //! @param[in] theWriter OBJ writer context + //! @param[in] theMatMgr OBJ material map + //! @param[in] thePSentry progress sentry + //! @param[in] theLabel document label to process + //! @param[in] theParentTrsf parent node transformation + //! @param[in] theParentStyle parent node style + //! @param[in] theName node name + Standard_EXPORT virtual bool writeShape(RWObj_ObjWriterContext& theWriter, + RWObj_ObjMaterialMap& theMatMgr, + Message_LazyProgressScope& thePSentry, + const TDF_Label& theLabel, + const TopLoc_Location& theParentTrsf, + const XCAFPrs_Style& theParentStyle, + const TCollection_AsciiString& theName); + + //! Write face triangle vertex positions. + //! @param[in] theWriter OBJ writer context + //! @param[in] thePSentry progress sentry + //! @param[in] theFace current face + //! @return FALSE on writing file error + Standard_EXPORT virtual bool writePositions(RWObj_ObjWriterContext& theWriter, + Message_LazyProgressScope& thePSentry, + const RWMesh_FaceIterator& theFace); + + //! Write face triangle vertex normals. + //! @param[in] theWriter OBJ writer context + //! @param[in] thePSentry progress sentry + //! @param[in] theFace current face + //! @return FALSE on writing file error + Standard_EXPORT virtual bool writeNormals(RWObj_ObjWriterContext& theWriter, + Message_LazyProgressScope& thePSentry, + const RWMesh_FaceIterator& theFace); + + //! Write face triangle vertex texture coordinates. + //! @param[in] theWriter OBJ writer context + //! @param[in] thePSentry progress sentry + //! @param[in] theFace current face + //! @return FALSE on writing file error + Standard_EXPORT virtual bool writeTextCoords(RWObj_ObjWriterContext& theWriter, + Message_LazyProgressScope& thePSentry, + const RWMesh_FaceIterator& theFace); + + //! Write face triangles indices. + //! @param[in] theWriter OBJ writer context + //! @param[in] thePSentry progress sentry + //! @param[in] theFace current face + //! @return FALSE on writing file error + Standard_EXPORT virtual bool writeIndices(RWObj_ObjWriterContext& theWriter, + Message_LazyProgressScope& thePSentry, + const RWMesh_FaceIterator& theFace); + +protected: + TCollection_AsciiString myFile; //!< output OBJ file + // clang-format off + RWMesh_CoordinateSystemConverter myCSTrsf; //!< transformation from OCCT to OBJ coordinate system + XCAFPrs_Style myDefaultStyle; //!< default material definition to be used for nodes with only color defined + // clang-format on +}; + +#endif // _RWObj_CafWriter_HeaderFiler diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Select3D_SensitiveSphere.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Select3D_SensitiveSphere.hxx new file mode 100644 index 0000000000000000000000000000000000000000..de446abdcfc388285ae630fce53fedb86b01337b --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Select3D_SensitiveSphere.hxx @@ -0,0 +1,72 @@ +// Created on: 2021-03-04 +// Created by: Maria KRYLOVA +// Copyright (c) 2021 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 _Select3D_SensitiveSphere_HeaderFile +#define _Select3D_SensitiveSphere_HeaderFile + +#include + +//! A framework to define selection by a sensitive sphere. +class Select3D_SensitiveSphere : public Select3D_SensitiveEntity +{ + DEFINE_STANDARD_RTTIEXT(Select3D_SensitiveSphere, Select3D_SensitiveEntity) +public: + //! Constructs a sensitive sphere object defined by the owner theOwnerId, + //! the center of the sphere and it's radius. + Standard_EXPORT Select3D_SensitiveSphere(const Handle(SelectMgr_EntityOwner)& theOwnerId, + const gp_Pnt& theCenter, + const Standard_Real theRadius); + + //! Returns the radius of the sphere + Standard_Real Radius() const { return myRadius; } + +public: + //! Checks whether the sphere overlaps current selecting volume + Standard_EXPORT virtual Standard_Boolean Matches(SelectBasics_SelectingVolumeManager& theMgr, + SelectBasics_PickResult& thePickResult) + Standard_OVERRIDE; + + //! Returns the copy of this + Standard_EXPORT virtual Handle(Select3D_SensitiveEntity) GetConnected() Standard_OVERRIDE; + + //! Returns bounding box of the sphere. + //! If location transformation is set, it will be applied + Standard_EXPORT virtual Select3D_BndBox3d BoundingBox() Standard_OVERRIDE; + + //! Always returns Standard_False + virtual Standard_Boolean ToBuildBVH() const Standard_OVERRIDE { return Standard_False; } + + //! Returns the amount of points + virtual Standard_Integer NbSubElements() const Standard_OVERRIDE { return 1; } + + //! Returns center of the sphere with transformation applied + virtual gp_Pnt CenterOfGeometry() const Standard_OVERRIDE { return myCenter; }; + + //! Returns the position of detected point on the sphere. + const gp_Pnt& LastDetectedPoint() const { return myLastDetectedPoint; } + + //! Invalidate the position of detected point on the sphere. + void ResetLastDetectedPoint() + { + myLastDetectedPoint = gp_Pnt(RealLast(), RealLast(), RealLast()); + } + +protected: + gp_Pnt myCenter; + gp_Pnt myLastDetectedPoint; + Standard_Real myRadius; +}; + +#endif // _Select3D_SensitiveSphere_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Select3D_TypeOfSensitivity.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Select3D_TypeOfSensitivity.hxx new file mode 100644 index 0000000000000000000000000000000000000000..1380f91533d43899bb111d5be8f64835b9a0800f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Select3D_TypeOfSensitivity.hxx @@ -0,0 +1,26 @@ +// Copyright (c) 2015 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 _Select3D_TypeOfSensitivity_HeaderFile +#define _Select3D_TypeOfSensitivity_HeaderFile + +//! Provides values for type of sensitivity in 3D. +//! These are used to specify whether it is the interior, +//! the boundary, or the exterior of a 3D sensitive entity which is sensitive. +enum Select3D_TypeOfSensitivity +{ + Select3D_TOS_INTERIOR, + Select3D_TOS_BOUNDARY +}; + +#endif // _Select3D_TypeOfSensitivity_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/SelectMgr_EntityOwner.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/SelectMgr_EntityOwner.hxx new file mode 100644 index 0000000000000000000000000000000000000000..a18174472c111ed462cdce0cc9fb8dcd9e7d4b73 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/SelectMgr_EntityOwner.hxx @@ -0,0 +1,238 @@ +// Created on: 1995-05-23 +// Created by: Robert COUBLANC +// Copyright (c) 1995-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 _SelectMgr_EntityOwner_HeaderFile +#define _SelectMgr_EntityOwner_HeaderFile + +#include +#include +#include +#include +#include + +class V3d_Viewer; + +//! A framework to define classes of owners of sensitive primitives. +//! The owner is the link between application and selection data structures. +//! For the application to make its own objects selectable, it must define owner classes inheriting +//! this framework. +class SelectMgr_EntityOwner : public Standard_Transient +{ + DEFINE_STANDARD_RTTIEXT(SelectMgr_EntityOwner, Standard_Transient) +public: + //! Initializes the selection priority aPriority. + Standard_EXPORT SelectMgr_EntityOwner(const Standard_Integer aPriority = 0); + + //! Constructs a framework with the selectable object + //! anSO being attributed the selection priority aPriority. + Standard_EXPORT SelectMgr_EntityOwner(const Handle(SelectMgr_SelectableObject)& aSO, + const Standard_Integer aPriority = 0); + + //! Constructs a framework from existing one + //! anSO being attributed the selection priority aPriority. + Standard_EXPORT SelectMgr_EntityOwner(const Handle(SelectMgr_EntityOwner)& theOwner, + const Standard_Integer aPriority = 0); + + //! Return selection priority (within range [0-9]) for results with the same depth; 0 by default. + //! Example - selection of shapes: + //! the owners are selectable objects (presentations) a user can give vertex priority [3], edges + //! [2] faces [1] shape [0], so that if during selection one vertex one edge and one face are + //! simultaneously detected, the vertex will only be hilighted. + Standard_Integer Priority() const { return mypriority; } + + //! Sets the selectable priority of the owner within range [0-9]. + void SetPriority(Standard_Integer thePriority) { mypriority = thePriority; } + + //! Returns true if there is a selectable object to serve as an owner. + Standard_Boolean HasSelectable() const { return mySelectable != NULL; } + + //! Returns a selectable object detected in the working context. + virtual Handle(SelectMgr_SelectableObject) Selectable() const { return mySelectable; } + + //! Sets the selectable object. + virtual void SetSelectable(const Handle(SelectMgr_SelectableObject)& theSelObj) + { + mySelectable = theSelObj.get(); + } + + //! Handle mouse button click event. + //! Does nothing by default and returns FALSE. + //! @param thePoint mouse cursor position + //! @param theButton clicked button + //! @param theModifiers key modifiers + //! @param theIsDoubleClick flag indicating double mouse click + //! @return TRUE if object handled click + virtual Standard_Boolean HandleMouseClick(const Graphic3d_Vec2i& thePoint, + Aspect_VKeyMouse theButton, + Aspect_VKeyFlags theModifiers, + bool theIsDoubleClick) + { + (void)thePoint; + (void)theButton; + (void)theModifiers; + (void)theIsDoubleClick; + return Standard_False; + } + + //! Returns true if the presentation manager highlights selections corresponding to the selection + //! mode. + virtual Standard_Boolean IsHilighted(const Handle(PrsMgr_PresentationManager)& thePrsMgr, + const Standard_Integer theMode = 0) const + { + return mySelectable != NULL && thePrsMgr->IsHighlighted(mySelectable, theMode); + } + + //! Highlights selectable object's presentation with display mode in presentation manager with + //! given highlight style. Also a check for auto-highlight is performed - if selectable object + //! manages highlighting on its own, execution will be passed to + //! SelectMgr_SelectableObject::HilightOwnerWithColor method. + Standard_EXPORT virtual void HilightWithColor(const Handle(PrsMgr_PresentationManager)& thePrsMgr, + const Handle(Prs3d_Drawer)& theStyle, + const Standard_Integer theMode = 0); + + //! Removes highlighting from the owner of a detected selectable object in the presentation + //! manager. This object could be the owner of a sensitive primitive. + //! @param thePrsMgr presentation manager + //! @param theMode obsolete argument for compatibility, should be ignored by implementations + virtual void Unhilight(const Handle(PrsMgr_PresentationManager)& thePrsMgr, + const Standard_Integer theMode = 0) + { + (void)theMode; + if (mySelectable != NULL) + { + thePrsMgr->Unhighlight(mySelectable); + } + } + + //! Clears the owners matching the value of the selection + //! mode aMode from the presentation manager object aPM. + virtual void Clear(const Handle(PrsMgr_PresentationManager)& thePrsMgr, + const Standard_Integer theMode = 0) /// TODO + { + (void)thePrsMgr; + (void)theMode; + } + + //! Returns TRUE if selectable has transformation. + virtual Standard_Boolean HasLocation() const + { + return mySelectable != NULL && mySelectable->HasTransformation(); + } + + //! Returns transformation of selectable. + virtual TopLoc_Location Location() const + { + return mySelectable != NULL && mySelectable->HasTransformation() + ? TopLoc_Location(mySelectable->Transformation()) + : TopLoc_Location(); + } + + //! Change owner location (callback for handling change of location of selectable object). + virtual void SetLocation(const TopLoc_Location& theLocation) { (void)theLocation; } + + //! @return Standard_True if the owner is selected. + Standard_Boolean IsSelected() const { return myIsSelected; } + + //! Set the state of the owner. + //! @param[in] theIsSelected shows if owner is selected. + void SetSelected(const Standard_Boolean theIsSelected) { myIsSelected = theIsSelected; } + + //! If the object needs to be selected, it returns true. + //! @param[in] theSelScheme selection scheme + //! @param[in] theIsDetected flag of object detection + Standard_EXPORT Standard_Boolean Select(const AIS_SelectionScheme theSelScheme, + const Standard_Boolean theIsDetected) const; + + //! Returns selection state. + Standard_DEPRECATED("Deprecated method - IsSelected() should be used instead") + + Standard_Integer State() const { return myIsSelected ? 1 : 0; } + + //! Set the state of the owner. + //! The method is deprecated. Use SetSelected() instead. + void State(const Standard_Integer theStatus) { myIsSelected = (theStatus == 1); } + + //! if owner is not auto hilighted, for group contains many such owners will be called one method + //! HilightSelected of SelectableObject + virtual Standard_Boolean IsAutoHilight() const + { + return mySelectable == NULL || mySelectable->IsAutoHilight(); + } + + //! if this method returns TRUE the owner will always call method Hilight for SelectableObject + //! when the owner is detected. By default it always return FALSE. + virtual Standard_Boolean IsForcedHilight() const { return Standard_False; } + + //! Set Z layer ID and update all presentations. + virtual void SetZLayer(const Graphic3d_ZLayerId theLayerId) { (void)theLayerId; } + + //! Implements immediate application of location transformation of parent object to dynamic + //! highlight structure + virtual void UpdateHighlightTrsf(const Handle(V3d_Viewer)& theViewer, + const Handle(PrsMgr_PresentationManager)& theManager, + const Standard_Integer theDispMode) + { + if (mySelectable != NULL) + { + theManager->UpdateHighlightTrsf(theViewer, mySelectable, theDispMode); + } + } + + //! Returns true if pointer to selectable object of this owner is equal to the given one + Standard_Boolean IsSameSelectable(const Handle(SelectMgr_SelectableObject)& theOther) const + { + return mySelectable == theOther.get(); + } + + //! Returns TRUE if this owner points to a part of object and FALSE for entire object. + Standard_Boolean ComesFromDecomposition() const { return myFromDecomposition; } + + //! Sets flag indicating this owner points to a part of object (TRUE) or to entire object (FALSE). + void SetComesFromDecomposition(const Standard_Boolean theIsFromDecomposition) + { + myFromDecomposition = theIsFromDecomposition; + } + + //! Dumps the content of me into the stream + Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, + Standard_Integer theDepth = -1) const; + +public: + //! Sets the selectable object. + Standard_DEPRECATED("Deprecated method - SetSelectable() should be used instead") + + void Set(const Handle(SelectMgr_SelectableObject)& theSelObj) { SetSelectable(theSelObj); } + + //! sets the selectable priority of the owner + Standard_DEPRECATED("Deprecated method - SetPriority() should be used instead") + + void Set(const Standard_Integer thePriority) { SetPriority(thePriority); } + +protected: + SelectMgr_SelectableObject* mySelectable; //!< raw pointer to selectable object + // clang-format off + Standard_Integer mypriority; //!< selection priority (for result with the same depth) + Standard_Boolean myIsSelected; //!< flag indicating selected state + Standard_Boolean myFromDecomposition; //!< flag indicating this owner points to a part of object (TRUE) or to entire object (FALSE) + // clang-format on +}; + +DEFINE_STANDARD_HANDLE(SelectMgr_EntityOwner, Standard_Transient) + +Standard_DEPRECATED("Deprecated alias - SelectMgr_EntityOwner should be used instead") +typedef SelectMgr_EntityOwner SelectBasics_EntityOwner; + +#endif // _SelectMgr_EntityOwner_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/SelectMgr_ToleranceMap.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/SelectMgr_ToleranceMap.hxx new file mode 100644 index 0000000000000000000000000000000000000000..216fdb490f336d1e9070d49f0daded5b6e7823ab --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/SelectMgr_ToleranceMap.hxx @@ -0,0 +1,68 @@ +// Copyright (c) 2016 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 _SelectMgr_ToleranceMap_HeaderFile +#define _SelectMgr_ToleranceMap_HeaderFile + +#include + +//! An internal class for calculation of current largest tolerance value which will be applied for +//! creation of selecting frustum by default. Each time the selection set is deactivated, maximum +//! tolerance value will be recalculated. If a user enables custom precision using +//! StdSelect_ViewerSelector3d::SetPixelTolerance, it will be applied to all sensitive entities +//! without any checks. +class SelectMgr_ToleranceMap +{ +public: + //! Sets tolerance values to -1.0 + Standard_EXPORT SelectMgr_ToleranceMap(); + + Standard_EXPORT ~SelectMgr_ToleranceMap(); + + //! Adds the value given to map, checks if the current tolerance value + //! should be replaced by theTolerance + Standard_EXPORT void Add(const Standard_Integer& theTolerance); + + //! Decrements a counter of the tolerance given, checks if the current tolerance value + //! should be recalculated + Standard_EXPORT void Decrement(const Standard_Integer& theTolerance); + + //! Returns a current tolerance that must be applied + Standard_Integer Tolerance() const + { + if (myLargestKey < 0) + { + return 2; // default tolerance value + } + return myCustomTolerance < 0 ? myLargestKey : myLargestKey + myCustomTolerance; + } + + //! Sets tolerance to the given one and disables adaptive checks + void SetCustomTolerance(const Standard_Integer theTolerance) { myCustomTolerance = theTolerance; } + + //! Unsets a custom tolerance and enables adaptive checks + void ResetDefaults() { myCustomTolerance = -1; } + + //! Returns the value of custom tolerance regardless of it validity + Standard_Integer CustomTolerance() const { return myCustomTolerance; } + + //! Returns true if custom tolerance value is greater than zero + Standard_Boolean IsCustomTolSet() const { return myCustomTolerance > 0; } + +private: + NCollection_DataMap myTolerances; + Standard_Integer myLargestKey; + Standard_Integer myCustomTolerance; +}; + +#endif // _SelectMgr_ToleranceMap_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeCustom_BSplineRestriction.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeCustom_BSplineRestriction.lxx new file mode 100644 index 0000000000000000000000000000000000000000..9820068c3e776f4b3a63322594e40013ae06b75d --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeCustom_BSplineRestriction.lxx @@ -0,0 +1,175 @@ +// 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. + +//======================================================================= +// function : SetTol3d +// purpose : +//======================================================================= + +inline void ShapeCustom_BSplineRestriction::SetTol3d(const Standard_Real Tol3d) +{ + myTol3d = Tol3d; +} + +//======================================================================= +// function : SetTol2d +// purpose : +//======================================================================= + +inline void ShapeCustom_BSplineRestriction::SetTol2d(const Standard_Real Tol2d) +{ + myTol2d = Tol2d; +} + +//======================================================================= +// function : ModifyApproxSurfaceFlag +// purpose : +//======================================================================= + +inline Standard_Boolean& ShapeCustom_BSplineRestriction::ModifyApproxSurfaceFlag() +{ + + return myApproxSurfaceFlag; +} + +//======================================================================= +// function : ModifyApproxCurve3dFlag +// purpose : +//======================================================================= + +inline Standard_Boolean& ShapeCustom_BSplineRestriction::ModifyApproxCurve3dFlag() +{ + return myApproxCurve3dFlag; +} + +//======================================================================= +// function : ModifyApproxCurve2dFlag +// purpose : +//======================================================================= + +inline Standard_Boolean& ShapeCustom_BSplineRestriction::ModifyApproxCurve2dFlag() +{ + return myApproxCurve2dFlag; +} + +//======================================================================= +// function : SetContinuity3d +// purpose : +//======================================================================= + +inline void ShapeCustom_BSplineRestriction::SetContinuity3d(const GeomAbs_Shape Continuity3d) +{ + myContinuity3d = Continuity3d; +} + +//======================================================================= +// function : SetContinuity2d +// purpose : +//======================================================================= + +inline void ShapeCustom_BSplineRestriction::SetContinuity2d(const GeomAbs_Shape Continuity2d) +{ + myContinuity2d = Continuity2d; +} + +//======================================================================= +// function : SetMaxDegree +// purpose : +//======================================================================= + +inline void ShapeCustom_BSplineRestriction::SetMaxDegree(const Standard_Integer MaxDegree) +{ + myMaxDegree = MaxDegree; +} + +//======================================================================= +// function : SetMaxNbSegments +// purpose : +//======================================================================= + +inline void ShapeCustom_BSplineRestriction::SetMaxNbSegments(const Standard_Integer MaxNbSegments) +{ + myNbMaxSeg = MaxNbSegments; +} + +//======================================================================= +// function : Curve3dError +// purpose : +//======================================================================= + +inline Standard_Real ShapeCustom_BSplineRestriction::Curve3dError() const +{ + return myCurve3dError; +} + +//======================================================================= +// function : Curve2dError +// purpose : +//======================================================================= + +inline Standard_Real ShapeCustom_BSplineRestriction::Curve2dError() const +{ + return myCurve2dError; +} + +//======================================================================= +// function : SurfaceError +// purpose : +//======================================================================= + +inline Standard_Real ShapeCustom_BSplineRestriction::SurfaceError() const +{ + return mySurfaceError; +} + +//======================================================================= +// function : SetPriority +// purpose : +//======================================================================= + +inline void ShapeCustom_BSplineRestriction::SetPriority(const Standard_Boolean Degree) +{ + myDeg = Degree; +} + +//======================================================================= +// function : SetConvRational +// purpose : +//======================================================================= + +inline void ShapeCustom_BSplineRestriction::SetConvRational(const Standard_Boolean Rational) +{ + myRational = Rational; +} + +//======================================================================= +// function : GetRestrictionParameters +// purpose : +//======================================================================= + +inline Handle(ShapeCustom_RestrictionParameters) ShapeCustom_BSplineRestriction:: + GetRestrictionParameters() const +{ + return myParameters; +} + +//======================================================================= +// function : SetRestrictionParameters +// purpose : +//======================================================================= + +inline void ShapeCustom_BSplineRestriction::SetRestrictionParameters( + const Handle(ShapeCustom_RestrictionParameters)& aModes) +{ + myParameters = aModes; +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeCustom_DirectModification.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeCustom_DirectModification.hxx new file mode 100644 index 0000000000000000000000000000000000000000..5457251a928569ab81281b5558fad6d2c39c0fa1 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeCustom_DirectModification.hxx @@ -0,0 +1,125 @@ +// Created on: 1998-06-03 +// Created by: data exchange team +// Copyright (c) 1998-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 _ShapeCustom_DirectModification_HeaderFile +#define _ShapeCustom_DirectModification_HeaderFile + +#include +#include + +#include +#include +class TopoDS_Face; +class Geom_Surface; +class TopLoc_Location; +class TopoDS_Edge; +class Geom_Curve; +class TopoDS_Vertex; +class gp_Pnt; +class Geom2d_Curve; + +class ShapeCustom_DirectModification; +DEFINE_STANDARD_HANDLE(ShapeCustom_DirectModification, ShapeCustom_Modification) + +//! implements a modification for the BRepTools +//! Modifier algorithm. Will redress indirect +//! surfaces. +class ShapeCustom_DirectModification : public ShapeCustom_Modification +{ + +public: + Standard_EXPORT ShapeCustom_DirectModification(); + + //! Returns Standard_True if the face has been + //! modified. In this case, is the new geometric + //! support of the face, the new location, + //! the new tolerance. Otherwise, returns + //! Standard_False, and , , are not + //! significant. + Standard_EXPORT Standard_Boolean NewSurface(const TopoDS_Face& F, + Handle(Geom_Surface)& S, + TopLoc_Location& L, + Standard_Real& Tol, + Standard_Boolean& RevWires, + Standard_Boolean& RevFace) Standard_OVERRIDE; + + //! Returns Standard_True if the edge has been + //! modified. In this case, is the new geometric + //! support of the edge, the new location, + //! the new tolerance. Otherwise, returns + //! Standard_False, and , , are not + //! significant. + Standard_EXPORT Standard_Boolean NewCurve(const TopoDS_Edge& E, + Handle(Geom_Curve)& C, + TopLoc_Location& L, + Standard_Real& Tol) Standard_OVERRIDE; + + //! Returns Standard_True if the vertex has been + //! modified. In this case,

is the new geometric + //! support of the vertex, the new tolerance. + //! Otherwise, returns Standard_False, and

, + //! are not significant. + Standard_EXPORT Standard_Boolean NewPoint(const TopoDS_Vertex& V, + gp_Pnt& P, + Standard_Real& Tol) Standard_OVERRIDE; + + //! Returns Standard_True if the edge has a new + //! curve on surface on the face .In this case, + //! is the new geometric support of the edge, the + //! new location, the new tolerance. + //! + //! Otherwise, returns Standard_False, and , , + //! are not significant. + //! + //! is the new edge created from . + //! is the new face created from . They may be useful. + Standard_EXPORT Standard_Boolean NewCurve2d(const TopoDS_Edge& E, + const TopoDS_Face& F, + const TopoDS_Edge& NewE, + const TopoDS_Face& NewF, + Handle(Geom2d_Curve)& C, + Standard_Real& Tol) Standard_OVERRIDE; + + //! Returns Standard_True if the Vertex has a new + //! parameter on the edge . In this case,

is + //! the parameter, the new tolerance. + //! Otherwise, returns Standard_False, and

, + //! are not significant. + Standard_EXPORT Standard_Boolean NewParameter(const TopoDS_Vertex& V, + const TopoDS_Edge& E, + Standard_Real& P, + Standard_Real& Tol) Standard_OVERRIDE; + + //! Returns the continuity of between + //! and . + //! + //! is the new edge created from . + //! (resp. ) is the new face created from + //! (resp. ). + Standard_EXPORT GeomAbs_Shape Continuity(const TopoDS_Edge& E, + const TopoDS_Face& F1, + const TopoDS_Face& F2, + const TopoDS_Edge& NewE, + const TopoDS_Face& NewF1, + const TopoDS_Face& NewF2) Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(ShapeCustom_DirectModification, ShapeCustom_Modification) + +protected: +private: +}; + +#endif // _ShapeCustom_DirectModification_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeCustom_Surface.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeCustom_Surface.lxx new file mode 100644 index 0000000000000000000000000000000000000000..4861d9c98085b89470b9187a9c1e8fa1b96dae0b --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeCustom_Surface.lxx @@ -0,0 +1,20 @@ +// Created on: 1998-07-09 +// Created by: data exchange team +// Copyright (c) 1998-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. + +inline Standard_Real ShapeCustom_Surface::Gap() const +{ + return myGap; +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeExtend_ComplexCurve.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeExtend_ComplexCurve.hxx new file mode 100644 index 0000000000000000000000000000000000000000..7bf5aeda6115f78e9d4ce6daacf38732859d7bcf --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeExtend_ComplexCurve.hxx @@ -0,0 +1,125 @@ +// Created on: 1999-06-22 +// Created by: Roman LYGIN +// Copyright (c) 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 _ShapeExtend_ComplexCurve_HeaderFile +#define _ShapeExtend_ComplexCurve_HeaderFile + +#include +#include + +#include +#include +#include +class gp_Trsf; +class gp_Pnt; +class gp_Vec; + +class ShapeExtend_ComplexCurve; +DEFINE_STANDARD_HANDLE(ShapeExtend_ComplexCurve, Geom_Curve) + +//! Defines a curve which consists of several segments. +//! Implements basic interface to it. +class ShapeExtend_ComplexCurve : public Geom_Curve +{ + +public: + //! Returns number of curves + Standard_EXPORT virtual Standard_Integer NbCurves() const = 0; + + //! Returns curve given by its index + Standard_EXPORT virtual const Handle(Geom_Curve)& Curve(const Standard_Integer index) const = 0; + + //! Returns number of the curve for the given parameter U + //! and local parameter UOut for the found curve + Standard_EXPORT virtual Standard_Integer LocateParameter(const Standard_Real U, + Standard_Real& UOut) const = 0; + + //! Returns global parameter for the whole curve according + //! to the segment and local parameter on it + Standard_EXPORT virtual Standard_Real LocalToGlobal(const Standard_Integer index, + const Standard_Real Ulocal) const = 0; + + //! Applies transformation to each curve + Standard_EXPORT virtual void Transform(const gp_Trsf& T) Standard_OVERRIDE; + + //! Returns 1 - U + virtual Standard_Real ReversedParameter(const Standard_Real U) const Standard_OVERRIDE; + + //! Returns 0 + virtual Standard_Real FirstParameter() const Standard_OVERRIDE; + + //! Returns 1 + virtual Standard_Real LastParameter() const Standard_OVERRIDE; + + //! Returns True if the curve is closed + virtual Standard_Boolean IsClosed() const Standard_OVERRIDE; + + //! Returns False + virtual Standard_Boolean IsPeriodic() const Standard_OVERRIDE; + + //! Returns GeomAbs_C0 + virtual GeomAbs_Shape Continuity() const Standard_OVERRIDE; + + //! Returns False if N > 0 + virtual Standard_Boolean IsCN(const Standard_Integer N) const Standard_OVERRIDE; + + //! Returns point at parameter U. + //! Finds appropriate curve and local parameter on it. + Standard_EXPORT virtual void D0(const Standard_Real U, gp_Pnt& P) const Standard_OVERRIDE; + + Standard_EXPORT virtual void D1(const Standard_Real U, + gp_Pnt& P, + gp_Vec& V1) const Standard_OVERRIDE; + + Standard_EXPORT virtual void D2(const Standard_Real U, + gp_Pnt& P, + gp_Vec& V1, + gp_Vec& V2) const Standard_OVERRIDE; + + Standard_EXPORT virtual void D3(const Standard_Real U, + gp_Pnt& P, + gp_Vec& V1, + gp_Vec& V2, + gp_Vec& V3) const Standard_OVERRIDE; + + Standard_EXPORT virtual gp_Vec DN(const Standard_Real U, + const Standard_Integer N) const Standard_OVERRIDE; + + //! Returns scale factor for recomputing of deviatives. + Standard_EXPORT virtual Standard_Real GetScaleFactor(const Standard_Integer ind) const = 0; + + //! Checks geometrical connectivity of the curves, including + //! closure (sets fields myClosed) + Standard_EXPORT Standard_Boolean CheckConnectivity(const Standard_Real Preci); + + DEFINE_STANDARD_RTTIEXT(ShapeExtend_ComplexCurve, Geom_Curve) + +protected: + Standard_EXPORT ShapeExtend_ComplexCurve(); + + //! Transform the derivative according to its order + Standard_EXPORT void TransformDN(gp_Vec& V, + const Standard_Integer ind, + const Standard_Integer N) const; + + Standard_Boolean myClosed; + +private: +}; + +#include + +#endif // _ShapeExtend_ComplexCurve_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeExtend_CompositeSurface.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeExtend_CompositeSurface.hxx new file mode 100644 index 0000000000000000000000000000000000000000..064bff9e0f518c8fa4316775c8dfcc3bea7316fb --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeExtend_CompositeSurface.hxx @@ -0,0 +1,357 @@ +// Created on: 1999-04-27 +// Created by: Andrey BETENEV +// Copyright (c) 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 _ShapeExtend_CompositeSurface_HeaderFile +#define _ShapeExtend_CompositeSurface_HeaderFile + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +class gp_Pnt2d; +class gp_Trsf2d; +class gp_Trsf; +class Geom_Geometry; +class Geom_Curve; +class gp_Pnt; +class gp_Vec; + +class ShapeExtend_CompositeSurface; +DEFINE_STANDARD_HANDLE(ShapeExtend_CompositeSurface, Geom_Surface) + +//! Composite surface is represented by a grid of surfaces +//! (patches) connected geometrically. Patches may have different +//! parametrisation ranges, but they should be parametrised in +//! the same manner so that parameter of each patch (u,v) can be converted +//! to global parameter on the whole surface (U,V) with help of linear +//! transformation: +//! +//! for any i,j-th patch +//! U = Ui + ( u - uijmin ) * ( Ui+1 - Ui ) / ( uijmax - uijmin ) +//! V = Vj + ( v - vijmin ) * ( Vj+1 - Vj ) / ( vijmax - vijmin ) +//! +//! where +//! +//! [uijmin, uijmax] * [ vijmin, vijmax] - parametric range of i,j-th patch, +//! +//! Ui (i=1,..,Nu+1), Vi (j=1,..,Nv+1) - values defining global +//! parametrisation by U and V (correspond to points between patches and +//! bounds, (Ui,Uj) corresponds to (uijmin,vijmin) on i,j-th patch) and to +//! (u(i-1)(j-1)max,v(i-1)(j-1)max) on (i-1),(j-1)-th patch. +//! +//! Geometrical connectivity is expressed via global parameters: +//! S[i,j](Ui+1,V) = S[i+1,j](Ui+1,V) for any i, j, V +//! S[i,j](U,Vj+1) = S[i,j+1](U,Vj+1) for any i, j, U +//! It is checked with Precision::Confusion() by default. +//! +//! NOTE 1: This class is inherited from Geom_Surface in order to +//! make it more easy to store and deal with it. However, it should +//! not be passed to standard methods dealing with geometry since +//! this type is not known to them. +//! NOTE 2: Not all the inherited methods are implemented, and some are +//! implemented not in the full form. +class ShapeExtend_CompositeSurface : public Geom_Surface +{ + +public: + //! Empty constructor. + Standard_EXPORT ShapeExtend_CompositeSurface(); + + //! Initializes by a grid of surfaces (calls Init()). + Standard_EXPORT ShapeExtend_CompositeSurface( + const Handle(TColGeom_HArray2OfSurface)& GridSurf, + const ShapeExtend_Parametrisation param = ShapeExtend_Natural); + + //! Initializes by a grid of surfaces (calls Init()). + Standard_EXPORT ShapeExtend_CompositeSurface(const Handle(TColGeom_HArray2OfSurface)& GridSurf, + const TColStd_Array1OfReal& UJoints, + const TColStd_Array1OfReal& VJoints); + + //! Initializes by a grid of surfaces. + //! All the Surfaces of the grid must have geometrical + //! connectivity as stated above. + //! If geometrical connectivity is not satisfied, method + //! returns False. + //! However, class is initialized even in that case. + //! + //! Last parameter defines how global parametrisation + //! (joint values) will be computed: + //! ShapeExtend_Natural: U1 = u11min, Ui+1 = Ui + (ui1max-ui1min), etc. + //! ShapeExtend_Uniform: Ui = i-1, Vj = j-1 + //! ShapeExtend_Unitary: Ui = (i-1)/Nu, Vi = (j-1)/Nv + Standard_EXPORT Standard_Boolean + Init(const Handle(TColGeom_HArray2OfSurface)& GridSurf, + const ShapeExtend_Parametrisation param = ShapeExtend_Natural); + + //! Initializes by a grid of surfaces with given global + //! parametrisation defined by UJoints and VJoints arrays, + //! each having length equal to number of patches in corresponding + //! direction + 1. Global joint values should be sorted in + //! increasing order. + //! All the Surfaces of the grid must have geometrical + //! connectivity as stated above. + //! If geometrical connectivity is not satisfied, method + //! returns False. + //! However, class is initialized even in that case. + Standard_EXPORT Standard_Boolean Init(const Handle(TColGeom_HArray2OfSurface)& GridSurf, + const TColStd_Array1OfReal& UJoints, + const TColStd_Array1OfReal& VJoints); + + //! Returns number of patches in U direction. + Standard_EXPORT Standard_Integer NbUPatches() const; + + //! Returns number of patches in V direction. + Standard_EXPORT Standard_Integer NbVPatches() const; + + //! Returns one surface patch + Standard_EXPORT const Handle(Geom_Surface)& Patch(const Standard_Integer i, + const Standard_Integer j) const; + + //! Returns grid of surfaces + Standard_EXPORT const Handle(TColGeom_HArray2OfSurface)& Patches() const; + + //! Returns the array of U values corresponding to joint + //! points between patches as well as to start and end points, + //! which define global parametrisation of the surface + Standard_EXPORT Handle(TColStd_HArray1OfReal) UJointValues() const; + + //! Returns the array of V values corresponding to joint + //! points between patches as well as to start and end points, + //! which define global parametrisation of the surface + Standard_EXPORT Handle(TColStd_HArray1OfReal) VJointValues() const; + + //! Returns i-th joint value in U direction + //! (1-st is global Umin, (NbUPatches()+1)-th is global Umax + //! on the composite surface) + Standard_EXPORT Standard_Real UJointValue(const Standard_Integer i) const; + + //! Returns j-th joint value in V direction + //! (1-st is global Vmin, (NbVPatches()+1)-th is global Vmax + //! on the composite surface) + Standard_EXPORT Standard_Real VJointValue(const Standard_Integer j) const; + + //! Sets the array of U values corresponding to joint + //! points, which define global parametrisation of the surface. + //! Number of values in array should be equal to NbUPatches()+1. + //! All the values should be sorted in increasing order. + //! If this is not satisfied, does nothing and returns False. + Standard_EXPORT Standard_Boolean SetUJointValues(const TColStd_Array1OfReal& UJoints); + + //! Sets the array of V values corresponding to joint + //! points, which define global parametrisation of the surface + //! Number of values in array should be equal to NbVPatches()+1. + //! All the values should be sorted in increasing order. + //! If this is not satisfied, does nothing and returns False. + Standard_EXPORT Standard_Boolean SetVJointValues(const TColStd_Array1OfReal& VJoints); + + //! Changes starting value for global U parametrisation (all + //! other joint values are shifted accordingly) + Standard_EXPORT void SetUFirstValue(const Standard_Real UFirst); + + //! Changes starting value for global V parametrisation (all + //! other joint values are shifted accordingly) + Standard_EXPORT void SetVFirstValue(const Standard_Real VFirst); + + //! Returns number of col that contains given (global) parameter + Standard_EXPORT Standard_Integer LocateUParameter(const Standard_Real U) const; + + //! Returns number of row that contains given (global) parameter + Standard_EXPORT Standard_Integer LocateVParameter(const Standard_Real V) const; + + //! Returns number of row and col of surface that contains + //! given point + Standard_EXPORT void LocateUVPoint(const gp_Pnt2d& pnt, + Standard_Integer& i, + Standard_Integer& j) const; + + //! Returns one surface patch that contains given (global) parameters + Standard_EXPORT const Handle(Geom_Surface)& Patch(const Standard_Real U, + const Standard_Real V) const; + + //! Returns one surface patch that contains given point + Standard_EXPORT const Handle(Geom_Surface)& Patch(const gp_Pnt2d& pnt) const; + + //! Converts local parameter u on patch i,j to global parameter U + Standard_EXPORT Standard_Real ULocalToGlobal(const Standard_Integer i, + const Standard_Integer j, + const Standard_Real u) const; + + //! Converts local parameter v on patch i,j to global parameter V + Standard_EXPORT Standard_Real VLocalToGlobal(const Standard_Integer i, + const Standard_Integer j, + const Standard_Real v) const; + + //! Converts local parameters uv on patch i,j to global parameters UV + Standard_EXPORT gp_Pnt2d LocalToGlobal(const Standard_Integer i, + const Standard_Integer j, + const gp_Pnt2d& uv) const; + + //! Converts global parameter U to local parameter u on patch i,j + Standard_EXPORT Standard_Real UGlobalToLocal(const Standard_Integer i, + const Standard_Integer j, + const Standard_Real U) const; + + //! Converts global parameter V to local parameter v on patch i,j + Standard_EXPORT Standard_Real VGlobalToLocal(const Standard_Integer i, + const Standard_Integer j, + const Standard_Real V) const; + + //! Converts global parameters UV to local parameters uv on patch i,j + Standard_EXPORT gp_Pnt2d GlobalToLocal(const Standard_Integer i, + const Standard_Integer j, + const gp_Pnt2d& UV) const; + + //! Computes transformation operator and uFactor descrinbing affine + //! transformation required to convert global parameters on composite + //! surface to local parameters on patch (i,j): + //! uv = ( uFactor, 1. ) X Trsf * UV; + //! NOTE: Thus Trsf contains shift and scale by V, scale by U is stored in uFact. + //! Returns True if transformation is not an identity + Standard_EXPORT Standard_Boolean GlobalToLocalTransformation(const Standard_Integer i, + const Standard_Integer j, + Standard_Real& uFact, + gp_Trsf2d& Trsf) const; + + //! Applies transformation to all the patches + Standard_EXPORT virtual void Transform(const gp_Trsf& T) Standard_OVERRIDE; + + //! Returns a copy of the surface + Standard_EXPORT virtual Handle(Geom_Geometry) Copy() const Standard_OVERRIDE; + + //! NOT IMPLEMENTED (does nothing) + Standard_EXPORT virtual void UReverse() Standard_OVERRIDE; + + //! Returns U + Standard_EXPORT virtual Standard_Real UReversedParameter(const Standard_Real U) const + Standard_OVERRIDE; + + //! NOT IMPLEMENTED (does nothing) + Standard_EXPORT virtual void VReverse() Standard_OVERRIDE; + + //! Returns V + Standard_EXPORT virtual Standard_Real VReversedParameter(const Standard_Real V) const + Standard_OVERRIDE; + + //! Returns the parametric bounds of grid + Standard_EXPORT virtual void Bounds(Standard_Real& U1, + Standard_Real& U2, + Standard_Real& V1, + Standard_Real& V2) const Standard_OVERRIDE; + + //! Returns True if grid is closed in U direction + //! (i.e. connected with Precision::Confusion) + Standard_EXPORT virtual Standard_Boolean IsUClosed() const Standard_OVERRIDE; + + //! Returns True if grid is closed in V direction + //! (i.e. connected with Precision::Confusion) + Standard_EXPORT virtual Standard_Boolean IsVClosed() const Standard_OVERRIDE; + + //! Returns False + Standard_EXPORT virtual Standard_Boolean IsUPeriodic() const Standard_OVERRIDE; + + //! Returns False + Standard_EXPORT virtual Standard_Boolean IsVPeriodic() const Standard_OVERRIDE; + + //! NOT IMPLEMENTED (returns Null curve) + Standard_EXPORT virtual Handle(Geom_Curve) UIso(const Standard_Real U) const Standard_OVERRIDE; + + //! NOT IMPLEMENTED (returns Null curve) + Standard_EXPORT virtual Handle(Geom_Curve) VIso(const Standard_Real V) const Standard_OVERRIDE; + + //! returns C0 + Standard_EXPORT virtual GeomAbs_Shape Continuity() const Standard_OVERRIDE; + + //! returns True if N <=0 + Standard_EXPORT virtual Standard_Boolean IsCNu(const Standard_Integer N) const Standard_OVERRIDE; + + //! returns True if N <=0 + Standard_EXPORT virtual Standard_Boolean IsCNv(const Standard_Integer N) const Standard_OVERRIDE; + + //! Computes the point of parameter U,V on the grid. + Standard_EXPORT virtual void D0(const Standard_Real U, + const Standard_Real V, + gp_Pnt& P) const Standard_OVERRIDE; + + //! Computes the point P and the first derivatives in the + //! directions U and V at this point. + Standard_EXPORT virtual void D1(const Standard_Real U, + const Standard_Real V, + gp_Pnt& P, + gp_Vec& D1U, + gp_Vec& D1V) const Standard_OVERRIDE; + + //! Computes the point P, the first and the second derivatives in + //! the directions U and V at this point. + Standard_EXPORT virtual void D2(const Standard_Real U, + const Standard_Real V, + gp_Pnt& P, + gp_Vec& D1U, + gp_Vec& D1V, + gp_Vec& D2U, + gp_Vec& D2V, + gp_Vec& D2UV) const Standard_OVERRIDE; + + //! Computes the point P, the first,the second and the third + //! derivatives in the directions U and V at this point. + Standard_EXPORT virtual void D3(const Standard_Real U, + const Standard_Real V, + gp_Pnt& P, + gp_Vec& D1U, + gp_Vec& D1V, + gp_Vec& D2U, + gp_Vec& D2V, + gp_Vec& D2UV, + gp_Vec& D3U, + gp_Vec& D3V, + gp_Vec& D3UUV, + gp_Vec& D3UVV) const Standard_OVERRIDE; + + //! Computes the derivative of order Nu in the direction U and Nv + //! in the direction V at the point P(U, V). + Standard_EXPORT virtual gp_Vec DN(const Standard_Real U, + const Standard_Real V, + const Standard_Integer Nu, + const Standard_Integer Nv) const Standard_OVERRIDE; + + //! Computes the point of parameter pnt on the grid. + Standard_EXPORT gp_Pnt Value(const gp_Pnt2d& pnt) const; + + //! Computes Joint values according to parameter + Standard_EXPORT void ComputeJointValues( + const ShapeExtend_Parametrisation param = ShapeExtend_Natural); + + //! Checks geometrical connectivity of the patches, including + //! closedness (sets fields muUClosed and myVClosed) + Standard_EXPORT Standard_Boolean CheckConnectivity(const Standard_Real prec); + + DEFINE_STANDARD_RTTIEXT(ShapeExtend_CompositeSurface, Geom_Surface) + +protected: +private: + Handle(TColGeom_HArray2OfSurface) myPatches; + Handle(TColStd_HArray1OfReal) myUJointValues; + Handle(TColStd_HArray1OfReal) myVJointValues; + Standard_Boolean myUClosed; + Standard_Boolean myVClosed; +}; + +#endif // _ShapeExtend_CompositeSurface_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeFix_DataMapIteratorOfDataMapOfShapeBox2d.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeFix_DataMapIteratorOfDataMapOfShapeBox2d.hxx new file mode 100644 index 0000000000000000000000000000000000000000..7359afa08af781d913a66010e8d007f53a728396 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeFix_DataMapIteratorOfDataMapOfShapeBox2d.hxx @@ -0,0 +1,19 @@ +// Copyright (c) 2015 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 ShapeFix_DataMapIteratorOfDataMapOfShapeBox2d_HeaderFile +#define ShapeFix_DataMapIteratorOfDataMapOfShapeBox2d_HeaderFile + +#include + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapePersistent_HArray1.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapePersistent_HArray1.hxx new file mode 100644 index 0000000000000000000000000000000000000000..38b4818a1c04edf367515723a0810996e1eb9d79 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapePersistent_HArray1.hxx @@ -0,0 +1,70 @@ +// Copyright (c) 2015 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 _ShapePersistent_HArray1_HeaderFile +#define _ShapePersistent_HArray1_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +class ShapePersistent_HArray1 : private StdLPersistent_HArray1 +{ +public: + typedef instance XYZ; + typedef instance Pnt; + typedef instance Dir; + typedef instance Vec; + typedef instance XY; + typedef instance Pnt2d; + typedef instance Dir2d; + typedef instance Vec2d; + typedef instance Lin2d; + typedef instance Circ2d; + typedef instance Triangle; +}; + +inline StdObjMgt_ReadData& operator>>(StdObjMgt_ReadData& theReadData, Poly_Triangle& theTriangle) +{ + StdObjMgt_ReadData::ObjectSentry aSentry(theReadData); + + Standard_Integer N1, N2, N3; + theReadData >> N1 >> N2 >> N3; + theTriangle.Set(N1, N2, N3); + return theReadData; +} + +inline StdObjMgt_WriteData& operator<<(StdObjMgt_WriteData& theWriteData, + const Poly_Triangle& theTriangle) +{ + StdObjMgt_WriteData::ObjectSentry aSentry(theWriteData); + + Standard_Integer N1, N2, N3; + theTriangle.Get(N1, N2, N3); + theWriteData << N1 << N2 << N3; + return theWriteData; +} + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeProcess_Operator.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeProcess_Operator.hxx new file mode 100644 index 0000000000000000000000000000000000000000..f17469ac174698494f21aabdb31cad23b1225472 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeProcess_Operator.hxx @@ -0,0 +1,47 @@ +// Created on: 2000-08-22 +// Created by: Andrey BETENEV +// Copyright (c) 2000-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 _ShapeProcess_Operator_HeaderFile +#define _ShapeProcess_Operator_HeaderFile + +#include +#include + +#include +#include + +class ShapeProcess_Context; +class ShapeProcess_Operator; +DEFINE_STANDARD_HANDLE(ShapeProcess_Operator, Standard_Transient) + +//! Abstract Operator class providing a tool to +//! perform an operation on Context +class ShapeProcess_Operator : public Standard_Transient +{ + +public: + //! Performs operation and eventually records + //! changes in the context + Standard_EXPORT virtual Standard_Boolean Perform( + const Handle(ShapeProcess_Context)& context, + const Message_ProgressRange& theProgress = Message_ProgressRange()) = 0; + + DEFINE_STANDARD_RTTIEXT(ShapeProcess_Operator, Standard_Transient) + +protected: +private: +}; + +#endif // _ShapeProcess_Operator_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeUpgrade_ShapeConvertToBezier.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeUpgrade_ShapeConvertToBezier.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d21794a081a233e96d527142aefa66279027b86d --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeUpgrade_ShapeConvertToBezier.hxx @@ -0,0 +1,139 @@ +// Created on: 1999-05-14 +// Created by: Pavel DURANDIN +// Copyright (c) 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 _ShapeUpgrade_ShapeConvertToBezier_HeaderFile +#define _ShapeUpgrade_ShapeConvertToBezier_HeaderFile + +#include +#include +#include + +#include +#include +class TopoDS_Shape; +class ShapeUpgrade_FaceDivide; +class Message_Msg; + +//! API class for performing conversion of 3D, 2D curves to bezier curves +//! and surfaces to bezier based surfaces ( +//! bezier surface, +//! surface of revolution based on bezier curve, +//! offset surface based on any previous type). +class ShapeUpgrade_ShapeConvertToBezier : public ShapeUpgrade_ShapeDivide +{ +public: + DEFINE_STANDARD_ALLOC + + //! Empty constructor. + Standard_EXPORT ShapeUpgrade_ShapeConvertToBezier(); + + //! Initialize by a Shape. + Standard_EXPORT ShapeUpgrade_ShapeConvertToBezier(const TopoDS_Shape& S); + + //! Sets mode for conversion 2D curves to bezier. + void Set2dConversion(const Standard_Boolean mode); + + //! Returns the 2D conversion mode. + Standard_Boolean Get2dConversion() const; + + //! Sets mode for conversion 3d curves to bezier. + void Set3dConversion(const Standard_Boolean mode); + + //! Returns the 3D conversion mode. + Standard_Boolean Get3dConversion() const; + + //! Sets mode for conversion surfaces curves to + //! bezier basis. + void SetSurfaceConversion(const Standard_Boolean mode); + + //! Returns the surface conversion mode. + Standard_Boolean GetSurfaceConversion() const; + + //! Sets mode for conversion Geom_Line to bezier. + void Set3dLineConversion(const Standard_Boolean mode); + + //! Returns the Geom_Line conversion mode. + Standard_Boolean Get3dLineConversion() const; + + //! Sets mode for conversion Geom_Circle to bezier. + void Set3dCircleConversion(const Standard_Boolean mode); + + //! Returns the Geom_Circle conversion mode. + Standard_Boolean Get3dCircleConversion() const; + + //! Sets mode for conversion Geom_Conic to bezier. + void Set3dConicConversion(const Standard_Boolean mode); + + //! Returns the Geom_Conic conversion mode. + Standard_Boolean Get3dConicConversion() const; + + //! Sets mode for conversion Geom_Plane to Bezier + void SetPlaneMode(const Standard_Boolean mode); + + //! Returns the Geom_Pline conversion mode. + Standard_Boolean GetPlaneMode() const; + + //! Sets mode for conversion Geom_SurfaceOfRevolution to Bezier + void SetRevolutionMode(const Standard_Boolean mode); + + //! Returns the Geom_SurfaceOfRevolution conversion mode. + Standard_Boolean GetRevolutionMode() const; + + //! Sets mode for conversion Geom_SurfaceOfLinearExtrusion to Bezier + void SetExtrusionMode(const Standard_Boolean mode); + + //! Returns the Geom_SurfaceOfLinearExtrusion conversion mode. + Standard_Boolean GetExtrusionMode() const; + + //! Sets mode for conversion Geom_BSplineSurface to Bezier + void SetBSplineMode(const Standard_Boolean mode); + + //! Returns the Geom_BSplineSurface conversion mode. + Standard_Boolean GetBSplineMode() const; + + //! Performs converting and computes the resulting shape + Standard_EXPORT virtual Standard_Boolean Perform( + const Standard_Boolean newContext = Standard_True) Standard_OVERRIDE; + +protected: + //! Returns the tool for dividing faces. + Standard_EXPORT virtual Handle(ShapeUpgrade_FaceDivide) GetSplitFaceTool() const + Standard_OVERRIDE; + + Standard_EXPORT virtual Message_Msg GetFaceMsg() const Standard_OVERRIDE; + + Standard_EXPORT virtual Message_Msg GetWireMsg() const Standard_OVERRIDE; + + //! Returns a message describing modification of a shape. + Standard_EXPORT virtual Message_Msg GetEdgeMsg() const Standard_OVERRIDE; + +private: + Standard_Boolean my2dMode; + Standard_Boolean my3dMode; + Standard_Boolean mySurfaceMode; + Standard_Boolean my3dLineMode; + Standard_Boolean my3dCircleMode; + Standard_Boolean my3dConicMode; + Standard_Boolean myPlaneMode; + Standard_Boolean myRevolutionMode; + Standard_Boolean myExtrusionMode; + Standard_Boolean myBSplineMode; + Standard_Integer myLevel; +}; + +#include + +#endif // _ShapeUpgrade_ShapeConvertToBezier_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeUpgrade_SplitSurfaceAngle.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeUpgrade_SplitSurfaceAngle.hxx new file mode 100644 index 0000000000000000000000000000000000000000..03262e16a3eb120e1c41345976aed3f89755d83e --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/ShapeUpgrade_SplitSurfaceAngle.hxx @@ -0,0 +1,55 @@ +// Created on: 1999-05-06 +// Created by: data exchange team +// Copyright (c) 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 _ShapeUpgrade_SplitSurfaceAngle_HeaderFile +#define _ShapeUpgrade_SplitSurfaceAngle_HeaderFile + +#include +#include + +#include + +class ShapeUpgrade_SplitSurfaceAngle; +DEFINE_STANDARD_HANDLE(ShapeUpgrade_SplitSurfaceAngle, ShapeUpgrade_SplitSurface) + +//! Splits a surfaces of revolution, cylindrical, toroidal, +//! conical, spherical so that each resulting segment covers +//! not more than defined number of degrees. +class ShapeUpgrade_SplitSurfaceAngle : public ShapeUpgrade_SplitSurface +{ + +public: + //! Empty constructor. + Standard_EXPORT ShapeUpgrade_SplitSurfaceAngle(const Standard_Real MaxAngle); + + //! Set maximal angle + Standard_EXPORT void SetMaxAngle(const Standard_Real MaxAngle); + + //! Returns maximal angle + Standard_EXPORT Standard_Real MaxAngle() const; + + //! Performs splitting of the supporting surface(s). + //! First defines splitting values, then calls inherited method. + Standard_EXPORT virtual void Compute(const Standard_Boolean Segment) Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_SplitSurfaceAngle, ShapeUpgrade_SplitSurface) + +protected: +private: + Standard_Real myMaxAngle; +}; + +#endif // _ShapeUpgrade_SplitSurfaceAngle_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_CStringHasher.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_CStringHasher.hxx new file mode 100644 index 0000000000000000000000000000000000000000..eb91316e2db84a4de0dd8a2e3637d9493ea3c297 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_CStringHasher.hxx @@ -0,0 +1,43 @@ +// Copyright (c) 2023 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 _Standard_CStringHasher_HeaderFile +#define _Standard_CStringHasher_HeaderFile + +#include +#include +#include + +#include + +class Standard_CStringHasher +{ +public: + size_t operator()(const Standard_CString& theString) const noexcept + { + const int aLen = static_cast(strlen(theString)); + if (aLen < 4) + { + return opencascade::FNVHash::hash_combine(*theString, aLen); + } + return opencascade::hashBytes(theString, aLen); + } + + bool operator()(const Standard_CString& theString1, + const Standard_CString& theString2) const noexcept + { + return strcmp(theString1, theString2) == 0; + } +}; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_DivideByZero.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_DivideByZero.hxx new file mode 100644 index 0000000000000000000000000000000000000000..8db0c1f4fae64c07b05301520badaab47cc2e26f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_DivideByZero.hxx @@ -0,0 +1,38 @@ +// Created on: 1991-09-05 +// Created by: J.P. TIRAUlt +// 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. + +#ifndef _Standard_DivideByZero_HeaderFile +#define _Standard_DivideByZero_HeaderFile + +#include +#include +#include +#include + +class Standard_DivideByZero; +DEFINE_STANDARD_HANDLE(Standard_DivideByZero, Standard_NumericError) + +#if !defined No_Exception && !defined No_Standard_DivideByZero + #define Standard_DivideByZero_Raise_if(CONDITION, MESSAGE) \ + if (CONDITION) \ + throw Standard_DivideByZero(MESSAGE); +#else + #define Standard_DivideByZero_Raise_if(CONDITION, MESSAGE) +#endif + +DEFINE_STANDARD_EXCEPTION(Standard_DivideByZero, Standard_NumericError) + +#endif // _Standard_DivideByZero_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_Dump.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_Dump.hxx new file mode 100644 index 0000000000000000000000000000000000000000..78d4109f7beb8cb9c9cc25d3638a325da2093e0b --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_Dump.hxx @@ -0,0 +1,492 @@ +// Copyright (c) 2019 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 _Standard_Dump_HeaderFile +#define _Standard_Dump_HeaderFile + +#include +#include +#include +#include +#include + +//!@file +//! The file contains interface to prepare dump output for OCCT objects. Format of the dump is JSON. +//! +//! To prepare this output, implement method DumpJson in the object and use macro functions from +//! this file. Macros have one parameter for both, key and the value. It is a field of the current +//! class. Macro has internal analyzer that uses the variable name to generate key. If the parameter +//! has prefix symbols "&", "*" and "my", it is cut. +//! +//! - OCCT_DUMP_FIELD_VALUE_NUMERICAL. Use it for fields of numerical C++ types, like int, float, +//! double. It creates a pair "key", "value", +//! - OCCT_DUMP_FIELD_VALUE_NUMERICAL_INC. Use it for fields of numerical C++ types, like int, +//! float, double. +//! It creates a pair "key_inc", "value", +//! - OCCT_DUMP_FIELD_VALUE_STRING. Use it for char* type. It creates a pair "key", "value", +//! - OCCT_DUMP_FIELD_VALUE_POINTER. Use it for pointer fields. It creates a pair "key", "value", +//! where the value is the pointer address, +//! - OCCT_DUMP_FIELD_VALUES_DUMPED. Use it for fields that has own Dump implementation. It expects +//! the pointer to the class instance. +//! It creates "key": { result of dump of the field } +//! - OCCT_DUMP_FIELD_VALUES_DUMPED_INC. Use it for fields that has own Dump implementation. It +//! expects the pointer to the class instance. +//! It creates "key_inc": { result of dump of the field } +//! - OCCT_DUMP_STREAM_VALUE_DUMPED. Use it for Standard_SStream. It creates "key": { text of stream +//! } +//! - OCCT_DUMP_FIELD_VALUES_NUMERICAL. Use it for unlimited list of fields of C++ double type. +//! It creates massive of values [value_1, value_2, ...] +//! - OCCT_DUMP_FIELD_VALUES_STRING. Use it for unlimited list of fields of TCollection_AsciiString +//! types. +//! It creates massive of values ["value_1", "value_2", ...] +//! - OCCT_DUMP_BASE_CLASS. Use if Dump implementation of the class is virtual, to perform +//! ClassName::Dump() of the parent class, +//! expected parameter is the parent class name. +//! It creates "key": { result of dump of the field } +//! - OCCT_DUMP_VECTOR_CLASS. Use it as a single row in some object dump to have one row in output. +//! It's possible to use it without necessity of OCCT_DUMP_CLASS_BEGIN call. +//! It creates massive of values [value_1, value_2, ...] +//! +//! The Dump result prepared by these macros is an output stream, it is not arranged with spaces and +//! line feed. To have output in a more readable way, use ConvertToAlignedString method for obtained +//! stream. + +//! Converts the class type into a string value +#define OCCT_CLASS_NAME(theClass) #theClass + +//! @def OCCT_DUMP_CLASS_BEGIN +//! Creates an instance of Sentry to cover the current Dump implementation with keys of start and +//! end. This row should be inserted before other macros. The end key will be added by the sentry +//! remove, (exit of the method). +#define OCCT_DUMP_CLASS_BEGIN(theOStream, theField) \ + { \ + const char* className = OCCT_CLASS_NAME(theField); \ + OCCT_DUMP_FIELD_VALUE_STRING(theOStream, className) \ + } + +//! @def OCCT_DUMP_TRANSIENT_CLASS_BEGIN +//! Creates an instance of Sentry to cover the current Dump implementation with keys of start and +//! end. This row should be inserted before other macros. The end key will be added by the sentry +//! remove, (exit of the method). +#define OCCT_DUMP_TRANSIENT_CLASS_BEGIN(theOStream) \ + { \ + const char* className = get_type_name(); \ + OCCT_DUMP_FIELD_VALUE_STRING(theOStream, className) \ + } + +//! @def OCCT_DUMP_FIELD_VALUE_NUMERICAL +//! Append into output value: "Name": Field +#define OCCT_DUMP_FIELD_VALUE_NUMERICAL(theOStream, theField) \ + { \ + TCollection_AsciiString aName = Standard_Dump::DumpFieldToName(#theField); \ + Standard_Dump::AddValuesSeparator(theOStream); \ + theOStream << "\"" << aName << "\": " << theField; \ + } + +//! @def OCCT_DUMP_FIELD_VALUE_NUMERICAL +//! Append into output value: "Name": Field +//! Inc name value added to the key to provide unique keys +#define OCCT_DUMP_FIELD_VALUE_NUMERICAL_INC(theOStream, theField, theIncName) \ + { \ + TCollection_AsciiString aName = Standard_Dump::DumpFieldToName(#theField) + theIncName; \ + Standard_Dump::AddValuesSeparator(theOStream); \ + theOStream << "\"" << aName << "\": " << theField; \ + } + +//! @def OCCT_INIT_FIELD_VALUE_REAL +//! Append vector values into output value: "Name": [value_1, value_2, ...] +//! This macro is intended to have only one row for dumped object in Json. +//! It's possible to use it without necessity of OCCT_DUMP_CLASS_BEGIN call, but pay attention that +//! it should be only one row in the object dump. +#define OCCT_INIT_FIELD_VALUE_REAL(theOStream, theStreamPos, theField) \ + { \ + Standard_Integer aStreamPos = theStreamPos; \ + if (!Standard_Dump::ProcessFieldName(theOStream, #theField, aStreamPos)) \ + return Standard_False; \ + TCollection_AsciiString aValueText; \ + if (!Standard_Dump::InitValue(theOStream, aStreamPos, aValueText) \ + || !aValueText.IsRealValue()) \ + return Standard_False; \ + theField = aValueText.RealValue(); \ + theStreamPos = aStreamPos; \ + } + +//! @def OCCT_INIT_FIELD_VALUE_NUMERICAL +//! Append vector values into output value: "Name": [value_1, value_2, ...] +//! This macro is intended to have only one row for dumped object in Json. +//! It's possible to use it without necessity of OCCT_DUMP_CLASS_BEGIN call, but pay attention that +//! it should be only one row in the object dump. +#define OCCT_INIT_FIELD_VALUE_INTEGER(theOStream, theStreamPos, theField) \ + { \ + Standard_Integer aStreamPos = theStreamPos; \ + if (!Standard_Dump::ProcessFieldName(theOStream, #theField, aStreamPos)) \ + return Standard_False; \ + TCollection_AsciiString aValueText; \ + if (!Standard_Dump::InitValue(theOStream, aStreamPos, aValueText) \ + || !aValueText.IsIntegerValue()) \ + return Standard_False; \ + theField = aValueText.IntegerValue(); \ + theStreamPos = aStreamPos; \ + } + +//! @def OCCT_DUMP_FIELD_VALUE_STRING +//! Append into output value: "Name": "Field" +#define OCCT_DUMP_FIELD_VALUE_STRING(theOStream, theField) \ + { \ + TCollection_AsciiString aName = Standard_Dump::DumpFieldToName(#theField); \ + Standard_Dump::AddValuesSeparator(theOStream); \ + theOStream << "\"" << aName << "\": \"" << theField << "\""; \ + } + +//! @def OCCT_DUMP_FIELD_VALUE_POINTER +//! Append into output value: "Name": "address of the pointer" +#define OCCT_DUMP_FIELD_VALUE_POINTER(theOStream, theField) \ + { \ + TCollection_AsciiString aName = Standard_Dump::DumpFieldToName(#theField); \ + Standard_Dump::AddValuesSeparator(theOStream); \ + theOStream << "\"" << aName << "\": \"" << Standard_Dump::GetPointerInfo(theField) << "\""; \ + } + +//! @def OCCT_DUMP_FIELD_VALUE_STRING +//! Append into output value: "Name": "Field" +#define OCCT_DUMP_FIELD_VALUE_GUID(theOStream, theField) \ + { \ + TCollection_AsciiString aName = Standard_Dump::DumpFieldToName(#theField); \ + Standard_Dump::AddValuesSeparator(theOStream); \ + char aStr[Standard_GUID_SIZE_ALLOC]; \ + theField.ToCString(aStr); \ + theOStream << "\"" << aName << "\": \"" << aStr << "\""; \ + } + +//! @def OCCT_DUMP_FIELD_VALUES_DUMPED +//! Append into output value: "Name": { field dumped values } +//! It computes Dump of the fields. The expected field is a pointer. +//! Use this macro for fields of the dumped class which has own Dump implementation. +//! The macros is recursive. Recursion is stopped when the depth value becomes equal to zero. +//! Depth = -1 is the default value, dump here is unlimited. +#define OCCT_DUMP_FIELD_VALUES_DUMPED(theOStream, theDepth, theField) \ + { \ + if (theDepth != 0 && (void*)(theField) != NULL) \ + { \ + Standard_SStream aFieldStream; \ + (theField)->DumpJson(aFieldStream, theDepth - 1); \ + TCollection_AsciiString aName = Standard_Dump::DumpFieldToName(#theField); \ + Standard_Dump::DumpKeyToClass(theOStream, aName, Standard_Dump::Text(aFieldStream)); \ + } \ + } + +//! @def OCCT_DUMP_FIELD_VALUES_DUMPED_INC +//! Append into output value: "Name": { field dumped values } +//! It computes Dump of the fields. The expected field is a pointer. +//! Use this macro for fields of the dumped class which has own Dump implementation. +//! The macros is recursive. Recursion is stopped when the depth value becomes equal to zero. +//! Depth = -1 is the default value, dump here is unlimited. +//! Inc name value added to the key to provide unique keys +#define OCCT_DUMP_FIELD_VALUES_DUMPED_INC(theOStream, theDepth, theField, theIncName) \ + { \ + if (theDepth != 0 && (void*)(theField) != NULL) \ + { \ + Standard_SStream aFieldStream; \ + (theField)->DumpJson(aFieldStream, theDepth - 1); \ + TCollection_AsciiString aName = Standard_Dump::DumpFieldToName(#theField) + theIncName; \ + Standard_Dump::DumpKeyToClass(theOStream, aName, Standard_Dump::Text(aFieldStream)); \ + } \ + } + +//! @def OCCT_INIT_FIELD_VALUES_DUMPED +//! Append into output value: "Name": { field dumped values } +//! It computes Dump of the fields. The expected field is a pointer. +//! Use this macro for fields of the dumped class which has own Dump implementation. +//! The macros is recursive. Recursion is stopped when the depth value becomes equal to zero. +//! Depth = -1 is the default value, dump here is unlimited. +#define OCCT_INIT_FIELD_VALUES_DUMPED(theSStream, theStreamPos, theField) \ + { \ + if ((theField) == NULL || !(theField)->InitFromJson(theSStream, theStreamPos)) \ + return Standard_False; \ + } + +//! @def OCCT_DUMP_STREAM_VALUE_DUMPED +//! Append into output value: "Name": { stream text } +//! It computes Dump of the fields. The expected field is a pointer. +//! Use this macro for Standard_SStream field. +#define OCCT_DUMP_STREAM_VALUE_DUMPED(theOStream, theField) \ + { \ + TCollection_AsciiString aName = Standard_Dump::DumpFieldToName(#theField); \ + Standard_Dump::DumpKeyToClass(theOStream, aName, Standard_Dump::Text(theField)); \ + } + +//! @def OCCT_DUMP_FIELD_VALUES_NUMERICAL +//! Append real values into output values in an order: [value_1, value_2, ...] +//! It computes Dump of the parent. The expected field is a parent class name to call +//! ClassName::Dump. +#define OCCT_DUMP_FIELD_VALUES_NUMERICAL(theOStream, theName, theCount, ...) \ + { \ + Standard_Dump::AddValuesSeparator(theOStream); \ + theOStream << "\"" << theName << "\": ["; \ + Standard_Dump::DumpRealValues(theOStream, theCount, __VA_ARGS__); \ + theOStream << "]"; \ + } + +//! @def OCCT_DUMP_FIELD_VALUES_STRING +//! Append real values into output values in an order: ["value_1", "value_2", ...] +//! It computes Dump of the parent. The expected field is a parent class name to call +//! ClassName::Dump. +#define OCCT_DUMP_FIELD_VALUES_STRING(theOStream, theName, theCount, ...) \ + { \ + Standard_Dump::AddValuesSeparator(theOStream); \ + theOStream << "\"" << theName << "\": ["; \ + Standard_Dump::DumpCharacterValues(theOStream, theCount, __VA_ARGS__); \ + theOStream << "]"; \ + } + +//! @def OCCT_DUMP_BASE_CLASS +//! Append into output value: "Name": { field dumped values } +//! It computes Dump of the parent. The expected field is a parent class name to call +//! ClassName::Dump. Use this macro for parent of the current class. The macros is recursive. +//! Recursive is stopped when the depth value becomes equal to zero. Depth = -1 is the default +//! value, dump here is unlimited. +#define OCCT_DUMP_BASE_CLASS(theOStream, theDepth, theField) \ + { \ + if (theDepth != 0) \ + { \ + Standard_Dump::AddValuesSeparator(theOStream); \ + theField::DumpJson(theOStream, theDepth - 1); \ + } \ + } + +//! @def OCCT_DUMP_VECTOR_CLASS +//! Append vector values into output value: "Name": [value_1, value_2, ...] +//! This macro is intended to have only one row for dumped object in Json. +//! It's possible to use it without necessity of OCCT_DUMP_CLASS_BEGIN call, but pay attention that +//! it should be only one row in the object dump. +#define OCCT_DUMP_VECTOR_CLASS(theOStream, theName, theCount, ...) \ + { \ + Standard_Dump::AddValuesSeparator(theOStream); \ + theOStream << "\"" << theName << "\": ["; \ + Standard_Dump::DumpRealValues(theOStream, theCount, __VA_ARGS__); \ + theOStream << "]"; \ + } + +//! @def OCCT_INIT_VECTOR_CLASS +//! Append vector values into output value: "Name": [value_1, value_2, ...] +//! This macro is intended to have only one row for dumped object in Json. +//! It's possible to use it without necessity of OCCT_DUMP_CLASS_BEGIN call, but pay attention that +//! it should be only one row in the object dump. +#define OCCT_INIT_VECTOR_CLASS(theOStream, theName, theStreamPos, theCount, ...) \ + { \ + Standard_Integer aStreamPos = theStreamPos; \ + if (!Standard_Dump::ProcessStreamName(theOStream, theName, aStreamPos)) \ + return Standard_False; \ + if (!Standard_Dump::InitRealValues(theOStream, aStreamPos, theCount, __VA_ARGS__)) \ + return Standard_False; \ + theStreamPos = aStreamPos; \ + } + +//! Kind of key in Json string +enum Standard_JsonKey +{ + Standard_JsonKey_None, //!< no key + Standard_JsonKey_OpenChild, //!< "{" + Standard_JsonKey_CloseChild, //!< "}" + Standard_JsonKey_OpenContainer, //!< "[" + Standard_JsonKey_CloseContainer, //!< "]" + Standard_JsonKey_Quote, //!< "\"" + Standard_JsonKey_SeparatorKeyToValue, //!< ": " + Standard_JsonKey_SeparatorValueToValue //!< ", " +}; + +//! Type for storing a dump value with the stream position +struct Standard_DumpValue +{ + Standard_DumpValue() + : myStartPosition(0) + { + } + + Standard_DumpValue(const TCollection_AsciiString& theValue, const Standard_Integer theStartPos) + : myValue(theValue), + myStartPosition(theStartPos) + { + } + + TCollection_AsciiString myValue; //!< current string value + Standard_Integer myStartPosition; //!< position of the value first char in the whole stream +}; + +//! This interface has some tool methods for stream (in JSON format) processing. +class Standard_Dump +{ +public: + //! Converts stream value to string value. The result is original stream value. + //! @param theStream source value + //! @return text presentation + Standard_EXPORT static TCollection_AsciiString Text(const Standard_SStream& theStream); + + //! Converts stream value to string value. Improves the text presentation with the following + //! cases: + //! - for '{' append after '\n' and indent to the next value, increment current indent value + //! - for '}' append '\n' and current indent before it, decrement indent value + //! - for ',' append after '\n' and indent to the next value. If the current symbol is in massive + //! container [], do nothing Covers result with opened and closed brackets on the top level, if it + //! has no symbols there. + //! @param theStream source value + //! @param theIndent count of ' ' symbols to apply hierarchical indent of the text values + //! @return text presentation + Standard_EXPORT static TCollection_AsciiString FormatJson(const Standard_SStream& theStream, + const Standard_Integer theIndent = 3); + + //! Converts stream into map of values. + //! + //! The one level stream example: 'key_1: value_1, key_2: value_2' + //! In output: values contain 'key_1: value_1' and 'key_2: value_2'. + //! + //! The two level stream example: 'key_1: value_1, key_2: value_2, key_3: {sublevel_key_1: + //! sublevel_value_1}, key_4: value_4' In output values contain 'key_1: value_1', 'key_2: + //! value_2', 'key_3: {sublevel_key_1: sublevel_value_1}' and 'key_4: value_4'. The sublevel value + //! might be processed later using the same method. + //! + //! @param theStreamStr stream value + //! @param[out] theKeyToValues container of split values. It contains key to value and position + //! of the value in the stream text + Standard_EXPORT static Standard_Boolean SplitJson( + const TCollection_AsciiString& theStreamStr, + NCollection_IndexedDataMap& theKeyToValues); + + //! Returns container of indices in values, that has hierarchical value + Standard_EXPORT static NCollection_List HierarchicalValueIndices( + const NCollection_IndexedDataMap& theValues); + + //! Returns true if the value has bracket key + Standard_EXPORT static Standard_Boolean HasChildKey( + const TCollection_AsciiString& theSourceValue); + + //! Returns key value for enum type + Standard_EXPORT static Standard_CString JsonKeyToString(const Standard_JsonKey theKey); + + //! Returns length value for enum type + Standard_EXPORT static Standard_Integer JsonKeyLength(const Standard_JsonKey theKey); + + //! @param theOStream source value + static Standard_EXPORT void AddValuesSeparator(Standard_OStream& theOStream); + + //! Returns default prefix added for each pointer info string if short presentation of pointer + //! used + static TCollection_AsciiString GetPointerPrefix() { return "0x"; } + + //! Convert handle pointer to address of the pointer. If the handle is NULL, the result is an + //! empty string. + //! @param thePointer a pointer + //! @param isShortInfo if true, all '0' symbols in the beginning of the pointer are skipped + //! @return the string value + Standard_EXPORT static TCollection_AsciiString GetPointerInfo( + const Handle(Standard_Transient)& thePointer, + const bool isShortInfo = true); + + //! Convert pointer to address of the pointer. If the handle is NULL, the result is an empty + //! string. + //! @param thePointer a pointer + //! @param isShortInfo if true, all '0' symbols in the beginning of the pointer are skipped + //! @return the string value + Standard_EXPORT static TCollection_AsciiString GetPointerInfo(const void* thePointer, + const bool isShortInfo = true); + + //! Append into output value: "Name": { Field } + //! @param[out] theOStream stream to be fill with values + //! @param theKey a source value + //! @param theField stream value + Standard_EXPORT static void DumpKeyToClass(Standard_OStream& theOStream, + const TCollection_AsciiString& theKey, + const TCollection_AsciiString& theField); + + //! Unite values in one value using template: "value_1", "value_2", ..., "value_n" + //! @param[out] theOStream stream to be fill with values + //! @param[in] theCount number of values + Standard_EXPORT static void DumpCharacterValues(Standard_OStream& theOStream, int theCount, ...); + + //! Unite values in one value using template: value_1, value_2, ..., value_n + //! @param[out] theOStream stream to be fill with values + //! @param[in] theCount number of values + Standard_EXPORT static void DumpRealValues(Standard_OStream& theOStream, int theCount, ...); + + //! Check whether the parameter name is equal to the name in the stream at position + //! @param[in] theStreamStr stream with values + //! @param[in] theName stream key value + //! @param[out] theStreamPos current position in the stream + Standard_EXPORT static Standard_Boolean ProcessStreamName( + const TCollection_AsciiString& theStreamStr, + const TCollection_AsciiString& theName, + Standard_Integer& theStreamPos); + + //! Check whether the field name is equal to the name in the stream at position + //! @param[in] theStreamStr stream with values + //! @param[in] theName stream key field value + //! @param[out] theStreamPos current position in the stream + Standard_EXPORT static Standard_Boolean ProcessFieldName( + const TCollection_AsciiString& theStreamStr, + const TCollection_AsciiString& theName, + Standard_Integer& theStreamPos); + + //! Unite values in one value using template: value_1, value_2, ..., value_n + //! @param[in] theStreamStr stream with values + //! @param[out] theStreamPos current position in the stream + //! @param[in] theCount number of values + Standard_EXPORT static Standard_Boolean InitRealValues( + const TCollection_AsciiString& theStreamStr, + Standard_Integer& theStreamPos, + int theCount, + ...); + + //! Returns real value + //! @param[in] theStreamStr stream with values + //! @param[out] theStreamPos current position in the stream + //! @param[out] theValue stream value + Standard_EXPORT static Standard_Boolean InitValue(const TCollection_AsciiString& theStreamStr, + Standard_Integer& theStreamPos, + TCollection_AsciiString& theValue); + + //! Convert field name into dump text value, removes "&" and "my" prefixes + //! An example, for field myValue, theName is Value, for &myCLass, the name is Class + //! @param theField a source value + Standard_EXPORT static TCollection_AsciiString DumpFieldToName( + const TCollection_AsciiString& theField); + +private: + //! Extracts from the string value a pair (key, value), add it into output container, update index + //! value Example: stream string starting the index position contains: ..."key": ... a pair + //! key, value will be added into theValues at beginning theIndex is the position of the quota + //! before , after the index is the next position after the value splitDumped(aString) gives + //! theSplitValue = "abc", theTailValue = "defg", theKey = "key" + Standard_EXPORT static Standard_Boolean splitKeyToValue( + const TCollection_AsciiString& theStreamStr, + Standard_Integer theStartIndex, + Standard_Integer& theNextIndex, + NCollection_IndexedDataMap& theValues); + + //! Returns key of json in the index position. Increment the index position to the next symbol in + //! the row + Standard_EXPORT static Standard_Boolean jsonKey(const TCollection_AsciiString& theStreamStr, + Standard_Integer theStartIndex, + Standard_Integer& theNextIndex, + Standard_JsonKey& theKey); + + //! Find position in the source string of the symbol close after the start position. + //! Ignore combination ... between the close symbol. + //! Example, for case ... { ... { ... } ...} ... } it returns the position of the forth brace + Standard_EXPORT static Standard_Integer nextClosePosition( + const TCollection_AsciiString& theSourceValue, + const Standard_Integer theStartPosition, + const Standard_JsonKey theCloseKey, + const Standard_JsonKey theOpenKey); +}; + +#endif // _Standard_Dump_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_Macro.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_Macro.hxx new file mode 100644 index 0000000000000000000000000000000000000000..cc8369a17f0dcd61e7ec4a7dd18c46d69426546b --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_Macro.hxx @@ -0,0 +1,360 @@ +// Copyright (c) 1998-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. + +//! @file +//! This file is intended to be the first file included to any +//! Open CASCADE source. It defines platform-specific pre-processor +//! macros necessary for correct compilation of Open CASCADE code. + +#ifndef _Standard_Macro_HeaderFile +#define _Standard_Macro_HeaderFile + +#if defined(_MSC_VER) && (_MSC_VER < 1600) + #error C++11 compatible compiler is required (Visual Studio 2010 or newer) +#endif + +//! @def Standard_OVERRIDE +//! Should be used in declarations of virtual methods overridden in the +//! derived classes, to cause compilation error in the case if that virtual +//! function disappears or changes its signature in the base class. +//! +//! Expands to C++11 keyword "override" on compilers that are known to +//! support it; empty in other cases. +#if defined(__cplusplus) && (__cplusplus >= 201100L) + // part of C++11 standard + #define Standard_OVERRIDE override +#elif defined(_MSC_VER) && (_MSC_VER >= 1700) + // MSVC extension since VS2012 + #define Standard_OVERRIDE override +#else + #define Standard_OVERRIDE +#endif + +//! @def Standard_DELETE +//! Alias for C++11 keyword "=delete" marking methods to be deleted. +#if defined(__cplusplus) && (__cplusplus >= 201100L) + // part of C++11 standard + #define Standard_DELETE = delete +#elif defined(_MSC_VER) && (_MSC_VER >= 1800) + // implemented since VS2013 + #define Standard_DELETE = delete +#else + #define Standard_DELETE +#endif + +//! @def Standard_FALLTHROUGH +//! Should be used in a switch statement immediately before a case label, +//! if code associated with the previous case label may fall through to that +//! next label (i.e. does not end with "break" or "return" etc.). +//! This macro indicates that the fall through is intentional and should not be +//! diagnosed by a compiler that warns on fallthrough. +//! +//! Expands to C++17 attribute statement "[[fallthrough]];" on compilers that +//! declare support of C++17, or to "__attribute__((fallthrough));" on +//! GCC 7+. +#if defined(__cplusplus) && (__cplusplus >= 201703L) + // part of C++17 standard + #define Standard_FALLTHROUGH [[fallthrough]]; +#elif defined(__GNUC__) && (__GNUC__ >= 7) + // gcc 7+ + #define Standard_FALLTHROUGH __attribute__((fallthrough)); +#else + #define Standard_FALLTHROUGH +#endif + +//! @def Standard_NODISCARD +//! This attribute may appear in a function declaration, +//! enumeration declaration or class declaration. It tells the compiler to +//! issue a warning, if a return value marked by that attribute is discarded. +//! +//! Expands to C++17 attribute statement "[[nodiscard]]" on compilers that +//! declare support of this attribute, or equivalent attribute on GCC. +#if defined(__has_cpp_attribute) + #if __has_cpp_attribute(nodiscard) + #define Standard_NODISCARD [[nodiscard]] + #else + #define Standard_NODISCARD + #endif +#elif defined(__GNUC__) && !defined(INTEL_COMPILER) + // According to available documentation, GCC-style __attribute__ ((warn_unused_result)) + // should be available in GCC since version 3.4, and in CLang since 3.9; + // Intel compiler does not seem to support this + #define Standard_NODISCARD __attribute__((warn_unused_result)) +#else + #define Standard_NODISCARD +#endif + +//! @def Standard_UNUSED +//! Macro for marking variables / functions as possibly unused +//! so that compiler will not emit redundant "unused" warnings. +//! +//! Expands to "__attribute__((unused))" on GCC and CLang. +#if defined(__GNUC__) || defined(__clang__) + #define Standard_UNUSED __attribute__((unused)) +#else + #define Standard_UNUSED +#endif + +//! @def Standard_NOINLINE +//! Macro for disallowing function inlining. +//! Expands to "__attribute__((noinline))" on GCC and CLang. +#if defined(__clang__) \ + || (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))) + #define Standard_NOINLINE __attribute__((noinline)) +#elif defined(_MSC_VER) + #define Standard_NOINLINE __declspec(noinline) +#else + #define Standard_NOINLINE +#endif + +//! @def Standard_THREADLOCAL +//! Define Standard_THREADLOCAL modifier as C++11 thread_local keyword where it is available. +#if defined(__clang__) + // CLang version: standard CLang > 3.3 or XCode >= 8 (but excluding 32-bit ARM) + // Note: this has to be in separate #if to avoid failure of preprocessor on other platforms + #if __has_feature(cxx_thread_local) + #define Standard_THREADLOCAL thread_local + #endif +#elif defined(__INTEL_COMPILER) + #if (defined(_MSC_VER) && _MSC_VER >= 1900 && __INTEL_COMPILER > 1400) + // requires msvcrt vc14+ (Visual Studio 2015+) + #define Standard_THREADLOCAL thread_local + #elif (!defined(_MSC_VER) && __INTEL_COMPILER > 1500) + #define Standard_THREADLOCAL thread_local + #endif +#elif (defined(_MSC_VER) && _MSC_VER >= 1900) + // msvcrt coming with vc14+ (VS2015+) + #define Standard_THREADLOCAL thread_local +#elif (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8))) + // GCC >= 4.8 + #define Standard_THREADLOCAL thread_local +#endif + +#ifndef Standard_THREADLOCAL + #define Standard_THREADLOCAL +#endif + +//! @def Standard_DEPRECATED("message") +//! Can be used in declaration of a method or a class to mark it as deprecated. +//! Use of such method or class will cause compiler warning (if supported by +//! compiler and unless disabled). +//! If macro OCCT_NO_DEPRECATED is defined, Standard_DEPRECATED is defined empty. +#ifdef OCCT_NO_DEPRECATED + #define Standard_DEPRECATED(theMsg) +#else + #if defined(_MSC_VER) + #define Standard_DEPRECATED(theMsg) __declspec(deprecated(theMsg)) + #elif defined(__GNUC__) \ + && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) || defined(__clang__)) + #define Standard_DEPRECATED(theMsg) __attribute__((deprecated(theMsg))) + #elif defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) + #define Standard_DEPRECATED(theMsg) __attribute__((deprecated)) + #else + #define Standard_DEPRECATED(theMsg) + #endif +#endif + +//! @def Standard_DISABLE_DEPRECATION_WARNINGS +//! Disables warnings on use of deprecated features (see Standard_DEPRECATED), +//! from the current point till appearance of Standard_ENABLE_DEPRECATION_WARNINGS macro. +//! This is useful for sections of code kept for backward compatibility and scheduled for removal. +//! +//! @def Standard_ENABLE_DEPRECATION_WARNINGS +//! Enables warnings on use of deprecated features previously disabled by +//! Standard_DISABLE_DEPRECATION_WARNINGS. +#if defined(__ICL) || defined(__INTEL_COMPILER) + #define Standard_DISABLE_DEPRECATION_WARNINGS \ + __pragma(warning(push)) __pragma(warning(disable : 1478)) + #define Standard_ENABLE_DEPRECATION_WARNINGS __pragma(warning(pop)) +#elif (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))) \ + || defined(__clang__) + // available since at least gcc 4.2 (maybe earlier), however only gcc 4.6+ supports this pragma + // inside the function body CLang also supports this gcc syntax (in addition to "clang diagnostic + // ignored") + #define Standard_DISABLE_DEPRECATION_WARNINGS \ + _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") + #define Standard_ENABLE_DEPRECATION_WARNINGS \ + _Pragma("GCC diagnostic warning \"-Wdeprecated-declarations\"") +#elif defined(_MSC_VER) + #define Standard_DISABLE_DEPRECATION_WARNINGS \ + __pragma(warning(push)) __pragma(warning(disable : 4996)) + #define Standard_ENABLE_DEPRECATION_WARNINGS __pragma(warning(pop)) +#else + #define Standard_DISABLE_DEPRECATION_WARNINGS + #define Standard_ENABLE_DEPRECATION_WARNINGS +#endif + +#ifdef _WIN32 + + // We must be careful including windows.h: it is really poisonous stuff! + // The most annoying are #defines of many identifiers that you could use in + // normal code without knowing that Windows has its own knowledge of them... + // So lets protect ourselves by switching OFF as much as possible of this in advance. + // If someone needs more from windows.h, he is encouraged to #undef these symbols + // or include windows.h prior to any OCCT stuff. + // Note that we define each symbol to itself, so that it still can be used + // e.g. as name of variable, method etc. + #ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN /* exclude extra Windows stuff */ + #endif + #ifndef NOMINMAX + #define NOMINMAX NOMINMAX /* avoid #define min() and max() */ + #endif + #ifndef NOMSG + #define NOMSG NOMSG /* avoid #define SendMessage etc. */ + #endif + #ifndef NODRAWTEXT + #define NODRAWTEXT NODRAWTEXT /* avoid #define DrawText etc. */ + #endif + #ifndef NONLS + #define NONLS NONLS /* avoid #define CompareString etc. */ + #endif + #ifndef NOGDI + #define NOGDI NOGDI /* avoid #define SetPrinter (winspool.h) etc. */ + #endif + #ifndef NOSERVICE + #define NOSERVICE NOSERVICE + #endif + #ifndef NOKERNEL + #define NOKERNEL NOKERNEL + #endif + #ifndef NOUSER + #define NOUSER NOUSER + #endif + #ifndef NOMCX + #define NOMCX NOMCX + #endif + #ifndef NOIME + #define NOIME NOIME + #endif + +#endif + +//! @def Standard_EXPORT +//! This macro should be used in declarations of public methods +//! to ensure that they are exported from DLL on Windows and thus +//! can be called from other (dependent) libraries or applications. +//! +//! If macro OCCT_STATIC_BUILD is defined, then Standard_EXPORT +//! is set to empty. + +#if defined(_WIN32) && !defined(OCCT_STATIC_BUILD) && !defined(HAVE_NO_DLL) + + //====================================================== + // Windows-specific definitions + //====================================================== + + #ifndef Standard_EXPORT + #define Standard_EXPORT __declspec(dllexport) + // For global variables : + #define Standard_EXPORTEXTERN __declspec(dllexport) extern + #define Standard_EXPORTEXTERNC extern "C" __declspec(dllexport) + #endif /* Standard_EXPORT */ + + #ifndef Standard_IMPORT + #define Standard_IMPORT __declspec(dllimport) extern + #define Standard_IMPORTC extern "C" __declspec(dllimport) + #endif /* Standard_IMPORT */ + +#else /* UNIX */ + + //====================================================== + // UNIX / static library definitions + //====================================================== + + #ifndef Standard_EXPORT + #define Standard_EXPORT + // For global variables : + #define Standard_EXPORTEXTERN extern + #define Standard_EXPORTEXTERNC extern "C" + #endif /* Standard_EXPORT */ + + #ifndef Standard_IMPORT + #define Standard_IMPORT extern + #define Standard_IMPORTC extern "C" + #endif /* Standard_IMPORT */ + + // Compatibility with old SUN compilers + + // This preprocessor directive is a kludge to get around + // a bug in the Sun Workshop 5.0 compiler, it keeps the + // /usr/include/memory.h file from being #included + // with an incompatible extern "C" definition of memchr + // October 18, 2000 + #if __SUNPRO_CC_COMPAT == 5 + #define _MEMORY_H + #endif + +#endif /* _WIN32 */ + +//! @def Standard_HIDDEN +//! This macro should be used in declarations of methods or functions +//! to ensure that they are hidden and not exported from the shared library. +//! +//! Expands to "__attribute__((visibility("hidden")))" on GCC and Clang +#if defined(__has_attribute) + #if __has_attribute(visibility) + #define Standard_HIDDEN __attribute__((visibility("hidden"))) + #else + #define Standard_HIDDEN + #endif +#elif defined(__GNUC__) || defined(__clang__) + #define Standard_HIDDEN __attribute__((visibility("hidden"))) +#else + #define Standard_HIDDEN +#endif + +//! @def OCCT_UWP +//! This macro is defined on Windows platform in the case if the code +//! is being compiled for UWP (Universal Windows Platform). +#if defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_APP + #define OCCT_UWP +#else + #ifdef OCCT_UWP + #undef OCCT_UWP + #endif +#endif + +//! @def Standard_ATOMIC +//! Definition of Standard_ATOMIC for C++11 or visual studio that supports it. +//! Before usage there must be "atomic" included in the following way: +//! #ifdef Standard_HASATOMIC +//! #include +//! #endif +#if (defined(__cplusplus) && __cplusplus >= 201100L) || (defined(_MSC_VER) && _MSC_VER >= 1800) \ + || (defined(__GNUC__) && ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))) + #define Standard_HASATOMIC + #define Standard_ATOMIC(theType) std::atomic +#else + #define Standard_ATOMIC(theType) theType +#endif + +//! @def Standard_Noexcept +//! Definition of Standard_Noexcept: +//! if noexcept is accessible, Standard_Noexcept is "noexcept" and "throw()" otherwise. +#ifdef _MSC_VER + #if _MSC_VER >= 1900 + #define Standard_Noexcept noexcept + #else + #define Standard_Noexcept throw() + #endif +#else + #if __cplusplus >= 201103L + #define Standard_Noexcept noexcept + #else + #define Standard_Noexcept throw() + #endif +#endif + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_NumericError.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_NumericError.hxx new file mode 100644 index 0000000000000000000000000000000000000000..c6120c1360716eb073afb3a4676a94880703ff11 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_NumericError.hxx @@ -0,0 +1,38 @@ +// Created on: 1991-09-05 +// Created by: J.P. TIRAUlt +// 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. + +#ifndef _Standard_NumericError_HeaderFile +#define _Standard_NumericError_HeaderFile + +#include +#include +#include +#include + +class Standard_NumericError; +DEFINE_STANDARD_HANDLE(Standard_NumericError, Standard_Failure) + +#if !defined No_Exception && !defined No_Standard_NumericError + #define Standard_NumericError_Raise_if(CONDITION, MESSAGE) \ + if (CONDITION) \ + throw Standard_NumericError(MESSAGE); +#else + #define Standard_NumericError_Raise_if(CONDITION, MESSAGE) +#endif + +DEFINE_STANDARD_EXCEPTION(Standard_NumericError, Standard_Failure) + +#endif // _Standard_NumericError_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_OStream.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_OStream.hxx new file mode 100644 index 0000000000000000000000000000000000000000..add72572022b3cdecf3ca3bd5900bcc9e99d21da --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_OStream.hxx @@ -0,0 +1,22 @@ +// Copyright (c) 1998-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 _Standard_OStream_HeaderFile +#define _Standard_OStream_HeaderFile + +#include + +typedef std::ostream Standard_OStream; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_ThreadId.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_ThreadId.hxx new file mode 100644 index 0000000000000000000000000000000000000000..2da4686b04d786401966cf3922d24ed2264b0d5f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_ThreadId.hxx @@ -0,0 +1,22 @@ +// Created on: 2006-03-10 +// Created by: data exchange team +// Copyright (c) 2006-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 Standard_ThreadId_HeaderFile +#define Standard_ThreadId_HeaderFile + +// Platform-independent definition of the thread identifier type +typedef Standard_Size Standard_ThreadId; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_TypeMismatch.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_TypeMismatch.hxx new file mode 100644 index 0000000000000000000000000000000000000000..b6f8da4e8e4865e5c3641e1745097f6aa5aaffc0 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Standard_TypeMismatch.hxx @@ -0,0 +1,37 @@ +// Created on: 1991-09-05 +// Created by: J.P. TIRAUlt +// 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. + +#ifndef _Standard_TypeMismatch_HeaderFile +#define _Standard_TypeMismatch_HeaderFile + +#include +#include +#include + +class Standard_TypeMismatch; +DEFINE_STANDARD_HANDLE(Standard_TypeMismatch, Standard_DomainError) + +#if !defined No_Exception && !defined No_Standard_TypeMismatch + #define Standard_TypeMismatch_Raise_if(CONDITION, MESSAGE) \ + if (CONDITION) \ + throw Standard_TypeMismatch(MESSAGE); +#else + #define Standard_TypeMismatch_Raise_if(CONDITION, MESSAGE) +#endif + +DEFINE_STANDARD_EXCEPTION(Standard_TypeMismatch, Standard_DomainError) + +#endif // _Standard_TypeMismatch_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StdPersistent_Naming.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StdPersistent_Naming.hxx new file mode 100644 index 0000000000000000000000000000000000000000..f01473cc8a723a332a660e1972dc359061d91999 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StdPersistent_Naming.hxx @@ -0,0 +1,165 @@ +// Copyright (c) 2015 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 _StdPersistent_Naming_HeaderFile +#define _StdPersistent_Naming_HeaderFile + +#include +#include +#include +#include +#include + +#include + +class TNaming_Name; + +class StdPersistent_Naming +{ +public: + class NamedShape : public StdObjMgt_Attribute + { + public: + //! Read persistent data from a file. + inline void Read(StdObjMgt_ReadData& theReadData) + { + theReadData >> myOldShapes >> myNewShapes >> myShapeStatus >> myVersion; + } + + //! Read persistent data from a file. + inline void Write(StdObjMgt_WriteData& theWriteData) const + { + theWriteData << myOldShapes << myNewShapes << myShapeStatus << myVersion; + } + + //! Gets persistent child objects + inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const + { + if (!myOldShapes.IsNull()) + theChildren.Append(myOldShapes); + if (!myNewShapes.IsNull()) + theChildren.Append(myNewShapes); + } + + //! Returns persistent type name + inline Standard_CString PName() const { return "PNaming_NamedShape"; } + + //! Import transient attribute from the persistent data. + void Import(const Handle(TNaming_NamedShape)& theAttribute) const; + + private: + Handle(StdPersistent_HArray1::Shape1) myOldShapes; + Handle(StdPersistent_HArray1::Shape1) myNewShapes; + Standard_Integer myShapeStatus; + Standard_Integer myVersion; + }; + + class Name : public StdObjMgt_Persistent + { + public: + //! Read persistent data from a file. + Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + //! Read persistent data from a file. + Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + + //! Gets persistent child objects + inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const + { + if (!myArgs.IsNull()) + theChildren.Append(myArgs); + if (!myStop.IsNull()) + theChildren.Append(myStop); + } + + //! Returns persistent type name + inline Standard_CString PName() const { return "PNaming_Name"; } + + //! Import transient object from the persistent data. + Standard_EXPORT virtual void Import(TNaming_Name& theName, const Handle(TDF_Data)& theDF) const; + + private: + Standard_Integer myType; + Standard_Integer myShapeType; + Handle(StdLPersistent_HArray1::Persistent) myArgs; + Handle(StdObjMgt_Persistent) myStop; + Standard_Integer myIndex; + }; + + class Name_1 : public Name + { + public: + //! Read persistent data from a file. + Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + //! Read persistent data from a file. + Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + + //! Gets persistent child objects + inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const + { + Name::PChildren(theChildren); + if (!myContextLabel.IsNull()) + theChildren.Append(myContextLabel); + } + + //! Returns persistent type name + inline Standard_CString PName() const { return "PNaming_Name_1"; } + + //! Import transient object from the persistent data. + Standard_EXPORT virtual void Import(TNaming_Name& theName, const Handle(TDF_Data)& theDF) const; + + private: + Handle(StdLPersistent_HString::Ascii) myContextLabel; + }; + + class Name_2 : public Name_1 + { + public: + //! Read persistent data from a file. + Standard_EXPORT virtual void Read(StdObjMgt_ReadData& theReadData); + //! Read persistent data from a file. + Standard_EXPORT virtual void Write(StdObjMgt_WriteData& theWriteData) const; + + //! Gets persistent child objects + inline void PChildren(StdObjMgt_Persistent::SequenceOfPersistent& theChildren) const + { + Name_1::PChildren(theChildren); + } + + //! Returns persistent type name + inline Standard_CString PName() const { return "PNaming_Name_2"; } + + //! Import transient object from the persistent data. + Standard_EXPORT virtual void Import(TNaming_Name& theName, const Handle(TDF_Data)& theDF) const; + + private: + Standard_Integer myOrientation; + }; + + class Naming : public StdObjMgt_Attribute::SingleRef + { + public: + //! Import transient attribute from the persistent data. + Standard_EXPORT virtual void ImportAttribute(); + }; + + class Naming_1 : public Naming + { + public: + //! Import transient attribute from the persistent data. + Standard_EXPORT virtual void ImportAttribute(); + }; + + typedef Naming Naming_2; +}; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StdPrs_ToolVertex.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StdPrs_ToolVertex.hxx new file mode 100644 index 0000000000000000000000000000000000000000..488379dbbaadc24148f800d636cbb37645fe5f29 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StdPrs_ToolVertex.hxx @@ -0,0 +1,36 @@ +// Created on: 1994-05-18 +// Created by: Laurent PAINNOT +// 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. + +#ifndef _StdPrs_ToolVertex_HeaderFile +#define _StdPrs_ToolVertex_HeaderFile + +#include +#include + +class TopoDS_Vertex; + +class StdPrs_ToolVertex +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT static void Coord(const TopoDS_Vertex& aPoint, + Standard_Real& X, + Standard_Real& Y, + Standard_Real& Z); +}; + +#endif // _StdPrs_ToolVertex_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_ClassifiedItem.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_ClassifiedItem.hxx new file mode 100644 index 0000000000000000000000000000000000000000..419a57eacfaef612d10edfa4f6e54928e899e710 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_ClassifiedItem.hxx @@ -0,0 +1,55 @@ +// Created on: 1999-11-26 +// Created by: Andrey BETENEV +// Copyright (c) 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 _StepAP203_ClassifiedItem_HeaderFile +#define _StepAP203_ClassifiedItem_HeaderFile + +#include +#include +#include + +#include +#include +class Standard_Transient; +class StepBasic_ProductDefinitionFormation; +class StepRepr_AssemblyComponentUsage; + +//! Representation of STEP SELECT type ClassifiedItem +class StepAP203_ClassifiedItem : public StepData_SelectType +{ +public: + DEFINE_STANDARD_ALLOC + + //! Empty constructor + Standard_EXPORT StepAP203_ClassifiedItem(); + + //! Recognizes a kind of ClassifiedItem select type + //! 1 -> ProductDefinitionFormation from StepBasic + //! 2 -> AssemblyComponentUsage from StepRepr + //! 0 else + Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; + + //! Returns Value as ProductDefinitionFormation (or Null if another type) + Standard_EXPORT Handle(StepBasic_ProductDefinitionFormation) ProductDefinitionFormation() const; + + //! Returns Value as AssemblyComponentUsage (or Null if another type) + Standard_EXPORT Handle(StepRepr_AssemblyComponentUsage) AssemblyComponentUsage() const; + +protected: +private: +}; + +#endif // _StepAP203_ClassifiedItem_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_HArray1OfWorkItem.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_HArray1OfWorkItem.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e057e8f6226f0ddbc782bf794120c6c696e400b4 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_HArray1OfWorkItem.hxx @@ -0,0 +1,25 @@ +// Created on: 1999-11-09 +// Created by: data exchange team +// Copyright (c) 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 StepAP203_HArray1OfWorkItem_HeaderFile +#define StepAP203_HArray1OfWorkItem_HeaderFile + +#include +#include + +DEFINE_HARRAY1(StepAP203_HArray1OfWorkItem, StepAP203_Array1OfWorkItem) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_PersonOrganizationItem.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_PersonOrganizationItem.hxx new file mode 100644 index 0000000000000000000000000000000000000000..77fb229ddc190853c844799dccbe79e618bc5285 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_PersonOrganizationItem.hxx @@ -0,0 +1,95 @@ +// Created on: 1999-11-26 +// Created by: Andrey BETENEV +// Copyright (c) 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 _StepAP203_PersonOrganizationItem_HeaderFile +#define _StepAP203_PersonOrganizationItem_HeaderFile + +#include +#include +#include + +#include +#include +class Standard_Transient; +class StepAP203_Change; +class StepAP203_StartWork; +class StepAP203_ChangeRequest; +class StepAP203_StartRequest; +class StepRepr_ConfigurationItem; +class StepBasic_Product; +class StepBasic_ProductDefinitionFormation; +class StepBasic_ProductDefinition; +class StepBasic_Contract; +class StepBasic_SecurityClassification; + +//! Representation of STEP SELECT type PersonOrganizationItem +class StepAP203_PersonOrganizationItem : public StepData_SelectType +{ +public: + DEFINE_STANDARD_ALLOC + + //! Empty constructor + Standard_EXPORT StepAP203_PersonOrganizationItem(); + + //! Recognizes a kind of PersonOrganizationItem select type + //! 1 -> Change from StepAP203 + //! 2 -> StartWork from StepAP203 + //! 3 -> ChangeRequest from StepAP203 + //! 4 -> StartRequest from StepAP203 + //! 5 -> ConfigurationItem from StepRepr + //! 6 -> Product from StepBasic + //! 7 -> ProductDefinitionFormation from StepBasic + //! 8 -> ProductDefinition from StepBasic + //! 9 -> Contract from StepBasic + //! 10 -> SecurityClassification from StepBasic + //! 0 else + Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; + + //! Returns Value as Change (or Null if another type) + Standard_EXPORT Handle(StepAP203_Change) Change() const; + + //! Returns Value as StartWork (or Null if another type) + Standard_EXPORT Handle(StepAP203_StartWork) StartWork() const; + + //! Returns Value as ChangeRequest (or Null if another type) + Standard_EXPORT Handle(StepAP203_ChangeRequest) ChangeRequest() const; + + //! Returns Value as StartRequest (or Null if another type) + Standard_EXPORT Handle(StepAP203_StartRequest) StartRequest() const; + + //! Returns Value as ConfigurationItem (or Null if another type) + Standard_EXPORT Handle(StepRepr_ConfigurationItem) ConfigurationItem() const; + + //! Returns Value as Product (or Null if another type) + Standard_EXPORT Handle(StepBasic_Product) Product() const; + + //! Returns Value as ProductDefinitionFormation (or Null if another type) + Standard_EXPORT Handle(StepBasic_ProductDefinitionFormation) ProductDefinitionFormation() const; + + //! Returns Value as ProductDefinition (or Null if another type) + Standard_EXPORT Handle(StepBasic_ProductDefinition) ProductDefinition() const; + + //! Returns Value as Contract (or Null if another type) + Standard_EXPORT Handle(StepBasic_Contract) Contract() const; + + //! Returns Value as SecurityClassification (or Null if another type) + Standard_EXPORT Handle(StepBasic_SecurityClassification) SecurityClassification() const; + +protected: +private: +}; + +#endif // _StepAP203_PersonOrganizationItem_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_StartRequest.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_StartRequest.hxx new file mode 100644 index 0000000000000000000000000000000000000000..46101f51eae5784748f4186a8e5603b066dc1b66 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP203_StartRequest.hxx @@ -0,0 +1,55 @@ +// Created on: 1999-11-26 +// Created by: Andrey BETENEV +// Copyright (c) 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 _StepAP203_StartRequest_HeaderFile +#define _StepAP203_StartRequest_HeaderFile + +#include + +#include +#include +class StepBasic_VersionedActionRequest; + +class StepAP203_StartRequest; +DEFINE_STANDARD_HANDLE(StepAP203_StartRequest, StepBasic_ActionRequestAssignment) + +//! Representation of STEP entity StartRequest +class StepAP203_StartRequest : public StepBasic_ActionRequestAssignment +{ + +public: + //! Empty constructor + Standard_EXPORT StepAP203_StartRequest(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init( + const Handle(StepBasic_VersionedActionRequest)& aActionRequestAssignment_AssignedActionRequest, + const Handle(StepAP203_HArray1OfStartRequestItem)& aItems); + + //! Returns field Items + Standard_EXPORT Handle(StepAP203_HArray1OfStartRequestItem) Items() const; + + //! Set field Items + Standard_EXPORT void SetItems(const Handle(StepAP203_HArray1OfStartRequestItem)& Items); + + DEFINE_STANDARD_RTTIEXT(StepAP203_StartRequest, StepBasic_ActionRequestAssignment) + +protected: +private: + Handle(StepAP203_HArray1OfStartRequestItem) theItems; +}; + +#endif // _StepAP203_StartRequest_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP214_HArray1OfAutoDesignGeneralOrgItem.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP214_HArray1OfAutoDesignGeneralOrgItem.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d69f166e7440b72829f1e4410c4bb504aa9bac64 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepAP214_HArray1OfAutoDesignGeneralOrgItem.hxx @@ -0,0 +1,26 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 StepAP214_HArray1OfAutoDesignGeneralOrgItem_HeaderFile +#define StepAP214_HArray1OfAutoDesignGeneralOrgItem_HeaderFile + +#include +#include + +DEFINE_HARRAY1(StepAP214_HArray1OfAutoDesignGeneralOrgItem, + StepAP214_Array1OfAutoDesignGeneralOrgItem) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_CalendarDate.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_CalendarDate.hxx new file mode 100644 index 0000000000000000000000000000000000000000..03796f77579427cc2a9560900d5f7e19b34bb052 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_CalendarDate.hxx @@ -0,0 +1,56 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepBasic_CalendarDate_HeaderFile +#define _StepBasic_CalendarDate_HeaderFile + +#include +#include + +#include +#include + +class StepBasic_CalendarDate; +DEFINE_STANDARD_HANDLE(StepBasic_CalendarDate, StepBasic_Date) + +class StepBasic_CalendarDate : public StepBasic_Date +{ + +public: + //! Returns a CalendarDate + Standard_EXPORT StepBasic_CalendarDate(); + + Standard_EXPORT void Init(const Standard_Integer aYearComponent, + const Standard_Integer aDayComponent, + const Standard_Integer aMonthComponent); + + Standard_EXPORT void SetDayComponent(const Standard_Integer aDayComponent); + + Standard_EXPORT Standard_Integer DayComponent() const; + + Standard_EXPORT void SetMonthComponent(const Standard_Integer aMonthComponent); + + Standard_EXPORT Standard_Integer MonthComponent() const; + + DEFINE_STANDARD_RTTIEXT(StepBasic_CalendarDate, StepBasic_Date) + +protected: +private: + Standard_Integer dayComponent; + Standard_Integer monthComponent; +}; + +#endif // _StepBasic_CalendarDate_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_Document.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_Document.hxx new file mode 100644 index 0000000000000000000000000000000000000000..071eb30be33d97442d52e4d8723eaa1739e95200 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_Document.hxx @@ -0,0 +1,83 @@ +// Created on: 2000-05-11 +// Created by: data exchange team +// Copyright (c) 2000-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 _StepBasic_Document_HeaderFile +#define _StepBasic_Document_HeaderFile + +#include +#include + +#include +#include +class TCollection_HAsciiString; +class StepBasic_DocumentType; + +class StepBasic_Document; +DEFINE_STANDARD_HANDLE(StepBasic_Document, Standard_Transient) + +//! Representation of STEP entity Document +class StepBasic_Document : public Standard_Transient +{ + +public: + //! Empty constructor + Standard_EXPORT StepBasic_Document(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aId, + const Handle(TCollection_HAsciiString)& aName, + const Standard_Boolean hasDescription, + const Handle(TCollection_HAsciiString)& aDescription, + const Handle(StepBasic_DocumentType)& aKind); + + //! Returns field Id + Standard_EXPORT Handle(TCollection_HAsciiString) Id() const; + + //! Set field Id + Standard_EXPORT void SetId(const Handle(TCollection_HAsciiString)& Id); + + //! Returns field Name + Standard_EXPORT Handle(TCollection_HAsciiString) Name() const; + + //! Set field Name + Standard_EXPORT void SetName(const Handle(TCollection_HAsciiString)& Name); + + //! Returns field Description + Standard_EXPORT Handle(TCollection_HAsciiString) Description() const; + + //! Set field Description + Standard_EXPORT void SetDescription(const Handle(TCollection_HAsciiString)& Description); + + //! Returns True if optional field Description is defined + Standard_EXPORT Standard_Boolean HasDescription() const; + + //! Returns field Kind + Standard_EXPORT Handle(StepBasic_DocumentType) Kind() const; + + //! Set field Kind + Standard_EXPORT void SetKind(const Handle(StepBasic_DocumentType)& Kind); + + DEFINE_STANDARD_RTTIEXT(StepBasic_Document, Standard_Transient) + +protected: +private: + Handle(TCollection_HAsciiString) theId; + Handle(TCollection_HAsciiString) theName; + Handle(TCollection_HAsciiString) theDescription; + Handle(StepBasic_DocumentType) theKind; + Standard_Boolean defDescription; +}; + +#endif // _StepBasic_Document_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_DocumentProductAssociation.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_DocumentProductAssociation.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d832bbc6aad6ba1a072e59d15fb3f1c4ae27f803 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_DocumentProductAssociation.hxx @@ -0,0 +1,84 @@ +// Created on: 2003-01-28 +// Created by: data exchange team +// Copyright (c) 2003-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 _StepBasic_DocumentProductAssociation_HeaderFile +#define _StepBasic_DocumentProductAssociation_HeaderFile + +#include +#include + +#include +#include +class TCollection_HAsciiString; +class StepBasic_Document; + +class StepBasic_DocumentProductAssociation; +DEFINE_STANDARD_HANDLE(StepBasic_DocumentProductAssociation, Standard_Transient) + +//! Representation of STEP entity DocumentProductAssociation +class StepBasic_DocumentProductAssociation : public Standard_Transient +{ + +public: + //! Empty constructor + Standard_EXPORT StepBasic_DocumentProductAssociation(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aName, + const Standard_Boolean hasDescription, + const Handle(TCollection_HAsciiString)& aDescription, + const Handle(StepBasic_Document)& aRelatingDocument, + const StepBasic_ProductOrFormationOrDefinition& aRelatedProduct); + + //! Returns field Name + Standard_EXPORT Handle(TCollection_HAsciiString) Name() const; + + //! Set field Name + Standard_EXPORT void SetName(const Handle(TCollection_HAsciiString)& Name); + + //! Returns field Description + Standard_EXPORT Handle(TCollection_HAsciiString) Description() const; + + //! Set field Description + Standard_EXPORT void SetDescription(const Handle(TCollection_HAsciiString)& Description); + + //! Returns True if optional field Description is defined + Standard_EXPORT Standard_Boolean HasDescription() const; + + //! Returns field RelatingDocument + Standard_EXPORT Handle(StepBasic_Document) RelatingDocument() const; + + //! Set field RelatingDocument + Standard_EXPORT void SetRelatingDocument(const Handle(StepBasic_Document)& RelatingDocument); + + //! Returns field RelatedProduct + Standard_EXPORT StepBasic_ProductOrFormationOrDefinition RelatedProduct() const; + + //! Set field RelatedProduct + Standard_EXPORT void SetRelatedProduct( + const StepBasic_ProductOrFormationOrDefinition& RelatedProduct); + + DEFINE_STANDARD_RTTIEXT(StepBasic_DocumentProductAssociation, Standard_Transient) + +protected: +private: + Handle(TCollection_HAsciiString) theName; + Handle(TCollection_HAsciiString) theDescription; + Handle(StepBasic_Document) theRelatingDocument; + StepBasic_ProductOrFormationOrDefinition theRelatedProduct; + Standard_Boolean defDescription; +}; + +#endif // _StepBasic_DocumentProductAssociation_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_DocumentRelationship.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_DocumentRelationship.hxx new file mode 100644 index 0000000000000000000000000000000000000000..3fd64286e49e966ae94f43d3bf36c9863e1655eb --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_DocumentRelationship.hxx @@ -0,0 +1,67 @@ +// Created on: 1998-06-30 +// Created by: Christian CAILLET +// Copyright (c) 1998-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 _StepBasic_DocumentRelationship_HeaderFile +#define _StepBasic_DocumentRelationship_HeaderFile + +#include +#include + +#include +class TCollection_HAsciiString; +class StepBasic_Document; + +class StepBasic_DocumentRelationship; +DEFINE_STANDARD_HANDLE(StepBasic_DocumentRelationship, Standard_Transient) + +class StepBasic_DocumentRelationship : public Standard_Transient +{ + +public: + Standard_EXPORT StepBasic_DocumentRelationship(); + + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aName, + const Handle(TCollection_HAsciiString)& aDescription, + const Handle(StepBasic_Document)& aRelating, + const Handle(StepBasic_Document)& aRelated); + + Standard_EXPORT Handle(TCollection_HAsciiString) Name() const; + + Standard_EXPORT void SetName(const Handle(TCollection_HAsciiString)& aName); + + Standard_EXPORT Handle(TCollection_HAsciiString) Description() const; + + Standard_EXPORT void SetDescription(const Handle(TCollection_HAsciiString)& aDescription); + + Standard_EXPORT Handle(StepBasic_Document) RelatingDocument() const; + + Standard_EXPORT void SetRelatingDocument(const Handle(StepBasic_Document)& aRelating); + + Standard_EXPORT Handle(StepBasic_Document) RelatedDocument() const; + + Standard_EXPORT void SetRelatedDocument(const Handle(StepBasic_Document)& aRelated); + + DEFINE_STANDARD_RTTIEXT(StepBasic_DocumentRelationship, Standard_Transient) + +protected: +private: + Handle(TCollection_HAsciiString) theName; + Handle(TCollection_HAsciiString) theDescription; + Handle(StepBasic_Document) theRelating; + Handle(StepBasic_Document) theRelated; +}; + +#endif // _StepBasic_DocumentRelationship_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_ExternalSource.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_ExternalSource.hxx new file mode 100644 index 0000000000000000000000000000000000000000..af6960800ab05ef61109358abe07db23459abe01 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_ExternalSource.hxx @@ -0,0 +1,51 @@ +// Created on: 2000-05-10 +// Created by: Andrey BETENEV +// Copyright (c) 2000-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 _StepBasic_ExternalSource_HeaderFile +#define _StepBasic_ExternalSource_HeaderFile + +#include + +#include +#include + +class StepBasic_ExternalSource; +DEFINE_STANDARD_HANDLE(StepBasic_ExternalSource, Standard_Transient) + +//! Representation of STEP entity ExternalSource +class StepBasic_ExternalSource : public Standard_Transient +{ + +public: + //! Empty constructor + Standard_EXPORT StepBasic_ExternalSource(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const StepBasic_SourceItem& aSourceId); + + //! Returns field SourceId + Standard_EXPORT StepBasic_SourceItem SourceId() const; + + //! Set field SourceId + Standard_EXPORT void SetSourceId(const StepBasic_SourceItem& SourceId); + + DEFINE_STANDARD_RTTIEXT(StepBasic_ExternalSource, Standard_Transient) + +protected: +private: + StepBasic_SourceItem theSourceId; +}; + +#endif // _StepBasic_ExternalSource_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_Group.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_Group.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9c96a6ffbec1630a6bcf3d1883e24a21925ff319 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_Group.hxx @@ -0,0 +1,66 @@ +// Created on: 2000-05-10 +// Created by: Andrey BETENEV +// Copyright (c) 2000-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 _StepBasic_Group_HeaderFile +#define _StepBasic_Group_HeaderFile + +#include +#include + +#include +#include +class TCollection_HAsciiString; + +class StepBasic_Group; +DEFINE_STANDARD_HANDLE(StepBasic_Group, Standard_Transient) + +//! Representation of STEP entity Group +class StepBasic_Group : public Standard_Transient +{ + +public: + //! Empty constructor + Standard_EXPORT StepBasic_Group(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aName, + const Standard_Boolean hasDescription, + const Handle(TCollection_HAsciiString)& aDescription); + + //! Returns field Name + Standard_EXPORT Handle(TCollection_HAsciiString) Name() const; + + //! Set field Name + Standard_EXPORT void SetName(const Handle(TCollection_HAsciiString)& Name); + + //! Returns field Description + Standard_EXPORT Handle(TCollection_HAsciiString) Description() const; + + //! Set field Description + Standard_EXPORT void SetDescription(const Handle(TCollection_HAsciiString)& Description); + + //! Returns True if optional field Description is defined + Standard_EXPORT Standard_Boolean HasDescription() const; + + DEFINE_STANDARD_RTTIEXT(StepBasic_Group, Standard_Transient) + +protected: +private: + Handle(TCollection_HAsciiString) theName; + Handle(TCollection_HAsciiString) theDescription; + Standard_Boolean defDescription; +}; + +#endif // _StepBasic_Group_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_HArray1OfNamedUnit.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_HArray1OfNamedUnit.hxx new file mode 100644 index 0000000000000000000000000000000000000000..29e78b1ae0d3c9aa1192e0e49930317b02c43fa3 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_HArray1OfNamedUnit.hxx @@ -0,0 +1,25 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 StepBasic_HArray1OfNamedUnit_HeaderFile +#define StepBasic_HArray1OfNamedUnit_HeaderFile + +#include +#include + +DEFINE_HARRAY1(StepBasic_HArray1OfNamedUnit, StepBasic_Array1OfNamedUnit) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_MeasureWithUnit.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_MeasureWithUnit.hxx new file mode 100644 index 0000000000000000000000000000000000000000..dcc8b98d57a7265154b58a8fae721be94d23fa0d --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_MeasureWithUnit.hxx @@ -0,0 +1,60 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepBasic_MeasureWithUnit_HeaderFile +#define _StepBasic_MeasureWithUnit_HeaderFile + +#include +#include + +#include +#include +class StepBasic_MeasureValueMember; + +class StepBasic_MeasureWithUnit; +DEFINE_STANDARD_HANDLE(StepBasic_MeasureWithUnit, Standard_Transient) + +class StepBasic_MeasureWithUnit : public Standard_Transient +{ + +public: + //! Returns a MeasureWithUnit + Standard_EXPORT StepBasic_MeasureWithUnit(); + + Standard_EXPORT void Init(const Handle(StepBasic_MeasureValueMember)& aValueComponent, + const StepBasic_Unit& aUnitComponent); + + Standard_EXPORT void SetValueComponent(const Standard_Real aValueComponent); + + Standard_EXPORT Standard_Real ValueComponent() const; + + Standard_EXPORT Handle(StepBasic_MeasureValueMember) ValueComponentMember() const; + + Standard_EXPORT void SetValueComponentMember(const Handle(StepBasic_MeasureValueMember)& val); + + Standard_EXPORT void SetUnitComponent(const StepBasic_Unit& aUnitComponent); + + Standard_EXPORT StepBasic_Unit UnitComponent() const; + + DEFINE_STANDARD_RTTIEXT(StepBasic_MeasureWithUnit, Standard_Transient) + +protected: +private: + Handle(StepBasic_MeasureValueMember) valueComponent; + StepBasic_Unit unitComponent; +}; + +#endif // _StepBasic_MeasureWithUnit_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_NameAssignment.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_NameAssignment.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e5993107c24c20f4a928f19580c7518a69dd4af3 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_NameAssignment.hxx @@ -0,0 +1,52 @@ +// Created on: 2000-05-10 +// Created by: Andrey BETENEV +// Copyright (c) 2000-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 _StepBasic_NameAssignment_HeaderFile +#define _StepBasic_NameAssignment_HeaderFile + +#include +#include + +#include +class TCollection_HAsciiString; + +class StepBasic_NameAssignment; +DEFINE_STANDARD_HANDLE(StepBasic_NameAssignment, Standard_Transient) + +//! Representation of STEP entity NameAssignment +class StepBasic_NameAssignment : public Standard_Transient +{ + +public: + //! Empty constructor + Standard_EXPORT StepBasic_NameAssignment(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aAssignedName); + + //! Returns field AssignedName + Standard_EXPORT Handle(TCollection_HAsciiString) AssignedName() const; + + //! Set field AssignedName + Standard_EXPORT void SetAssignedName(const Handle(TCollection_HAsciiString)& AssignedName); + + DEFINE_STANDARD_RTTIEXT(StepBasic_NameAssignment, Standard_Transient) + +protected: +private: + Handle(TCollection_HAsciiString) theAssignedName; +}; + +#endif // _StepBasic_NameAssignment_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_OrganizationRole.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_OrganizationRole.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9f88600f39554c99f53b9e0af7465d687032930a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_OrganizationRole.hxx @@ -0,0 +1,49 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepBasic_OrganizationRole_HeaderFile +#define _StepBasic_OrganizationRole_HeaderFile + +#include +#include + +#include +class TCollection_HAsciiString; + +class StepBasic_OrganizationRole; +DEFINE_STANDARD_HANDLE(StepBasic_OrganizationRole, Standard_Transient) + +class StepBasic_OrganizationRole : public Standard_Transient +{ + +public: + //! Returns a OrganizationRole + Standard_EXPORT StepBasic_OrganizationRole(); + + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aName); + + Standard_EXPORT void SetName(const Handle(TCollection_HAsciiString)& aName); + + Standard_EXPORT Handle(TCollection_HAsciiString) Name() const; + + DEFINE_STANDARD_RTTIEXT(StepBasic_OrganizationRole, Standard_Transient) + +protected: +private: + Handle(TCollection_HAsciiString) name; +}; + +#endif // _StepBasic_OrganizationRole_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_RatioUnit.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_RatioUnit.hxx new file mode 100644 index 0000000000000000000000000000000000000000..45f0f55222d4ec0146fd9b17c040b392482e1b71 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepBasic_RatioUnit.hxx @@ -0,0 +1,41 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepBasic_RatioUnit_HeaderFile +#define _StepBasic_RatioUnit_HeaderFile + +#include +#include + +#include + +class StepBasic_RatioUnit; +DEFINE_STANDARD_HANDLE(StepBasic_RatioUnit, StepBasic_NamedUnit) + +class StepBasic_RatioUnit : public StepBasic_NamedUnit +{ + +public: + //! Returns a RatioUnit + Standard_EXPORT StepBasic_RatioUnit(); + + DEFINE_STANDARD_RTTIEXT(StepBasic_RatioUnit, StepBasic_NamedUnit) + +protected: +private: +}; + +#endif // _StepBasic_RatioUnit_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepData_SelectArrReal.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepData_SelectArrReal.hxx new file mode 100644 index 0000000000000000000000000000000000000000..8795bc425df066e69033bd1a641b7716bc4374eb --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepData_SelectArrReal.hxx @@ -0,0 +1,47 @@ +// Created on: 2002-12-18 +// Created by: data exchange team +// Copyright (c) 2002-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 _StepData_SelectArrReal_HeaderFile +#define _StepData_SelectArrReal_HeaderFile + +#include + +#include +#include +#include + +class StepData_SelectArrReal; +DEFINE_STANDARD_HANDLE(StepData_SelectArrReal, StepData_SelectNamed) + +class StepData_SelectArrReal : public StepData_SelectNamed +{ + +public: + Standard_EXPORT StepData_SelectArrReal(); + + Standard_EXPORT virtual Standard_Integer Kind() const Standard_OVERRIDE; + + Standard_EXPORT Handle(TColStd_HArray1OfReal) ArrReal() const; + + Standard_EXPORT void SetArrReal(const Handle(TColStd_HArray1OfReal)& arr); + + DEFINE_STANDARD_RTTIEXT(StepData_SelectArrReal, StepData_SelectNamed) + +protected: +private: + Handle(TColStd_HArray1OfReal) theArr; +}; + +#endif // _StepData_SelectArrReal_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepData_SelectNamed.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepData_SelectNamed.hxx new file mode 100644 index 0000000000000000000000000000000000000000..725b37cb3b170a95d1d3845a933ff299021233d1 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepData_SelectNamed.hxx @@ -0,0 +1,79 @@ +// Created on: 1996-12-16 +// Created by: Christian CAILLET +// Copyright (c) 1996-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 _StepData_SelectNamed_HeaderFile +#define _StepData_SelectNamed_HeaderFile + +#include + +#include +#include +#include +#include +#include +#include + +class StepData_SelectNamed; +DEFINE_STANDARD_HANDLE(StepData_SelectNamed, StepData_SelectMember) + +//! This select member can be of any kind, and be named +//! But its takes more memory than some specialised ones +//! This class allows one name for the instance +class StepData_SelectNamed : public StepData_SelectMember +{ + +public: + Standard_EXPORT StepData_SelectNamed(); + + Standard_EXPORT virtual Standard_Boolean HasName() const Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_CString Name() const Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_Boolean SetName(const Standard_CString name) Standard_OVERRIDE; + + Standard_EXPORT const StepData_Field& Field() const; + + Standard_EXPORT StepData_Field& CField(); + + Standard_EXPORT virtual Standard_Integer Kind() const Standard_OVERRIDE; + + Standard_EXPORT virtual void SetKind(const Standard_Integer kind) Standard_OVERRIDE; + + //! This internal method gives access to a value implemented by an + //! Integer (to read it) + Standard_EXPORT virtual Standard_Integer Int() const Standard_OVERRIDE; + + //! This internal method gives access to a value implemented by an + //! Integer (to set it) + Standard_EXPORT virtual void SetInt(const Standard_Integer val) Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_Real Real() const Standard_OVERRIDE; + + Standard_EXPORT virtual void SetReal(const Standard_Real val) Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_CString String() const Standard_OVERRIDE; + + Standard_EXPORT virtual void SetString(const Standard_CString val) Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(StepData_SelectNamed, StepData_SelectMember) + +protected: +private: + TCollection_AsciiString thename; + StepData_Field theval; +}; + +#endif // _StepData_SelectNamed_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_CommonDatum.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_CommonDatum.hxx new file mode 100644 index 0000000000000000000000000000000000000000..b7bcb43c193405168875859578055381d84fd306 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_CommonDatum.hxx @@ -0,0 +1,63 @@ +// Created on: 2003-06-04 +// Created by: Galina KULIKOVA +// Copyright (c) 2003-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 _StepDimTol_CommonDatum_HeaderFile +#define _StepDimTol_CommonDatum_HeaderFile + +#include +#include + +#include +#include +class StepDimTol_Datum; +class TCollection_HAsciiString; +class StepRepr_ProductDefinitionShape; + +class StepDimTol_CommonDatum; +DEFINE_STANDARD_HANDLE(StepDimTol_CommonDatum, StepRepr_CompositeShapeAspect) + +//! Representation of STEP entity CommonDatum +class StepDimTol_CommonDatum : public StepRepr_CompositeShapeAspect +{ + +public: + //! Empty constructor + Standard_EXPORT StepDimTol_CommonDatum(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theShapeAspect_Name, + const Handle(TCollection_HAsciiString)& theShapeAspect_Description, + const Handle(StepRepr_ProductDefinitionShape)& theShapeAspect_OfShape, + const StepData_Logical theShapeAspect_ProductDefinitional, + const Handle(TCollection_HAsciiString)& theDatum_Name, + const Handle(TCollection_HAsciiString)& theDatum_Description, + const Handle(StepRepr_ProductDefinitionShape)& theDatum_OfShape, + const StepData_Logical theDatum_ProductDefinitional, + const Handle(TCollection_HAsciiString)& theDatum_Identification); + + //! Returns data for supertype Datum + Standard_EXPORT Handle(StepDimTol_Datum) Datum() const; + + //! Set data for supertype Datum + Standard_EXPORT void SetDatum(const Handle(StepDimTol_Datum)& theDatum); + + DEFINE_STANDARD_RTTIEXT(StepDimTol_CommonDatum, StepRepr_CompositeShapeAspect) + +protected: +private: + Handle(StepDimTol_Datum) myDatum; +}; + +#endif // _StepDimTol_CommonDatum_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_CylindricityTolerance.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_CylindricityTolerance.hxx new file mode 100644 index 0000000000000000000000000000000000000000..6ae713df6473c4dca8e7cbaead91893aa059d3e3 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_CylindricityTolerance.hxx @@ -0,0 +1,40 @@ +// Created on: 2003-06-04 +// Created by: Galina KULIKOVA +// Copyright (c) 2003-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 _StepDimTol_CylindricityTolerance_HeaderFile +#define _StepDimTol_CylindricityTolerance_HeaderFile + +#include + +#include + +class StepDimTol_CylindricityTolerance; +DEFINE_STANDARD_HANDLE(StepDimTol_CylindricityTolerance, StepDimTol_GeometricTolerance) + +//! Representation of STEP entity CylindricityTolerance +class StepDimTol_CylindricityTolerance : public StepDimTol_GeometricTolerance +{ + +public: + //! Empty constructor + Standard_EXPORT StepDimTol_CylindricityTolerance(); + + DEFINE_STANDARD_RTTIEXT(StepDimTol_CylindricityTolerance, StepDimTol_GeometricTolerance) + +protected: +private: +}; + +#endif // _StepDimTol_CylindricityTolerance_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_DatumReferenceModifier.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_DatumReferenceModifier.hxx new file mode 100644 index 0000000000000000000000000000000000000000..b52f8c8c72557f4bfbb2855fe58551f3b008368f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_DatumReferenceModifier.hxx @@ -0,0 +1,51 @@ +// Created on: 2015-07-16 +// Created by: Irina KRYLOVA +// Copyright (c) 2015 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 _StepDimTol_DatumReferenceModifier_HeaderFile +#define _StepDimTol_DatumReferenceModifier_HeaderFile + +#include +#include +#include + +#include +#include +#include + +class Standard_Transient; + +class StepDimTol_DatumReferenceModifier : public StepData_SelectType +{ +public: + DEFINE_STANDARD_ALLOC + + //! Returns a DatumReferenceModifier select type + Standard_EXPORT StepDimTol_DatumReferenceModifier(); + + //! Recognizes a DatumReferenceModifier Kind Entity that is : + //! 1 -> DatumReferenceModifierWithValue + //! 2 -> SimpleDatumReferenceModifierMember + //! 0 else + Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; + + //! returns Value as a DatumReferenceModifierWithValue (Null if another type) + Standard_EXPORT Handle(StepDimTol_DatumReferenceModifierWithValue) + DatumReferenceModifierWithValue() const; + + //! returns Value as a SimpleDatumReferenceModifierMember (Null if another type) + Standard_EXPORT Handle(StepDimTol_SimpleDatumReferenceModifierMember) + SimpleDatumReferenceModifierMember() const; +}; +#endif // _StepDimTol_DatumReferenceModifier_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_GeometricToleranceWithModifiers.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_GeometricToleranceWithModifiers.hxx new file mode 100644 index 0000000000000000000000000000000000000000..bbb1833a1a49a191473b49a0b30abb0c7e2d461f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_GeometricToleranceWithModifiers.hxx @@ -0,0 +1,84 @@ +// Created on: 2015-07-07 +// Created by: Irina KRYLOVA +// Copyright (c) 2015 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 _StepDimTol_GeometricToleranceWithModifiers_HeaderFile +#define _StepDimTol_GeometricToleranceWithModifiers_HeaderFile + +#include + +#include +#include +#include + +class TCollection_HAsciiString; +class StepBasic_MeasureWithUnit; +class StepDimTol_GeometricToleranceTarget; + +class StepDimTol_GeometricToleranceWithModifiers; +DEFINE_STANDARD_HANDLE(StepDimTol_GeometricToleranceWithModifiers, StepDimTol_GeometricTolerance) + +//! Representation of STEP entity GeometricToleranceWithModifiers +class StepDimTol_GeometricToleranceWithModifiers : public StepDimTol_GeometricTolerance +{ + +public: + //! Empty constructor + Standard_EXPORT StepDimTol_GeometricToleranceWithModifiers(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init( + const Handle(TCollection_HAsciiString)& theName, + const Handle(TCollection_HAsciiString)& theDescription, + const Handle(StepBasic_MeasureWithUnit)& theMagnitude, + const StepDimTol_GeometricToleranceTarget& theTolerancedShapeAspect, + const Handle(StepDimTol_HArray1OfGeometricToleranceModifier)& theModifiers); + + //! Returns field Modifiers + inline Handle(StepDimTol_HArray1OfGeometricToleranceModifier) Modifiers() const + { + return myModifiers; + } + + //! Set field Modifiers + inline void SetModifiers( + const Handle(StepDimTol_HArray1OfGeometricToleranceModifier)& theModifiers) + { + myModifiers = theModifiers; + } + + //! Returns number of modifiers + inline Standard_Integer NbModifiers() const + { + return (myModifiers.IsNull() ? 0 : myModifiers->Length()); + } + + //! Returns modifier with the given number + inline StepDimTol_GeometricToleranceModifier ModifierValue(const Standard_Integer theNum) const + { + return myModifiers->Value(theNum); + } + + //! Sets modifier with given number + inline void SetModifierValue(const Standard_Integer theNum, + const StepDimTol_GeometricToleranceModifier theItem) + { + myModifiers->SetValue(theNum, theItem); + } + DEFINE_STANDARD_RTTIEXT(StepDimTol_GeometricToleranceWithModifiers, StepDimTol_GeometricTolerance) + +private: + Handle(StepDimTol_HArray1OfGeometricToleranceModifier) myModifiers; +}; +#endif // _StepDimTol_GeometricToleranceWithModifiers_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_SimpleDatumReferenceModifierMember.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_SimpleDatumReferenceModifierMember.hxx new file mode 100644 index 0000000000000000000000000000000000000000..54c26a6714a94bfe3cbee66df0afc0d75d627dbe --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepDimTol_SimpleDatumReferenceModifierMember.hxx @@ -0,0 +1,64 @@ +// Created on: 2015-07-16 +// Created by: Irina KRYLOVA +// Copyright (c) 2015 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 _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile +#define _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile + +#include +#include + +#include +#include +#include +#include +#include + +class StepDimTol_SimpleDatumReferenceModifierMember; +DEFINE_STANDARD_HANDLE(StepDimTol_SimpleDatumReferenceModifierMember, StepData_SelectInt) + +//! Defines SimpleDatumReferenceModifier as unique member of DatumReferenceModifier +//! Works with an EnumTool +class StepDimTol_SimpleDatumReferenceModifierMember : public StepData_SelectInt +{ + +public: + Standard_EXPORT StepDimTol_SimpleDatumReferenceModifierMember(); + + virtual Standard_Boolean HasName() const Standard_OVERRIDE { return Standard_True; } + + virtual Standard_CString Name() const Standard_OVERRIDE + { + return "SIMPLE_DATUM_REFERENCE_MODIFIER"; + } + + virtual Standard_Boolean SetName(const Standard_CString /*theName*/) Standard_OVERRIDE + { + return Standard_True; + } + + Standard_Integer Kind() const Standard_OVERRIDE { return 4; } + + Standard_EXPORT virtual Standard_CString EnumText() const Standard_OVERRIDE; + + Standard_EXPORT virtual void SetEnumText(const Standard_Integer theValue, + const Standard_CString theText) Standard_OVERRIDE; + + Standard_EXPORT void SetValue(const StepDimTol_SimpleDatumReferenceModifier theValue); + + Standard_EXPORT StepDimTol_SimpleDatumReferenceModifier Value() const; + + DEFINE_STANDARD_RTTIEXT(StepDimTol_SimpleDatumReferenceModifierMember, StepData_SelectInt) +}; +#endif // _StepDimTol_SimpleDatumReferenceModifierMember_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_AnalysisItemWithinRepresentation.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_AnalysisItemWithinRepresentation.hxx new file mode 100644 index 0000000000000000000000000000000000000000..40cb20e5f15b0676f6273a784326ff88629b0ada --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_AnalysisItemWithinRepresentation.hxx @@ -0,0 +1,78 @@ +// Created on: 2002-12-12 +// Created by: data exchange team +// Copyright (c) 2002-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 _StepElement_AnalysisItemWithinRepresentation_HeaderFile +#define _StepElement_AnalysisItemWithinRepresentation_HeaderFile + +#include +#include + +#include +class TCollection_HAsciiString; +class StepRepr_RepresentationItem; +class StepRepr_Representation; + +class StepElement_AnalysisItemWithinRepresentation; +DEFINE_STANDARD_HANDLE(StepElement_AnalysisItemWithinRepresentation, Standard_Transient) + +//! Representation of STEP entity AnalysisItemWithinRepresentation +class StepElement_AnalysisItemWithinRepresentation : public Standard_Transient +{ + +public: + //! Empty constructor + Standard_EXPORT StepElement_AnalysisItemWithinRepresentation(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aName, + const Handle(TCollection_HAsciiString)& aDescription, + const Handle(StepRepr_RepresentationItem)& aItem, + const Handle(StepRepr_Representation)& aRep); + + //! Returns field Name + Standard_EXPORT Handle(TCollection_HAsciiString) Name() const; + + //! Set field Name + Standard_EXPORT void SetName(const Handle(TCollection_HAsciiString)& Name); + + //! Returns field Description + Standard_EXPORT Handle(TCollection_HAsciiString) Description() const; + + //! Set field Description + Standard_EXPORT void SetDescription(const Handle(TCollection_HAsciiString)& Description); + + //! Returns field Item + Standard_EXPORT Handle(StepRepr_RepresentationItem) Item() const; + + //! Set field Item + Standard_EXPORT void SetItem(const Handle(StepRepr_RepresentationItem)& Item); + + //! Returns field Rep + Standard_EXPORT Handle(StepRepr_Representation) Rep() const; + + //! Set field Rep + Standard_EXPORT void SetRep(const Handle(StepRepr_Representation)& Rep); + + DEFINE_STANDARD_RTTIEXT(StepElement_AnalysisItemWithinRepresentation, Standard_Transient) + +protected: +private: + Handle(TCollection_HAsciiString) theName; + Handle(TCollection_HAsciiString) theDescription; + Handle(StepRepr_RepresentationItem) theItem; + Handle(StepRepr_Representation) theRep; +}; + +#endif // _StepElement_AnalysisItemWithinRepresentation_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_ElementMaterial.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_ElementMaterial.hxx new file mode 100644 index 0000000000000000000000000000000000000000..5bfdd3e09108731a8fafd61de5a64514dcbf8a03 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_ElementMaterial.hxx @@ -0,0 +1,70 @@ +// Created on: 2002-12-12 +// Created by: data exchange team +// Copyright (c) 2002-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 _StepElement_ElementMaterial_HeaderFile +#define _StepElement_ElementMaterial_HeaderFile + +#include + +#include +#include +class TCollection_HAsciiString; + +class StepElement_ElementMaterial; +DEFINE_STANDARD_HANDLE(StepElement_ElementMaterial, Standard_Transient) + +//! Representation of STEP entity ElementMaterial +class StepElement_ElementMaterial : public Standard_Transient +{ + +public: + //! Empty constructor + Standard_EXPORT StepElement_ElementMaterial(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init( + const Handle(TCollection_HAsciiString)& aMaterialId, + const Handle(TCollection_HAsciiString)& aDescription, + const Handle(StepRepr_HArray1OfMaterialPropertyRepresentation)& aProperties); + + //! Returns field MaterialId + Standard_EXPORT Handle(TCollection_HAsciiString) MaterialId() const; + + //! Set field MaterialId + Standard_EXPORT void SetMaterialId(const Handle(TCollection_HAsciiString)& MaterialId); + + //! Returns field Description + Standard_EXPORT Handle(TCollection_HAsciiString) Description() const; + + //! Set field Description + Standard_EXPORT void SetDescription(const Handle(TCollection_HAsciiString)& Description); + + //! Returns field Properties + Standard_EXPORT Handle(StepRepr_HArray1OfMaterialPropertyRepresentation) Properties() const; + + //! Set field Properties + Standard_EXPORT void SetProperties( + const Handle(StepRepr_HArray1OfMaterialPropertyRepresentation)& Properties); + + DEFINE_STANDARD_RTTIEXT(StepElement_ElementMaterial, Standard_Transient) + +protected: +private: + Handle(TCollection_HAsciiString) theMaterialId; + Handle(TCollection_HAsciiString) theDescription; + Handle(StepRepr_HArray1OfMaterialPropertyRepresentation) theProperties; +}; + +#endif // _StepElement_ElementMaterial_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_HArray1OfHSequenceOfCurveElementPurposeMember.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_HArray1OfHSequenceOfCurveElementPurposeMember.hxx new file mode 100644 index 0000000000000000000000000000000000000000..f5c2874a513b230ac457d0a627ffa59c279b7fd1 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_HArray1OfHSequenceOfCurveElementPurposeMember.hxx @@ -0,0 +1,24 @@ +// 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 StepElement_HArray1OfHSequenceOfCurveElementPurposeMember_HeaderFile +#define StepElement_HArray1OfHSequenceOfCurveElementPurposeMember_HeaderFile + +#include +#include +#include + +DEFINE_HARRAY1(StepElement_HArray1OfHSequenceOfCurveElementPurposeMember, + StepElement_Array1OfHSequenceOfCurveElementPurposeMember) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_HArray2OfSurfaceElementPurpose.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_HArray2OfSurfaceElementPurpose.hxx new file mode 100644 index 0000000000000000000000000000000000000000..cbd4fca2b0ee570f84c3f2611b0ee30ffbc80239 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_HArray2OfSurfaceElementPurpose.hxx @@ -0,0 +1,24 @@ +// 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 StepElement_HArray2OfSurfaceElementPurpose_HeaderFile +#define StepElement_HArray2OfSurfaceElementPurpose_HeaderFile + +#include +#include +#include + +DEFINE_HARRAY2(StepElement_HArray2OfSurfaceElementPurpose, + StepElement_Array2OfSurfaceElementPurpose) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_HSequenceOfCurveElementSectionDefinition.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_HSequenceOfCurveElementSectionDefinition.hxx new file mode 100644 index 0000000000000000000000000000000000000000..4c7e5cf1c273acb37d06b18fb4f7a052a2ea2460 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_HSequenceOfCurveElementSectionDefinition.hxx @@ -0,0 +1,23 @@ +// 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 StepElement_HSequenceOfCurveElementSectionDefinition_HeaderFile +#define StepElement_HSequenceOfCurveElementSectionDefinition_HeaderFile + +#include +#include + +DEFINE_HSEQUENCE(StepElement_HSequenceOfCurveElementSectionDefinition, + StepElement_SequenceOfCurveElementSectionDefinition) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_SequenceOfSurfaceElementPurposeMember.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_SequenceOfSurfaceElementPurposeMember.hxx new file mode 100644 index 0000000000000000000000000000000000000000..95ce5895bce6068c8091835c7ccbd6c69295d8bc --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_SequenceOfSurfaceElementPurposeMember.hxx @@ -0,0 +1,23 @@ +// 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 StepElement_SequenceOfSurfaceElementPurposeMember_HeaderFile +#define StepElement_SequenceOfSurfaceElementPurposeMember_HeaderFile + +#include +#include + +typedef NCollection_Sequence + StepElement_SequenceOfSurfaceElementPurposeMember; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_SurfaceSectionFieldVarying.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_SurfaceSectionFieldVarying.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e9136b48afdd55fc06aed6b84cfa4c0ab931fd6a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_SurfaceSectionFieldVarying.hxx @@ -0,0 +1,61 @@ +// Created on: 2002-12-12 +// Created by: data exchange team +// Copyright (c) 2002-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 _StepElement_SurfaceSectionFieldVarying_HeaderFile +#define _StepElement_SurfaceSectionFieldVarying_HeaderFile + +#include + +#include +#include +#include + +class StepElement_SurfaceSectionFieldVarying; +DEFINE_STANDARD_HANDLE(StepElement_SurfaceSectionFieldVarying, StepElement_SurfaceSectionField) + +//! Representation of STEP entity SurfaceSectionFieldVarying +class StepElement_SurfaceSectionFieldVarying : public StepElement_SurfaceSectionField +{ + +public: + //! Empty constructor + Standard_EXPORT StepElement_SurfaceSectionFieldVarying(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(StepElement_HArray1OfSurfaceSection)& aDefinitions, + const Standard_Boolean aAdditionalNodeValues); + + //! Returns field Definitions + Standard_EXPORT Handle(StepElement_HArray1OfSurfaceSection) Definitions() const; + + //! Set field Definitions + Standard_EXPORT void SetDefinitions( + const Handle(StepElement_HArray1OfSurfaceSection)& Definitions); + + //! Returns field AdditionalNodeValues + Standard_EXPORT Standard_Boolean AdditionalNodeValues() const; + + //! Set field AdditionalNodeValues + Standard_EXPORT void SetAdditionalNodeValues(const Standard_Boolean AdditionalNodeValues); + + DEFINE_STANDARD_RTTIEXT(StepElement_SurfaceSectionFieldVarying, StepElement_SurfaceSectionField) + +protected: +private: + Handle(StepElement_HArray1OfSurfaceSection) theDefinitions; + Standard_Boolean theAdditionalNodeValues; +}; + +#endif // _StepElement_SurfaceSectionFieldVarying_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_VolumeElementPurposeMember.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_VolumeElementPurposeMember.hxx new file mode 100644 index 0000000000000000000000000000000000000000..3d1766c87593cfe2824b0b6c331c55b488f6c01a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepElement_VolumeElementPurposeMember.hxx @@ -0,0 +1,56 @@ +// Created on: 2002-12-10 +// Created by: data exchange team +// Copyright (c) 2002-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 _StepElement_VolumeElementPurposeMember_HeaderFile +#define _StepElement_VolumeElementPurposeMember_HeaderFile + +#include + +#include +#include +#include + +class StepElement_VolumeElementPurposeMember; +DEFINE_STANDARD_HANDLE(StepElement_VolumeElementPurposeMember, StepData_SelectNamed) + +//! Representation of member for STEP SELECT type VolumeElementPurpose +class StepElement_VolumeElementPurposeMember : public StepData_SelectNamed +{ + +public: + //! Empty constructor + Standard_EXPORT StepElement_VolumeElementPurposeMember(); + + //! Returns True if has name + Standard_EXPORT virtual Standard_Boolean HasName() const Standard_OVERRIDE; + + //! Returns set name + Standard_EXPORT virtual Standard_CString Name() const Standard_OVERRIDE; + + //! Set name + Standard_EXPORT virtual Standard_Boolean SetName(const Standard_CString name) Standard_OVERRIDE; + + //! Tells if the name of a SelectMember matches a given one; + Standard_EXPORT virtual Standard_Boolean Matches(const Standard_CString name) const + Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(StepElement_VolumeElementPurposeMember, StepData_SelectNamed) + +protected: +private: + Standard_Integer mycase; +}; + +#endif // _StepElement_VolumeElementPurposeMember_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepFEA_FeaGroup.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepFEA_FeaGroup.hxx new file mode 100644 index 0000000000000000000000000000000000000000..43a4996a8fe6056854aaf586e5aaf3d4bb0d0947 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepFEA_FeaGroup.hxx @@ -0,0 +1,55 @@ +// Created on: 2002-12-12 +// Created by: data exchange team +// Copyright (c) 2002-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 _StepFEA_FeaGroup_HeaderFile +#define _StepFEA_FeaGroup_HeaderFile + +#include +#include + +#include +class StepFEA_FeaModel; +class TCollection_HAsciiString; + +class StepFEA_FeaGroup; +DEFINE_STANDARD_HANDLE(StepFEA_FeaGroup, StepBasic_Group) + +//! Representation of STEP entity FeaGroup +class StepFEA_FeaGroup : public StepBasic_Group +{ + +public: + //! Empty constructor + Standard_EXPORT StepFEA_FeaGroup(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aGroup_Name, + const Handle(TCollection_HAsciiString)& aGroup_Description, + const Handle(StepFEA_FeaModel)& aModelRef); + + //! Returns field ModelRef + Standard_EXPORT Handle(StepFEA_FeaModel) ModelRef() const; + + //! Set field ModelRef + Standard_EXPORT void SetModelRef(const Handle(StepFEA_FeaModel)& ModelRef); + + DEFINE_STANDARD_RTTIEXT(StepFEA_FeaGroup, StepBasic_Group) + +protected: +private: + Handle(StepFEA_FeaModel) theModelRef; +}; + +#endif // _StepFEA_FeaGroup_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepFEA_FeaShellBendingStiffness.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepFEA_FeaShellBendingStiffness.hxx new file mode 100644 index 0000000000000000000000000000000000000000..52c9fb89e41e30309cd20f54b63a95dcef5d9833 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepFEA_FeaShellBendingStiffness.hxx @@ -0,0 +1,55 @@ +// Created on: 2002-12-12 +// Created by: data exchange team +// Copyright (c) 2002-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 _StepFEA_FeaShellBendingStiffness_HeaderFile +#define _StepFEA_FeaShellBendingStiffness_HeaderFile + +#include + +#include +#include +class TCollection_HAsciiString; + +class StepFEA_FeaShellBendingStiffness; +DEFINE_STANDARD_HANDLE(StepFEA_FeaShellBendingStiffness, + StepFEA_FeaMaterialPropertyRepresentationItem) + +//! Representation of STEP entity FeaShellBendingStiffness +class StepFEA_FeaShellBendingStiffness : public StepFEA_FeaMaterialPropertyRepresentationItem +{ + +public: + //! Empty constructor + Standard_EXPORT StepFEA_FeaShellBendingStiffness(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aRepresentationItem_Name, + const StepFEA_SymmetricTensor42d& aFeaConstants); + + //! Returns field FeaConstants + Standard_EXPORT StepFEA_SymmetricTensor42d FeaConstants() const; + + //! Set field FeaConstants + Standard_EXPORT void SetFeaConstants(const StepFEA_SymmetricTensor42d& FeaConstants); + + DEFINE_STANDARD_RTTIEXT(StepFEA_FeaShellBendingStiffness, + StepFEA_FeaMaterialPropertyRepresentationItem) + +protected: +private: + StepFEA_SymmetricTensor42d theFeaConstants; +}; + +#endif // _StepFEA_FeaShellBendingStiffness_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepFile_ReadData.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepFile_ReadData.hxx new file mode 100644 index 0000000000000000000000000000000000000000..45fad7bebf74af83955bc35f31685d28fc6928a5 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepFile_ReadData.hxx @@ -0,0 +1,261 @@ +/* + Copyright (c) 1999-2020 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 _StepFile_ReadData_HeaderFile +#define _StepFile_ReadData_HeaderFile + +#include +#include +#include +#include + +#include + +//! Provides data structures and tools to collect and store the data +//! read from the STEP file. +//! This class is designed to work in collaboration with STEP parser +//! built using flex and bison (receives the data generated by the parser). +//! +//! All text (sequence of characters) received in the parsing process +//! is stored in the CharacterPage, but the last received text value is +//! stored in a pointer to an own page position. +//! +//! This value is used to initialize a new record (representation of the +//! STEP entity) and its arguments (parameters of the STEP entity). +//! All created arguments are stored in the ArgumentsPage, records in the RecordsPage. +//! +//! NOTE: +//! - Arguments used in the record are pointers to the element of the page, +//! - All records are pointers to the element of the record page. +//! +//! EXAMPLE of parsing STEP file (flex & bison): +//! +//! 1. Initial state: +//! - Input stream to the Flex is "#123=ADVANCED_FACE('',(#124),#125,.F.)" +//! - State of Flex is "INITIAL" +//! - Stack of Bison states : STEP HEADER ENDSEC endhead model block +//! 2. Flex rule detected "#123" - call CreateNewText("#123", 4) +//! and sends a token "ENTITY". +//! Now class contains "#123", as current text value. +//! 3. Bison receive a token and call RecordIdent (), it +//! creates a new record in the records page with "#123" identifier. +//! Now current record has ident, but args and types are empty. +//! 4. Flex rule detected "ADVANCED_FACE" call CreateNewText and send a token "TYPE". +//! Now class contains "ADVANCED_FACE", as current text value. +//! 5. Bison receive a token and call RecordType (), it +//! set "ADVANCED_FACE" to the current record as a type. +//! Now current record has ident and type, but args are empty. +//! 6. Flex rule detected "(" send token "(". +//! Now class continues to contain "ADVANCED_FACE", as current text value. +//! 7. Bison receive a token and call RecordListStart (), +//! it does nothing via the current state. +//! Now current record is not update. +//! 8. Flex rule detected ('') call CreateNewText and SetTypeArg and +//! send token TEXT. +//! Now class contains empty current text value. +//! 9. Bison receive a token and call CreateNewArg (), it +//! creates a new argument with empty text value and 'Text' type. +//! Now current record has ident, type and one argument. +//! 10. Flex rule detected "," call PrepareNewArg(",",1), it +//! controls arguments count to protect from a skip or double creating a new argument. +//! Bison does nothing and the current text value and record are not updated. +//! 11. Flex rule detected "(" send token "(". +//! Now class continues to contain empty current text value. +//! 12. Bison receive a token and call RecordListStart (), it +//! creates a new record with "$1" ident and "ADVANCED_FACE" type +//! old record is the next of the new record. +//! Now current record has ident, type, but args are empty. +//! 13. Flex rule detected "#124" call CreateNewText("#124",4) and send token "IDENT", +//! Now class contains "#124", as current text value. +//! 14. Bison receive a token and call CreateNewArg (), it +//! creates a new argument with "#124" text value and 'Ident' type. +//! Now current record has ident, type and one argument. +//! 15. Flex rule detected ")" send token ")". +//! Now class continues to contain "#124", as a current text value. +//! 16. Bison receive a token and call RecordNewEntity (), it +//! contain record to the records page, prepare to the new record +//! and get next record as a current record and set a new arg as a sub_record. +//! Now current record is a old record, it has ident, type and two args. +//! 17. Flex rule detected "#125" call CreateNewText, SetTypeArg and send token IDEND. +//! Now class contains "#125", as a current text value. +//! 18. Bison receive a token and call CreateNewArg (), it +//! creates a new argument with "#125" text value and 'Ident' type. +//! Now current record has ident, type and three argument. +//! 19. Flex rule detected "#125" call CreateNewText, SetTypeArg and send token IDEND. +//! Now class contains "#125", as a current text value. +//! 20. Bison receive a token and call CreateNewArg (), it +//! creates a new argument with "#125" text value and 'Ident' type. +//! Now current record has ident, type and three argument. +//! ... +//! +//! Reading of several STEP files simultaneously is possible (e.g. in multiple +//! threads) provided that each file is read using its own instances of Flex, Bison +//! and StepFile_ReadData tools. + +class Interface_Check; + +class StepFile_ReadData +{ +public: + // Standard OCCT memory allocation stuff + DEFINE_STANDARD_ALLOC + +private: + class Record; //!< List of records, contains all text processed by Bison + class Argument; //!< List of arguments, contains all argument descriptions + class Scope; //!< List of scopes pages, contains all records for external processing + class ErrorsPage; //!< List of errors messages, contains all errors + +public: + //! Constructs an uninitialized tool + StepFile_ReadData(); + + //! Destructor cleans allocated memory of all fields + ~StepFile_ReadData() { ClearRecorder(3); } + + //! Prepares the text value for analysis. + //! It is the main tool for transferring data from flex to bison + //! If characters page is full, allocates a new page. + void CreateNewText(const char* theNewText, int theLenText); + + //! Adds the current record to the list + void RecordNewEntity(); + + //! Creates a new record and sets Ident from myResText + void RecordIdent(); + + //! Starts reading of the type (entity) + void RecordType(); + + //! Prepares and saves a record or sub-record + void RecordListStart(); + + //! Prepares new arguments. + //! Type and value already known. + //! If arguments page is full, allocates a new page + void CreateNewArg(); + + //! Prepares error arguments, controls count of error arguments. + //! If bison handles a sequence of error types, + //! creates only one argument and updates text value + void CreateErrorArg(); + + //! Creates a new scope, containing the current record + void AddNewScope(); + + //! Ends the scope + void FinalOfScope(); + + //! Releases memory. + //! @param theMode + //! * 1 - clear pages of records and arguments + //! * 2 - clear pages of characters + //! * 3 - clear all data + void ClearRecorder(const Standard_Integer theMode); + + //! Returns a value of fields of current argument + Standard_Boolean GetArgDescription(Interface_ParamType* theType, char** theValue); + + //! Returns a value of all file counters + void GetFileNbR(Standard_Integer* theNbHead, + Standard_Integer* theNbRec, + Standard_Integer* theNbPage); + + //! Returns a value of fields of current record + Standard_Boolean GetRecordDescription(char** theIdent, char** theType, int* theNbArg); + + //! Initializes the record type with myResText + void RecordTypeText(); + + //! Skips to next record + void NextRecord(); + + //! Prints data of current record according to the modeprint + void PrintCurrentRecord(); + + //! Controls the correct argument count for the record. + //! Resets error argyment mode + void PrepareNewArg(); + + //! Prepares the end of the head section + void FinalOfHead(); + + //! Sets type of the current argument + void SetTypeArg(const Interface_ParamType theArgType); + + //! Initializes the print mode + //! 0 - don't print descriptions + //! 1 - print only descriptions of record + //! 2 - print descriptions of records and its arguments + void SetModePrint(const Standard_Integer theMode); + + //! Returns mode print + Standard_Integer GetModePrint() const; + + //! Returns number of records + Standard_Integer GetNbRecord() const; + + //! Adds an error message + void AddError(Standard_CString theErrorMessage); + + //! Transfers error messages to checker + Standard_Boolean ErrorHandle(const Handle(Interface_Check)& theCheck) const; + + //! Returns the message of the last error + Standard_CString GetLastError() const; + +private: + //! Prepare text to analyze + char* RecordNewText(char* theText); + + //! Get current text value + void GetResultText(char** theText); + + //! Add a record to the current records page + void AddNewRecord(Record* theNewRecord); + + //! Create new empty record + //! If records page is fill, add a new page + Record* CreateNewRecord(); + + //! Print data of the record according to the modeprint + void PrintRecord(Record* theRecord); + +private: + NCollection_IncAllocator myTextAlloc; //!< Allocator for store text + NCollection_IncAllocator myOtherAlloc; //!< Allocator for internal tools + Standard_Integer myModePrint; //!< Control print output (for call from yacc) + Standard_Integer myNbRec; //!< Total number of data records read + Standard_Integer myNbHead; //!< Number of records taken by the Header + Standard_Integer myNbPar; //!< Total number of parameters read + Standard_Integer myYaRec; //!< Presence record already created (after 1 Ident) + Standard_Integer myNumSub; //!< Number of current sublist + // clang-format off + Standard_Boolean myErrorArg; //!< Control of error argument (true - error argument was created) + char* myResText; //!< Text value written by Flex and passed to Bison to create record + // clang-format on + char* myCurrType; //!< Type of last record read + char* mySubArg; //!< Ident last record (possible sub-list) + Interface_ParamType myTypeArg; //!< Type of last argument read + Argument* myCurrArg; //!< Current node of the arguments list + Record* myFirstRec; //!< First node of the records list + Record* myCurRec; //!< Current node of the records list + Record* myLastRec; //!< Last node of the records list + Scope* myCurScope; //!< Current node of the scopes list + ErrorsPage* myFirstError; //!< First node of the errors pages list + ErrorsPage* myCurError; //!< Current node of the errors pages list +}; + +#endif // _StepFile_ReadData_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepGeom_Array1OfPcurveOrSurface.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepGeom_Array1OfPcurveOrSurface.hxx new file mode 100644 index 0000000000000000000000000000000000000000..7280e7df88d815e7b1d840338705fd133f41b3e1 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepGeom_Array1OfPcurveOrSurface.hxx @@ -0,0 +1,25 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 StepGeom_Array1OfPcurveOrSurface_HeaderFile +#define StepGeom_Array1OfPcurveOrSurface_HeaderFile + +#include +#include + +typedef NCollection_Array1 StepGeom_Array1OfPcurveOrSurface; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx new file mode 100644 index 0000000000000000000000000000000000000000..6b88ed89771971dc4cfa9d418d11666b8fc8631f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx @@ -0,0 +1,113 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve_HeaderFile +#define _StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve_HeaderFile + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +class StepGeom_BSplineCurveWithKnots; +class StepGeom_RationalBSplineCurve; +class TCollection_HAsciiString; + +class StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve; +DEFINE_STANDARD_HANDLE(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve, StepGeom_BSplineCurve) + +class StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve : public StepGeom_BSplineCurve +{ + +public: + //! Returns a BSplineCurveWithKnotsAndRationalBSplineCurve + Standard_EXPORT StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve(); + + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aName, + const Standard_Integer aDegree, + const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, + const StepGeom_BSplineCurveForm aCurveForm, + const StepData_Logical aClosedCurve, + const StepData_Logical aSelfIntersect, + const Handle(StepGeom_BSplineCurveWithKnots)& aBSplineCurveWithKnots, + const Handle(StepGeom_RationalBSplineCurve)& aRationalBSplineCurve); + + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aName, + const Standard_Integer aDegree, + const Handle(StepGeom_HArray1OfCartesianPoint)& aControlPointsList, + const StepGeom_BSplineCurveForm aCurveForm, + const StepData_Logical aClosedCurve, + const StepData_Logical aSelfIntersect, + const Handle(TColStd_HArray1OfInteger)& aKnotMultiplicities, + const Handle(TColStd_HArray1OfReal)& aKnots, + const StepGeom_KnotType aKnotSpec, + const Handle(TColStd_HArray1OfReal)& aWeightsData); + + Standard_EXPORT void SetBSplineCurveWithKnots( + const Handle(StepGeom_BSplineCurveWithKnots)& aBSplineCurveWithKnots); + + Standard_EXPORT Handle(StepGeom_BSplineCurveWithKnots) BSplineCurveWithKnots() const; + + Standard_EXPORT void SetRationalBSplineCurve( + const Handle(StepGeom_RationalBSplineCurve)& aRationalBSplineCurve); + + Standard_EXPORT Handle(StepGeom_RationalBSplineCurve) RationalBSplineCurve() const; + + Standard_EXPORT void SetKnotMultiplicities( + const Handle(TColStd_HArray1OfInteger)& aKnotMultiplicities); + + Standard_EXPORT Handle(TColStd_HArray1OfInteger) KnotMultiplicities() const; + + Standard_EXPORT Standard_Integer KnotMultiplicitiesValue(const Standard_Integer num) const; + + Standard_EXPORT Standard_Integer NbKnotMultiplicities() const; + + Standard_EXPORT void SetKnots(const Handle(TColStd_HArray1OfReal)& aKnots); + + Standard_EXPORT Handle(TColStd_HArray1OfReal) Knots() const; + + Standard_EXPORT Standard_Real KnotsValue(const Standard_Integer num) const; + + Standard_EXPORT Standard_Integer NbKnots() const; + + Standard_EXPORT void SetKnotSpec(const StepGeom_KnotType aKnotSpec); + + Standard_EXPORT StepGeom_KnotType KnotSpec() const; + + Standard_EXPORT void SetWeightsData(const Handle(TColStd_HArray1OfReal)& aWeightsData); + + Standard_EXPORT Handle(TColStd_HArray1OfReal) WeightsData() const; + + Standard_EXPORT Standard_Real WeightsDataValue(const Standard_Integer num) const; + + Standard_EXPORT Standard_Integer NbWeightsData() const; + + DEFINE_STANDARD_RTTIEXT(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve, + StepGeom_BSplineCurve) + +protected: +private: + Handle(StepGeom_BSplineCurveWithKnots) bSplineCurveWithKnots; + Handle(StepGeom_RationalBSplineCurve) rationalBSplineCurve; +}; + +#endif // _StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepGeom_CompositeCurveOnSurface.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepGeom_CompositeCurveOnSurface.hxx new file mode 100644 index 0000000000000000000000000000000000000000..5fe5fa5513ee135915b7a2d6a99586eb65beae53 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepGeom_CompositeCurveOnSurface.hxx @@ -0,0 +1,41 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepGeom_CompositeCurveOnSurface_HeaderFile +#define _StepGeom_CompositeCurveOnSurface_HeaderFile + +#include +#include + +#include + +class StepGeom_CompositeCurveOnSurface; +DEFINE_STANDARD_HANDLE(StepGeom_CompositeCurveOnSurface, StepGeom_CompositeCurve) + +class StepGeom_CompositeCurveOnSurface : public StepGeom_CompositeCurve +{ + +public: + //! Returns a CompositeCurveOnSurface + Standard_EXPORT StepGeom_CompositeCurveOnSurface(); + + DEFINE_STANDARD_RTTIEXT(StepGeom_CompositeCurveOnSurface, StepGeom_CompositeCurve) + +protected: +private: +}; + +#endif // _StepGeom_CompositeCurveOnSurface_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_ActuatedKinPairAndOrderKinPair.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_ActuatedKinPairAndOrderKinPair.hxx new file mode 100644 index 0000000000000000000000000000000000000000..5525bb1eaabb078666ec02df7c5e898f4e9dda8f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_ActuatedKinPairAndOrderKinPair.hxx @@ -0,0 +1,74 @@ +// Created on: 2020-05-26 +// Created by: PASUKHIN DMITRY +// Copyright (c) 2020 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 _StepKinematics_ActuatedKinPairAndOrderKinPair_HeaderFile_ +#define _StepKinematics_ActuatedKinPairAndOrderKinPair_HeaderFile_ + +#include +#include +#include +#include +class StepRepr_RepresentationItem; +class StepKinematics_ActuatedKinematicPair; +class StepKinematics_ActuatedKinPairAndOrderKinPair; + +DEFINE_STANDARD_HANDLE(StepKinematics_ActuatedKinPairAndOrderKinPair, StepKinematics_KinematicPair) + +//! Representation of STEP entity ActuatedKinPairAndOrderKinPair +class StepKinematics_ActuatedKinPairAndOrderKinPair : public StepKinematics_KinematicPair +{ +public: + //! default constructor + Standard_EXPORT StepKinematics_ActuatedKinPairAndOrderKinPair(); + + Standard_EXPORT void Init( + const Handle(TCollection_HAsciiString)& theRepresentationItem_Name, + const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Name, + const Standard_Boolean hasItemDefinedTransformation_Description, + const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Description, + const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem1, + const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem2, + const Handle(StepKinematics_KinematicJoint)& theJoint, + const Handle(StepKinematics_ActuatedKinematicPair)& theActuatedKinematicPair, + const Handle(StepKinematics_KinematicPair)& theOrderKinematicPair); + + inline void SetActuatedKinematicPair(const Handle(StepKinematics_ActuatedKinematicPair)& aKP) + { + myActuatedKinematicPair = aKP; + } + + inline Handle(StepKinematics_ActuatedKinematicPair) GetActuatedKinematicPair() const + { + return myActuatedKinematicPair; + } + + inline void SetOrderKinematicPair(const Handle(StepKinematics_KinematicPair)& aKP) + { + myOrderKinematicPair = aKP; + } + + inline Handle(StepKinematics_KinematicPair) GetOrderKinematicPair() const + { + return myOrderKinematicPair; + } + + DEFINE_STANDARD_RTTIEXT(StepKinematics_ActuatedKinPairAndOrderKinPair, + StepKinematics_KinematicPair) + +private: + Handle(StepKinematics_ActuatedKinematicPair) myActuatedKinematicPair; + Handle(StepKinematics_KinematicPair) myOrderKinematicPair; +}; +#endif // StepKinematics_ActuatedKinPairAndOrderKinPair diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_LinearFlexibleAndPinionPair.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_LinearFlexibleAndPinionPair.hxx new file mode 100644 index 0000000000000000000000000000000000000000..2112504557a2b99ddd6e90581a21170db84ba66e --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_LinearFlexibleAndPinionPair.hxx @@ -0,0 +1,60 @@ +// Created on : Fri May 08 19:02:07 2020 +// Created by: Irina KRYLOVA +// Generator: Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0 +// Copyright (c) Open CASCADE 2020 +// +// 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 _StepKinematics_LinearFlexibleAndPinionPair_HeaderFile_ +#define _StepKinematics_LinearFlexibleAndPinionPair_HeaderFile_ + +#include +#include + +#include +#include +#include + +DEFINE_STANDARD_HANDLE(StepKinematics_LinearFlexibleAndPinionPair, + StepKinematics_LowOrderKinematicPairWithMotionCoupling) + +//! Representation of STEP entity LinearFlexibleAndPinionPair +class StepKinematics_LinearFlexibleAndPinionPair + : public StepKinematics_LowOrderKinematicPairWithMotionCoupling +{ +public: + //! default constructor + Standard_EXPORT StepKinematics_LinearFlexibleAndPinionPair(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init( + const Handle(TCollection_HAsciiString)& theRepresentationItem_Name, + const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Name, + const Standard_Boolean hasItemDefinedTransformation_Description, + const Handle(TCollection_HAsciiString)& theItemDefinedTransformation_Description, + const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem1, + const Handle(StepRepr_RepresentationItem)& theItemDefinedTransformation_TransformItem2, + const Handle(StepKinematics_KinematicJoint)& theKinematicPair_Joint, + const Standard_Real thePinionRadius); + + //! Returns field PinionRadius + Standard_EXPORT Standard_Real PinionRadius() const; + //! Sets field PinionRadius + Standard_EXPORT void SetPinionRadius(const Standard_Real thePinionRadius); + + DEFINE_STANDARD_RTTIEXT(StepKinematics_LinearFlexibleAndPinionPair, + StepKinematics_LowOrderKinematicPairWithMotionCoupling) + +private: + Standard_Real myPinionRadius; +}; +#endif // _StepKinematics_LinearFlexibleAndPinionPair_HeaderFile_ diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_MechanismStateRepresentation.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_MechanismStateRepresentation.hxx new file mode 100644 index 0000000000000000000000000000000000000000..ba647238180b684df5cdf2c53d377bbc7c554527 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_MechanismStateRepresentation.hxx @@ -0,0 +1,51 @@ +// Created on: 2020-06-18 +// Created by: PASUKHIN DMITRY +// Copyright (c) 2020 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 _StepKinematics_MechanismStateRepresentation_HeaderFile +#define _StepKinematics_MechanismStateRepresentation_HeaderFile + +#include +#include + +#include + +class StepKinematics_MechanismRepresentation; + +class StepKinematics_MechanismStateRepresentation; +DEFINE_STANDARD_HANDLE(StepKinematics_MechanismStateRepresentation, StepRepr_Representation) + +class StepKinematics_MechanismStateRepresentation : public StepRepr_Representation +{ +public: + //! Returns a MechanismStateRepresentation + Standard_EXPORT StepKinematics_MechanismStateRepresentation(); + + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName, + const Handle(StepRepr_HArray1OfRepresentationItem)& theItems, + const Handle(StepRepr_RepresentationContext)& theContextOfItems, + const Handle(StepKinematics_MechanismRepresentation)& theMechanism); + + Standard_EXPORT void SetMechanism( + const Handle(StepKinematics_MechanismRepresentation)& theMechanism); + + Standard_EXPORT Handle(StepKinematics_MechanismRepresentation) Mechanism() const; + +private: + Handle(StepKinematics_MechanismRepresentation) myRepresentedMechanism; + + DEFINE_STANDARD_RTTIEXT(StepKinematics_MechanismStateRepresentation, StepRepr_Representation) +}; + +#endif // _StepKinematics_MechanismStateRepresentation_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_ProductDefinitionKinematics.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_ProductDefinitionKinematics.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e9378fceb48a14dea980fa12d11f7d59dfa26ecf --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepKinematics_ProductDefinitionKinematics.hxx @@ -0,0 +1,37 @@ +// Created on : Sat May 02 12:41:15 2020 +// Created by: Irina KRYLOVA +// Generator: Express (EXPRESS -> CASCADE/XSTEP Translator) V3.0 +// Copyright (c) Open CASCADE 2020 +// +// 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 _StepKinematics_ProductDefinitionKinematics_HeaderFile_ +#define _StepKinematics_ProductDefinitionKinematics_HeaderFile_ + +#include +#include + +#include +#include + +DEFINE_STANDARD_HANDLE(StepKinematics_ProductDefinitionKinematics, StepRepr_PropertyDefinition) + +//! Representation of STEP entity ProductDefinitionKinematics +class StepKinematics_ProductDefinitionKinematics : public StepRepr_PropertyDefinition +{ +public: + //! default constructor + Standard_EXPORT StepKinematics_ProductDefinitionKinematics(); + + DEFINE_STANDARD_RTTIEXT(StepKinematics_ProductDefinitionKinematics, StepRepr_PropertyDefinition) +}; +#endif // _StepKinematics_ProductDefinitionKinematics_HeaderFile_ diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_Array1OfShapeAspect.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_Array1OfShapeAspect.hxx new file mode 100644 index 0000000000000000000000000000000000000000..b8fd45b9350ba556b175d932d6ad5223f372bdcb --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_Array1OfShapeAspect.hxx @@ -0,0 +1,24 @@ +// Created on: 2015-07-13 +// Created by: Irina KRYLOVA +// Copyright (c) 2015 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 _StepRepr_Array1OfShapeAspect_HeaderFile +#define _StepRepr_Array1OfShapeAspect_HeaderFile + +#include +#include + +typedef NCollection_Array1 StepRepr_Array1OfShapeAspect; + +#endif // _StepRepr_Array1OfShapeAspect_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_DefinitionalRepresentation.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_DefinitionalRepresentation.hxx new file mode 100644 index 0000000000000000000000000000000000000000..1b058003202e025b32e8154dac0c4b763eb3dff4 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_DefinitionalRepresentation.hxx @@ -0,0 +1,41 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepRepr_DefinitionalRepresentation_HeaderFile +#define _StepRepr_DefinitionalRepresentation_HeaderFile + +#include +#include + +#include + +class StepRepr_DefinitionalRepresentation; +DEFINE_STANDARD_HANDLE(StepRepr_DefinitionalRepresentation, StepRepr_Representation) + +class StepRepr_DefinitionalRepresentation : public StepRepr_Representation +{ + +public: + //! Returns a DefinitionalRepresentation + Standard_EXPORT StepRepr_DefinitionalRepresentation(); + + DEFINE_STANDARD_RTTIEXT(StepRepr_DefinitionalRepresentation, StepRepr_Representation) + +protected: +private: +}; + +#endif // _StepRepr_DefinitionalRepresentation_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_HArray1OfMaterialPropertyRepresentation.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_HArray1OfMaterialPropertyRepresentation.hxx new file mode 100644 index 0000000000000000000000000000000000000000..bf26f4dac92606204507e7d41b5800d95f6b865f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_HArray1OfMaterialPropertyRepresentation.hxx @@ -0,0 +1,26 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 StepRepr_HArray1OfMaterialPropertyRepresentation_HeaderFile +#define StepRepr_HArray1OfMaterialPropertyRepresentation_HeaderFile + +#include +#include + +DEFINE_HARRAY1(StepRepr_HArray1OfMaterialPropertyRepresentation, + StepRepr_Array1OfMaterialPropertyRepresentation) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_RepresentationRelationshipWithTransformation.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_RepresentationRelationshipWithTransformation.hxx new file mode 100644 index 0000000000000000000000000000000000000000..bfbeca4c77bfb59b8c3bae1c16ed816e284c58d4 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_RepresentationRelationshipWithTransformation.hxx @@ -0,0 +1,57 @@ +// Created on: 1998-06-30 +// Created by: Christian CAILLET +// Copyright (c) 1998-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 _StepRepr_RepresentationRelationshipWithTransformation_HeaderFile +#define _StepRepr_RepresentationRelationshipWithTransformation_HeaderFile + +#include +#include + +#include +#include +class TCollection_HAsciiString; +class StepRepr_Representation; + +class StepRepr_RepresentationRelationshipWithTransformation; +DEFINE_STANDARD_HANDLE(StepRepr_RepresentationRelationshipWithTransformation, + StepRepr_ShapeRepresentationRelationship) + +class StepRepr_RepresentationRelationshipWithTransformation + : public StepRepr_ShapeRepresentationRelationship +{ + +public: + Standard_EXPORT StepRepr_RepresentationRelationshipWithTransformation(); + + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aName, + const Handle(TCollection_HAsciiString)& aDescription, + const Handle(StepRepr_Representation)& aRep1, + const Handle(StepRepr_Representation)& aRep2, + const StepRepr_Transformation& aTransf); + + Standard_EXPORT StepRepr_Transformation TransformationOperator() const; + + Standard_EXPORT void SetTransformationOperator(const StepRepr_Transformation& aTrans); + + DEFINE_STANDARD_RTTIEXT(StepRepr_RepresentationRelationshipWithTransformation, + StepRepr_ShapeRepresentationRelationship) + +protected: +private: + StepRepr_Transformation theTrans; +}; + +#endif // _StepRepr_RepresentationRelationshipWithTransformation_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_RepresentedDefinition.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_RepresentedDefinition.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9e2d293dd2969610451325278d48126eef4c16e8 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepRepr_RepresentedDefinition.hxx @@ -0,0 +1,70 @@ +// Created on: 2002-12-12 +// Created by: data exchange team +// Copyright (c) 2002-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 _StepRepr_RepresentedDefinition_HeaderFile +#define _StepRepr_RepresentedDefinition_HeaderFile + +#include +#include +#include + +#include +#include +class Standard_Transient; +class StepBasic_GeneralProperty; +class StepRepr_PropertyDefinition; +class StepRepr_PropertyDefinitionRelationship; +class StepRepr_ShapeAspect; +class StepRepr_ShapeAspectRelationship; + +//! Representation of STEP SELECT type RepresentedDefinition +class StepRepr_RepresentedDefinition : public StepData_SelectType +{ +public: + DEFINE_STANDARD_ALLOC + + //! Empty constructor + Standard_EXPORT StepRepr_RepresentedDefinition(); + + //! Recognizes a kind of RepresentedDefinition select type + //! 1 -> GeneralProperty from StepBasic + //! 2 -> PropertyDefinition from StepRepr + //! 3 -> PropertyDefinitionRelationship from StepRepr + //! 4 -> ShapeAspect from StepRepr + //! 5 -> ShapeAspectRelationship from StepRepr + //! 0 else + Standard_EXPORT Standard_Integer CaseNum(const Handle(Standard_Transient)& ent) const; + + //! Returns Value as GeneralProperty (or Null if another type) + Standard_EXPORT Handle(StepBasic_GeneralProperty) GeneralProperty() const; + + //! Returns Value as PropertyDefinition (or Null if another type) + Standard_EXPORT Handle(StepRepr_PropertyDefinition) PropertyDefinition() const; + + //! Returns Value as PropertyDefinitionRelationship (or Null if another type) + Standard_EXPORT Handle(StepRepr_PropertyDefinitionRelationship) PropertyDefinitionRelationship() + const; + + //! Returns Value as ShapeAspect (or Null if another type) + Standard_EXPORT Handle(StepRepr_ShapeAspect) ShapeAspect() const; + + //! Returns Value as ShapeAspectRelationship (or Null if another type) + Standard_EXPORT Handle(StepRepr_ShapeAspectRelationship) ShapeAspectRelationship() const; + +protected: +private: +}; + +#endif // _StepRepr_RepresentedDefinition_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_AdvancedFace.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_AdvancedFace.hxx new file mode 100644 index 0000000000000000000000000000000000000000..757e73bcbe49598fc1342d113990f51a77495517 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_AdvancedFace.hxx @@ -0,0 +1,41 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepShape_AdvancedFace_HeaderFile +#define _StepShape_AdvancedFace_HeaderFile + +#include +#include + +#include + +class StepShape_AdvancedFace; +DEFINE_STANDARD_HANDLE(StepShape_AdvancedFace, StepShape_FaceSurface) + +class StepShape_AdvancedFace : public StepShape_FaceSurface +{ + +public: + //! Returns a AdvancedFace + Standard_EXPORT StepShape_AdvancedFace(); + + DEFINE_STANDARD_RTTIEXT(StepShape_AdvancedFace, StepShape_FaceSurface) + +protected: +private: +}; + +#endif // _StepShape_AdvancedFace_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_AngularSize.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_AngularSize.hxx new file mode 100644 index 0000000000000000000000000000000000000000..b43df179caa7918a67ba1dcdb55e3a8a0f60790c --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_AngularSize.hxx @@ -0,0 +1,56 @@ +// Created on: 2000-04-18 +// Created by: Andrey BETENEV +// Copyright (c) 2000-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 _StepShape_AngularSize_HeaderFile +#define _StepShape_AngularSize_HeaderFile + +#include +#include + +#include +#include +class StepRepr_ShapeAspect; +class TCollection_HAsciiString; + +class StepShape_AngularSize; +DEFINE_STANDARD_HANDLE(StepShape_AngularSize, StepShape_DimensionalSize) + +//! Representation of STEP entity AngularSize +class StepShape_AngularSize : public StepShape_DimensionalSize +{ + +public: + //! Empty constructor + Standard_EXPORT StepShape_AngularSize(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(StepRepr_ShapeAspect)& aDimensionalSize_AppliesTo, + const Handle(TCollection_HAsciiString)& aDimensionalSize_Name, + const StepShape_AngleRelator aAngleSelection); + + //! Returns field AngleSelection + Standard_EXPORT StepShape_AngleRelator AngleSelection() const; + + //! Set field AngleSelection + Standard_EXPORT void SetAngleSelection(const StepShape_AngleRelator AngleSelection); + + DEFINE_STANDARD_RTTIEXT(StepShape_AngularSize, StepShape_DimensionalSize) + +protected: +private: + StepShape_AngleRelator theAngleSelection; +}; + +#endif // _StepShape_AngularSize_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_Array1OfFaceBound.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_Array1OfFaceBound.hxx new file mode 100644 index 0000000000000000000000000000000000000000..027b02db1e564318bb04f32903113624b5c93e83 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_Array1OfFaceBound.hxx @@ -0,0 +1,25 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 StepShape_Array1OfFaceBound_HeaderFile +#define StepShape_Array1OfFaceBound_HeaderFile + +#include +#include + +typedef NCollection_Array1 StepShape_Array1OfFaceBound; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_Loop.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_Loop.hxx new file mode 100644 index 0000000000000000000000000000000000000000..71cb945d627f003648befe531c3b746d86fcd408 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_Loop.hxx @@ -0,0 +1,41 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepShape_Loop_HeaderFile +#define _StepShape_Loop_HeaderFile + +#include +#include + +#include + +class StepShape_Loop; +DEFINE_STANDARD_HANDLE(StepShape_Loop, StepShape_TopologicalRepresentationItem) + +class StepShape_Loop : public StepShape_TopologicalRepresentationItem +{ + +public: + //! Returns a Loop + Standard_EXPORT StepShape_Loop(); + + DEFINE_STANDARD_RTTIEXT(StepShape_Loop, StepShape_TopologicalRepresentationItem) + +protected: +private: +}; + +#endif // _StepShape_Loop_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_Torus.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_Torus.hxx new file mode 100644 index 0000000000000000000000000000000000000000..2c5171fc4db01a8440ee8b1d125bdcd2623aa7d0 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepShape_Torus.hxx @@ -0,0 +1,63 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepShape_Torus_HeaderFile +#define _StepShape_Torus_HeaderFile + +#include +#include + +#include +class StepGeom_Axis1Placement; +class TCollection_HAsciiString; + +class StepShape_Torus; +DEFINE_STANDARD_HANDLE(StepShape_Torus, StepGeom_GeometricRepresentationItem) + +class StepShape_Torus : public StepGeom_GeometricRepresentationItem +{ + +public: + //! Returns a Torus + Standard_EXPORT StepShape_Torus(); + + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aName, + const Handle(StepGeom_Axis1Placement)& aPosition, + const Standard_Real aMajorRadius, + const Standard_Real aMinorRadius); + + Standard_EXPORT void SetPosition(const Handle(StepGeom_Axis1Placement)& aPosition); + + Standard_EXPORT Handle(StepGeom_Axis1Placement) Position() const; + + Standard_EXPORT void SetMajorRadius(const Standard_Real aMajorRadius); + + Standard_EXPORT Standard_Real MajorRadius() const; + + Standard_EXPORT void SetMinorRadius(const Standard_Real aMinorRadius); + + Standard_EXPORT Standard_Real MinorRadius() const; + + DEFINE_STANDARD_RTTIEXT(StepShape_Torus, StepGeom_GeometricRepresentationItem) + +protected: +private: + Handle(StepGeom_Axis1Placement) position; + Standard_Real majorRadius; + Standard_Real minorRadius; +}; + +#endif // _StepShape_Torus_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepToTopoDS_Root.lxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepToTopoDS_Root.lxx new file mode 100644 index 0000000000000000000000000000000000000000..96ff422e3a48f624bb19038dde5af9d9b7bf6cc9 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepToTopoDS_Root.lxx @@ -0,0 +1,67 @@ +// Created on: 1993-07-28 +// Created by: Martine LANGLOIS +// 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. + +#include + +//======================================================================= +// function : IsDone +// purpose : +//======================================================================= + +inline Standard_Boolean StepToTopoDS_Root::IsDone() const +{ + return done; +} + +//======================================================================= +// function : Precision +// purpose : +//======================================================================= + +inline Standard_Real StepToTopoDS_Root::Precision() const +{ + return myPrecision; +} + +//======================================================================= +// function : SetPrecision +// purpose : +//======================================================================= + +inline void StepToTopoDS_Root::SetPrecision(const Standard_Real preci) +{ + myPrecision = preci; +} + +//======================================================================= +// function : MaxTol +// purpose : +//======================================================================= + +inline Standard_Real StepToTopoDS_Root::MaxTol() const +{ + return myMaxTol; +} + +//======================================================================= +// function : SetMaxTol +// purpose : +//======================================================================= + +inline void StepToTopoDS_Root::SetMaxTol(const Standard_Real maxpreci) +{ + myMaxTol = maxpreci; +} diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepToTopoDS_TranslateSolidError.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepToTopoDS_TranslateSolidError.hxx new file mode 100644 index 0000000000000000000000000000000000000000..105eff90bbcbaca3dccd291a09720b691aeb9cd5 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepToTopoDS_TranslateSolidError.hxx @@ -0,0 +1,23 @@ +// Copyright (c) 2022 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 _StepToTopoDS_TranslateSolidError_HeaderFile +#define _StepToTopoDS_TranslateSolidError_HeaderFile + +enum StepToTopoDS_TranslateSolidError +{ + StepToTopoDS_TranslateSolidDone, + StepToTopoDS_TranslateSolidOther +}; + +#endif // _StepToTopoDS_TranslateSolidError_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepToTopoDS_TranslateVertexError.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepToTopoDS_TranslateVertexError.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e460621fae2f703848f3cd23719bb50eb45e0c97 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepToTopoDS_TranslateVertexError.hxx @@ -0,0 +1,26 @@ +// Created on: 1993-07-28 +// Created by: Martine LANGLOIS +// 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 _StepToTopoDS_TranslateVertexError_HeaderFile +#define _StepToTopoDS_TranslateVertexError_HeaderFile + +enum StepToTopoDS_TranslateVertexError +{ + StepToTopoDS_TranslateVertexDone, + StepToTopoDS_TranslateVertexOther +}; + +#endif // _StepToTopoDS_TranslateVertexError_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_HArray1OfAnnotationPlaneElement.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_HArray1OfAnnotationPlaneElement.hxx new file mode 100644 index 0000000000000000000000000000000000000000..7069365e061ca5894df34991ed9692fd436e3612 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_HArray1OfAnnotationPlaneElement.hxx @@ -0,0 +1,24 @@ +// Created on: 2015-10-29 +// Created by: Irina KRYLOVA +// Copyright (c) 2015 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 _StepVisual_HArray1OfAnnotationPlaneElement_HeaderFile +#define _StepVisual_HArray1OfAnnotationPlaneElement_HeaderFile + +#include +#include + +DEFINE_HARRAY1(StepVisual_HArray1OfAnnotationPlaneElement, + StepVisual_Array1OfAnnotationPlaneElement) +#endif // _StepVisual_HArray1OfAnnotationPlaneElement_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_HArray1OfCameraModelD3MultiClippingUnionSelect.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_HArray1OfCameraModelD3MultiClippingUnionSelect.hxx new file mode 100644 index 0000000000000000000000000000000000000000..fc589ce86b39a4a4dd6875f2f06443c96050f399 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_HArray1OfCameraModelD3MultiClippingUnionSelect.hxx @@ -0,0 +1,24 @@ +// Created on: 2016-11-14 +// Created by: Irina KRYLOVA +// Copyright (c) 2016 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 _StepVisual_HArray1OfCameraModelD3MultiClippingUnionSelect_HeaderFile +#define _StepVisual_HArray1OfCameraModelD3MultiClippingUnionSelect_HeaderFile + +#include +#include + +DEFINE_HARRAY1(StepVisual_HArray1OfCameraModelD3MultiClippingUnionSelect, + StepVisual_Array1OfCameraModelD3MultiClippingUnionSelect) +#endif // _StepVisual_HArray1OfCameraModelD3MultiClippingUnionSelect_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_HArray1OfPresentationStyleSelect.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_HArray1OfPresentationStyleSelect.hxx new file mode 100644 index 0000000000000000000000000000000000000000..893a683157e4c39d52e3621e845996406b195b49 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_HArray1OfPresentationStyleSelect.hxx @@ -0,0 +1,26 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 StepVisual_HArray1OfPresentationStyleSelect_HeaderFile +#define StepVisual_HArray1OfPresentationStyleSelect_HeaderFile + +#include +#include + +DEFINE_HARRAY1(StepVisual_HArray1OfPresentationStyleSelect, + StepVisual_Array1OfPresentationStyleSelect) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_MarkerMember.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_MarkerMember.hxx new file mode 100644 index 0000000000000000000000000000000000000000..6fdfe06e1efbc19fc873771909498e221702062c --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_MarkerMember.hxx @@ -0,0 +1,59 @@ +// Created on: 1997-04-01 +// Created by: Christian CAILLET +// Copyright (c) 1997-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 _StepVisual_MarkerMember_HeaderFile +#define _StepVisual_MarkerMember_HeaderFile + +#include +#include + +#include +#include +#include + +class StepVisual_MarkerMember; +DEFINE_STANDARD_HANDLE(StepVisual_MarkerMember, StepData_SelectInt) + +//! Defines MarkerType as unique member of MarkerSelect +//! Works with an EnumTool +class StepVisual_MarkerMember : public StepData_SelectInt +{ + +public: + Standard_EXPORT StepVisual_MarkerMember(); + + Standard_EXPORT virtual Standard_Boolean HasName() const Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_CString Name() const Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_Boolean SetName(const Standard_CString name) Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_CString EnumText() const Standard_OVERRIDE; + + Standard_EXPORT virtual void SetEnumText(const Standard_Integer val, + const Standard_CString text) Standard_OVERRIDE; + + Standard_EXPORT void SetValue(const StepVisual_MarkerType val); + + Standard_EXPORT StepVisual_MarkerType Value() const; + + DEFINE_STANDARD_RTTIEXT(StepVisual_MarkerMember, StepData_SelectInt) + +protected: +private: +}; + +#endif // _StepVisual_MarkerMember_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_OverRidingStyledItem.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_OverRidingStyledItem.hxx new file mode 100644 index 0000000000000000000000000000000000000000..0187ba48025092e6731025e35fb92e408bc56a6f --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_OverRidingStyledItem.hxx @@ -0,0 +1,52 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepVisual_OverRidingStyledItem_HeaderFile +#define _StepVisual_OverRidingStyledItem_HeaderFile + +#include + +#include +#include +class TCollection_HAsciiString; + +class StepVisual_OverRidingStyledItem; +DEFINE_STANDARD_HANDLE(StepVisual_OverRidingStyledItem, StepVisual_StyledItem) + +class StepVisual_OverRidingStyledItem : public StepVisual_StyledItem +{ + +public: + //! Returns a OverRidingStyledItem + Standard_EXPORT StepVisual_OverRidingStyledItem(); + + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& aName, + const Handle(StepVisual_HArray1OfPresentationStyleAssignment)& aStyles, + const Handle(Standard_Transient)& aItem, + const Handle(StepVisual_StyledItem)& aOverRiddenStyle); + + Standard_EXPORT void SetOverRiddenStyle(const Handle(StepVisual_StyledItem)& aOverRiddenStyle); + + Standard_EXPORT Handle(StepVisual_StyledItem) OverRiddenStyle() const; + + DEFINE_STANDARD_RTTIEXT(StepVisual_OverRidingStyledItem, StepVisual_StyledItem) + +protected: +private: + Handle(StepVisual_StyledItem) overRiddenStyle; +}; + +#endif // _StepVisual_OverRidingStyledItem_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_PresentationRepresentation.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_PresentationRepresentation.hxx new file mode 100644 index 0000000000000000000000000000000000000000..8afc702e8818c609aef2227bf5beed6f861d30b1 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_PresentationRepresentation.hxx @@ -0,0 +1,41 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepVisual_PresentationRepresentation_HeaderFile +#define _StepVisual_PresentationRepresentation_HeaderFile + +#include +#include + +#include + +class StepVisual_PresentationRepresentation; +DEFINE_STANDARD_HANDLE(StepVisual_PresentationRepresentation, StepRepr_Representation) + +class StepVisual_PresentationRepresentation : public StepRepr_Representation +{ + +public: + //! Returns a PresentationRepresentation + Standard_EXPORT StepVisual_PresentationRepresentation(); + + DEFINE_STANDARD_RTTIEXT(StepVisual_PresentationRepresentation, StepRepr_Representation) + +protected: +private: +}; + +#endif // _StepVisual_PresentationRepresentation_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.hxx new file mode 100644 index 0000000000000000000000000000000000000000..14f3c17d594dd1619b8f036b3b6271d8f0d85377 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.hxx @@ -0,0 +1,65 @@ +// Created on : Thu Mar 24 18:30:12 2022 +// Created by: snn +// Generator: Express (EXPRESS -> CASCADE/XSTEP Translator) V2.0 +// Copyright (c) Open CASCADE 2022 +// +// 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 _StepVisual_TessellatedShapeRepresentationWithAccuracyParameters_HeaderFile_ +#define _StepVisual_TessellatedShapeRepresentationWithAccuracyParameters_HeaderFile_ + +#include +#include +#include +#include + +DEFINE_STANDARD_HANDLE(StepVisual_TessellatedShapeRepresentationWithAccuracyParameters, + StepVisual_TessellatedShapeRepresentation) + +//! Representation of STEP entity TessellatedShapeRepresentationWithAccuracyParameters +class StepVisual_TessellatedShapeRepresentationWithAccuracyParameters + : public StepVisual_TessellatedShapeRepresentation +{ + +public: + //! default constructor + Standard_EXPORT StepVisual_TessellatedShapeRepresentationWithAccuracyParameters(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init( + const Handle(TCollection_HAsciiString)& theRepresentation_Name, + const Handle(StepRepr_HArray1OfRepresentationItem)& theRepresentation_Items, + const Handle(StepRepr_RepresentationContext)& theRepresentation_ContextOfItems, + const Handle(TColStd_HArray1OfReal)& theTessellationAccuracyParameters); + + //! Returns field TessellationAccuracyParameters + Standard_EXPORT Handle(TColStd_HArray1OfReal) TessellationAccuracyParameters() const; + + //! Sets field TessellationAccuracyParameters + Standard_EXPORT void SetTessellationAccuracyParameters( + const Handle(TColStd_HArray1OfReal)& theTessellationAccuracyParameters); + + //! Returns number of TessellationAccuracyParameters + Standard_EXPORT Standard_Integer NbTessellationAccuracyParameters() const; + + //! Returns value of TessellationAccuracyParameters by its num + Standard_EXPORT const Standard_Real& TessellationAccuracyParametersValue( + const Standard_Integer theNum) const; + + DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedShapeRepresentationWithAccuracyParameters, + StepVisual_TessellatedShapeRepresentation) + +private: + Handle(TColStd_HArray1OfReal) myTessellationAccuracyParameters; +}; + +#endif // _StepVisual_TessellatedShapeRepresentationWithAccuracyParameters_HeaderFile_ diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_TessellatedShell.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_TessellatedShell.hxx new file mode 100644 index 0000000000000000000000000000000000000000..38a9876c7390c327ff810c8fa4684647eaaf83c2 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_TessellatedShell.hxx @@ -0,0 +1,75 @@ +// Created on : Thu Mar 24 18:30:12 2022 +// Created by: snn +// Generator: Express (EXPRESS -> CASCADE/XSTEP Translator) V2.0 +// Copyright (c) Open CASCADE 2022 +// +// 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 _StepVisual_TessellatedShell_HeaderFile_ +#define _StepVisual_TessellatedShell_HeaderFile_ + +#include +#include +#include + +#include +#include + +DEFINE_STANDARD_HANDLE(StepVisual_TessellatedShell, StepVisual_TessellatedItem) + +//! Representation of STEP entity TessellatedShell +class StepVisual_TessellatedShell : public StepVisual_TessellatedItem +{ + +public: + //! default constructor + Standard_EXPORT StepVisual_TessellatedShell(); + + //! Initialize all fields (own and inherited) + Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name, + const Handle(StepVisual_HArray1OfTessellatedStructuredItem)& theItems, + const Standard_Boolean theHasTopologicalLink, + const Handle(StepShape_ConnectedFaceSet)& theTopologicalLink); + + //! Returns field Items + Standard_EXPORT Handle(StepVisual_HArray1OfTessellatedStructuredItem) Items() const; + + //! Sets field Items + Standard_EXPORT void SetItems( + const Handle(StepVisual_HArray1OfTessellatedStructuredItem)& theItems); + + //! Returns number of Items + Standard_EXPORT Standard_Integer NbItems() const; + + //! Returns value of Items by its num + Standard_EXPORT Handle(StepVisual_TessellatedStructuredItem) ItemsValue( + const Standard_Integer theNum) const; + + //! Returns field TopologicalLink + Standard_EXPORT Handle(StepShape_ConnectedFaceSet) TopologicalLink() const; + + //! Sets field TopologicalLink + Standard_EXPORT void SetTopologicalLink( + const Handle(StepShape_ConnectedFaceSet)& theTopologicalLink); + + //! Returns True if optional field TopologicalLink is defined + Standard_EXPORT Standard_Boolean HasTopologicalLink() const; + + DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedShell, StepVisual_TessellatedItem) + +private: + Handle(StepVisual_HArray1OfTessellatedStructuredItem) myItems; + Handle(StepShape_ConnectedFaceSet) myTopologicalLink; //!< optional + Standard_Boolean myHasTopologicalLink; //!< flag "is TopologicalLink defined" +}; + +#endif // _StepVisual_TessellatedShell_HeaderFile_ diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_ViewVolume.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_ViewVolume.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e4db9c00a01baeee6143be3ab66f7e6e6245b581 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/StepVisual_ViewVolume.hxx @@ -0,0 +1,99 @@ +// Created on: 1995-12-01 +// Created by: EXPRESS->CDL V0.2 Translator +// Copyright (c) 1995-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 _StepVisual_ViewVolume_HeaderFile +#define _StepVisual_ViewVolume_HeaderFile + +#include +#include + +#include +#include +class StepGeom_CartesianPoint; +class StepVisual_PlanarBox; + +class StepVisual_ViewVolume; +DEFINE_STANDARD_HANDLE(StepVisual_ViewVolume, Standard_Transient) + +class StepVisual_ViewVolume : public Standard_Transient +{ + +public: + //! Returns a ViewVolume + Standard_EXPORT StepVisual_ViewVolume(); + + Standard_EXPORT void Init(const StepVisual_CentralOrParallel aProjectionType, + const Handle(StepGeom_CartesianPoint)& aProjectionPoint, + const Standard_Real aViewPlaneDistance, + const Standard_Real aFrontPlaneDistance, + const Standard_Boolean aFrontPlaneClipping, + const Standard_Real aBackPlaneDistance, + const Standard_Boolean aBackPlaneClipping, + const Standard_Boolean aViewVolumeSidesClipping, + const Handle(StepVisual_PlanarBox)& aViewWindow); + + Standard_EXPORT void SetProjectionType(const StepVisual_CentralOrParallel aProjectionType); + + Standard_EXPORT StepVisual_CentralOrParallel ProjectionType() const; + + Standard_EXPORT void SetProjectionPoint(const Handle(StepGeom_CartesianPoint)& aProjectionPoint); + + Standard_EXPORT Handle(StepGeom_CartesianPoint) ProjectionPoint() const; + + Standard_EXPORT void SetViewPlaneDistance(const Standard_Real aViewPlaneDistance); + + Standard_EXPORT Standard_Real ViewPlaneDistance() const; + + Standard_EXPORT void SetFrontPlaneDistance(const Standard_Real aFrontPlaneDistance); + + Standard_EXPORT Standard_Real FrontPlaneDistance() const; + + Standard_EXPORT void SetFrontPlaneClipping(const Standard_Boolean aFrontPlaneClipping); + + Standard_EXPORT Standard_Boolean FrontPlaneClipping() const; + + Standard_EXPORT void SetBackPlaneDistance(const Standard_Real aBackPlaneDistance); + + Standard_EXPORT Standard_Real BackPlaneDistance() const; + + Standard_EXPORT void SetBackPlaneClipping(const Standard_Boolean aBackPlaneClipping); + + Standard_EXPORT Standard_Boolean BackPlaneClipping() const; + + Standard_EXPORT void SetViewVolumeSidesClipping(const Standard_Boolean aViewVolumeSidesClipping); + + Standard_EXPORT Standard_Boolean ViewVolumeSidesClipping() const; + + Standard_EXPORT void SetViewWindow(const Handle(StepVisual_PlanarBox)& aViewWindow); + + Standard_EXPORT Handle(StepVisual_PlanarBox) ViewWindow() const; + + DEFINE_STANDARD_RTTIEXT(StepVisual_ViewVolume, Standard_Transient) + +protected: +private: + StepVisual_CentralOrParallel projectionType; + Handle(StepGeom_CartesianPoint) projectionPoint; + Standard_Real viewPlaneDistance; + Standard_Real frontPlaneDistance; + Standard_Boolean frontPlaneClipping; + Standard_Real backPlaneDistance; + Standard_Boolean backPlaneClipping; + Standard_Boolean viewVolumeSidesClipping; + Handle(StepVisual_PlanarBox) viewWindow; +}; + +#endif // _StepVisual_ViewVolume_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Storage_BaseDriver.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Storage_BaseDriver.hxx new file mode 100644 index 0000000000000000000000000000000000000000..2a8cd7366b423f6ed01ff2df5b63388c9f0349a2 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Storage_BaseDriver.hxx @@ -0,0 +1,270 @@ +// Created on: 1996-11-25 +// Created by: Christophe LEYNADIER +// Copyright (c) 1996-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 _Storage_BaseDriver_HeaderFile +#define _Storage_BaseDriver_HeaderFile + +#include +#include +#include +#include +#include +#include + +class TCollection_ExtendedString; + +DEFINE_STANDARD_HANDLE(Storage_BaseDriver, Standard_Transient) + +//! Root class for drivers. A driver assigns a physical container +//! to data to be stored or retrieved, for instance a file. +//! The FSD package provides two derived concrete classes : +//! - FSD_File is a general driver which defines a +//! file as the container of data. +class Storage_BaseDriver : public Standard_Transient +{ +public: + DEFINE_STANDARD_RTTIEXT(Storage_BaseDriver, Standard_Transient) + +public: + Standard_EXPORT virtual ~Storage_BaseDriver(); + + TCollection_AsciiString Name() const { return myName; } + + Storage_OpenMode OpenMode() const { return myOpenMode; } + + Standard_EXPORT static TCollection_AsciiString ReadMagicNumber(Standard_IStream& theIStream); + +public: + //!@name Virtual methods, to be provided by descendants + + Standard_EXPORT virtual Storage_Error Open(const TCollection_AsciiString& aName, + const Storage_OpenMode aMode) = 0; + + //! returns True if we are at end of the stream + Standard_EXPORT virtual Standard_Boolean IsEnd() = 0; + + //! return position in the file. Return -1 upon error. + Standard_EXPORT virtual Storage_Position Tell() = 0; + + Standard_EXPORT virtual Storage_Error BeginWriteInfoSection() = 0; + + Standard_EXPORT virtual void WriteInfo(const Standard_Integer nbObj, + const TCollection_AsciiString& dbVersion, + const TCollection_AsciiString& date, + const TCollection_AsciiString& schemaName, + const TCollection_AsciiString& schemaVersion, + const TCollection_ExtendedString& appName, + const TCollection_AsciiString& appVersion, + const TCollection_ExtendedString& objectType, + const TColStd_SequenceOfAsciiString& userInfo) = 0; + + Standard_EXPORT virtual Storage_Error EndWriteInfoSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginReadInfoSection() = 0; + + Standard_EXPORT virtual void ReadInfo(Standard_Integer& nbObj, + TCollection_AsciiString& dbVersion, + TCollection_AsciiString& date, + TCollection_AsciiString& schemaName, + TCollection_AsciiString& schemaVersion, + TCollection_ExtendedString& appName, + TCollection_AsciiString& appVersion, + TCollection_ExtendedString& objectType, + TColStd_SequenceOfAsciiString& userInfo) = 0; + + Standard_EXPORT virtual void ReadCompleteInfo(Standard_IStream& theIStream, + Handle(Storage_Data)& theData) = 0; + + Standard_EXPORT virtual Storage_Error EndReadInfoSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginWriteCommentSection() = 0; + + Standard_EXPORT virtual void WriteComment( + const TColStd_SequenceOfExtendedString& userComments) = 0; + + Standard_EXPORT virtual Storage_Error EndWriteCommentSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginReadCommentSection() = 0; + + Standard_EXPORT virtual void ReadComment(TColStd_SequenceOfExtendedString& userComments) = 0; + + Standard_EXPORT virtual Storage_Error EndReadCommentSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginWriteTypeSection() = 0; + + Standard_EXPORT virtual void SetTypeSectionSize(const Standard_Integer aSize) = 0; + + Standard_EXPORT virtual void WriteTypeInformations(const Standard_Integer typeNum, + const TCollection_AsciiString& typeName) = 0; + + Standard_EXPORT virtual Storage_Error EndWriteTypeSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginReadTypeSection() = 0; + + Standard_EXPORT virtual Standard_Integer TypeSectionSize() = 0; + + Standard_EXPORT virtual void ReadTypeInformations(Standard_Integer& typeNum, + TCollection_AsciiString& typeName) = 0; + + Standard_EXPORT virtual Storage_Error EndReadTypeSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginWriteRootSection() = 0; + + Standard_EXPORT virtual void SetRootSectionSize(const Standard_Integer aSize) = 0; + + Standard_EXPORT virtual void WriteRoot(const TCollection_AsciiString& rootName, + const Standard_Integer aRef, + const TCollection_AsciiString& aType) = 0; + + Standard_EXPORT virtual Storage_Error EndWriteRootSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginReadRootSection() = 0; + + Standard_EXPORT virtual Standard_Integer RootSectionSize() = 0; + + Standard_EXPORT virtual void ReadRoot(TCollection_AsciiString& rootName, + Standard_Integer& aRef, + TCollection_AsciiString& aType) = 0; + + Standard_EXPORT virtual Storage_Error EndReadRootSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginWriteRefSection() = 0; + + Standard_EXPORT virtual void SetRefSectionSize(const Standard_Integer aSize) = 0; + + Standard_EXPORT virtual void WriteReferenceType(const Standard_Integer reference, + const Standard_Integer typeNum) = 0; + + Standard_EXPORT virtual Storage_Error EndWriteRefSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginReadRefSection() = 0; + + Standard_EXPORT virtual Standard_Integer RefSectionSize() = 0; + + Standard_EXPORT virtual void ReadReferenceType(Standard_Integer& reference, + Standard_Integer& typeNum) = 0; + + Standard_EXPORT virtual Storage_Error EndReadRefSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginWriteDataSection() = 0; + + Standard_EXPORT virtual void WritePersistentObjectHeader(const Standard_Integer aRef, + const Standard_Integer aType) = 0; + + Standard_EXPORT virtual void BeginWritePersistentObjectData() = 0; + + Standard_EXPORT virtual void BeginWriteObjectData() = 0; + + Standard_EXPORT virtual void EndWriteObjectData() = 0; + + Standard_EXPORT virtual void EndWritePersistentObjectData() = 0; + + Standard_EXPORT virtual Storage_Error EndWriteDataSection() = 0; + + Standard_EXPORT virtual Storage_Error BeginReadDataSection() = 0; + + Standard_EXPORT virtual void ReadPersistentObjectHeader(Standard_Integer& aRef, + Standard_Integer& aType) = 0; + + Standard_EXPORT virtual void BeginReadPersistentObjectData() = 0; + + Standard_EXPORT virtual void BeginReadObjectData() = 0; + + Standard_EXPORT virtual void EndReadObjectData() = 0; + + Standard_EXPORT virtual void EndReadPersistentObjectData() = 0; + + Standard_EXPORT virtual Storage_Error EndReadDataSection() = 0; + + Standard_EXPORT virtual void SkipObject() = 0; + + Standard_EXPORT virtual Storage_Error Close() = 0; + +public: + //!@name Output methods + + Standard_EXPORT virtual Storage_BaseDriver& PutReference(const Standard_Integer aValue) = 0; + + Standard_EXPORT virtual Storage_BaseDriver& PutCharacter(const Standard_Character aValue) = 0; + + Storage_BaseDriver& operator<<(const Standard_Character aValue) { return PutCharacter(aValue); } + + Standard_EXPORT virtual Storage_BaseDriver& PutExtCharacter( + const Standard_ExtCharacter aValue) = 0; + + Storage_BaseDriver& operator<<(const Standard_ExtCharacter aValue) + { + return PutExtCharacter(aValue); + } + + Standard_EXPORT virtual Storage_BaseDriver& PutInteger(const Standard_Integer aValue) = 0; + + Storage_BaseDriver& operator<<(const Standard_Integer aValue) { return PutInteger(aValue); } + + Standard_EXPORT virtual Storage_BaseDriver& PutBoolean(const Standard_Boolean aValue) = 0; + + Storage_BaseDriver& operator<<(const Standard_Boolean aValue) { return PutBoolean(aValue); } + + Standard_EXPORT virtual Storage_BaseDriver& PutReal(const Standard_Real aValue) = 0; + + Storage_BaseDriver& operator<<(const Standard_Real aValue) { return PutReal(aValue); } + + Standard_EXPORT virtual Storage_BaseDriver& PutShortReal(const Standard_ShortReal aValue) = 0; + + Storage_BaseDriver& operator<<(const Standard_ShortReal aValue) { return PutShortReal(aValue); } + +public: + //!@name Input methods + + Standard_EXPORT virtual Storage_BaseDriver& GetReference(Standard_Integer& aValue) = 0; + + Standard_EXPORT virtual Storage_BaseDriver& GetCharacter(Standard_Character& aValue) = 0; + + Storage_BaseDriver& operator>>(Standard_Character& aValue) { return GetCharacter(aValue); } + + Standard_EXPORT virtual Storage_BaseDriver& GetExtCharacter(Standard_ExtCharacter& aValue) = 0; + + Storage_BaseDriver& operator>>(Standard_ExtCharacter& aValue) { return GetExtCharacter(aValue); } + + Standard_EXPORT virtual Storage_BaseDriver& GetInteger(Standard_Integer& aValue) = 0; + + Storage_BaseDriver& operator>>(Standard_Integer& aValue) { return GetInteger(aValue); } + + Standard_EXPORT virtual Storage_BaseDriver& GetBoolean(Standard_Boolean& aValue) = 0; + + Storage_BaseDriver& operator>>(Standard_Boolean& aValue) { return GetBoolean(aValue); } + + Standard_EXPORT virtual Storage_BaseDriver& GetReal(Standard_Real& aValue) = 0; + + Storage_BaseDriver& operator>>(Standard_Real& aValue) { return GetReal(aValue); } + + Standard_EXPORT virtual Storage_BaseDriver& GetShortReal(Standard_ShortReal& aValue) = 0; + + Storage_BaseDriver& operator>>(Standard_ShortReal& aValue) { return GetShortReal(aValue); } + +protected: + Standard_EXPORT Storage_BaseDriver(); + + void SetName(const TCollection_AsciiString& aName) { myName = aName; } + + void SetOpenMode(const Storage_OpenMode aMode) { myOpenMode = aMode; } + +private: + Storage_OpenMode myOpenMode; + TCollection_AsciiString myName; +}; + +#endif // _Storage_BaseDriver_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Storage_DataMapIteratorOfMapOfCallBack.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Storage_DataMapIteratorOfMapOfCallBack.hxx new file mode 100644 index 0000000000000000000000000000000000000000..d1c79b9a9d32181d1a77c42087e0d9334a59b541 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/Storage_DataMapIteratorOfMapOfCallBack.hxx @@ -0,0 +1,19 @@ +// Copyright (c) 2015 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 Storage_DataMapIteratorOfMapOfCallBack_HeaderFile +#define Storage_DataMapIteratorOfMapOfCallBack_HeaderFile + +#include + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_DataMapIteratorOfDataMapOfStringInteger.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_DataMapIteratorOfDataMapOfStringInteger.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e1e55a0baf88f7f78084ded6e628b3c9c74383f2 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_DataMapIteratorOfDataMapOfStringInteger.hxx @@ -0,0 +1,19 @@ +// Copyright (c) 2015 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 TColStd_DataMapIteratorOfDataMapOfStringInteger_HeaderFile +#define TColStd_DataMapIteratorOfDataMapOfStringInteger_HeaderFile + +#include + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_HArray1OfTransient.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_HArray1OfTransient.hxx new file mode 100644 index 0000000000000000000000000000000000000000..0c7ae044df56c6a1b47f6089d38ab442c95503e0 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_HArray1OfTransient.hxx @@ -0,0 +1,24 @@ +// Copyright (c) 1998-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 TColStd_HArray1OfTransient_HeaderFile +#define TColStd_HArray1OfTransient_HeaderFile + +#include +#include +#include + +DEFINE_HARRAY1(TColStd_HArray1OfTransient, TColStd_Array1OfTransient) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_HSequenceOfInteger.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_HSequenceOfInteger.hxx new file mode 100644 index 0000000000000000000000000000000000000000..dd3cbbc5bb12dd43aa67e2780dbf1286837ba847 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_HSequenceOfInteger.hxx @@ -0,0 +1,24 @@ +// Copyright (c) 1998-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 TColStd_HSequenceOfInteger_HeaderFile +#define TColStd_HSequenceOfInteger_HeaderFile + +#include +#include +#include + +DEFINE_HSEQUENCE(TColStd_HSequenceOfInteger, TColStd_SequenceOfInteger) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_HSequenceOfReal.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_HSequenceOfReal.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e03e27ba0cd9526a9a80d685953fafa023fa4901 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_HSequenceOfReal.hxx @@ -0,0 +1,23 @@ +// Copyright (c) 1998-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 TColStd_HSequenceOfReal_HeaderFile +#define TColStd_HSequenceOfReal_HeaderFile + +#include +#include + +DEFINE_HSEQUENCE(TColStd_HSequenceOfReal, TColStd_SequenceOfReal) + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_SequenceOfBoolean.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_SequenceOfBoolean.hxx new file mode 100644 index 0000000000000000000000000000000000000000..85cbc088e4f994620b7b90ee842b95bf6a9c0d49 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_SequenceOfBoolean.hxx @@ -0,0 +1,22 @@ +// Copyright (c) 1998-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 TColStd_SequenceOfBoolean_HeaderFile +#define TColStd_SequenceOfBoolean_HeaderFile + +#include + +typedef NCollection_Sequence TColStd_SequenceOfBoolean; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_SequenceOfHAsciiString.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_SequenceOfHAsciiString.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9b1afa16242321eee89162ded5319e520ce22d4b --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColStd_SequenceOfHAsciiString.hxx @@ -0,0 +1,23 @@ +// Copyright (c) 1998-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 TColStd_SequenceOfHAsciiString_HeaderFile +#define TColStd_SequenceOfHAsciiString_HeaderFile + +#include +#include + +typedef NCollection_Sequence TColStd_SequenceOfHAsciiString; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColgp_SequenceOfVec2d.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColgp_SequenceOfVec2d.hxx new file mode 100644 index 0000000000000000000000000000000000000000..dbee6abe86e8b09d4cf8d6058b8490762c811f61 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TColgp_SequenceOfVec2d.hxx @@ -0,0 +1,25 @@ +// Created on: 1993-03-10 +// Created by: Philippe DAUTRY +// 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 TColgp_SequenceOfVec2d_HeaderFile +#define TColgp_SequenceOfVec2d_HeaderFile + +#include +#include + +typedef NCollection_Sequence TColgp_SequenceOfVec2d; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_AttributeDelta.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_AttributeDelta.hxx new file mode 100644 index 0000000000000000000000000000000000000000..331d4422ecbefb7313e3e919f7758c26ed19320a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_AttributeDelta.hxx @@ -0,0 +1,77 @@ +// Created by: DAUTRY Philippe +// Copyright (c) 1997-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 _TDF_AttributeDelta_HeaderFile +#define _TDF_AttributeDelta_HeaderFile + +#include + +#include +#include +#include +class TDF_Attribute; +class Standard_GUID; + +class TDF_AttributeDelta; +DEFINE_STANDARD_HANDLE(TDF_AttributeDelta, Standard_Transient) + +//! This class describes the services we need to +//! implement Delta and Undo/Redo services. +//! +//! AttributeDeltas are applied in an unpredictable +//! order. But by the redefinition of the method +//! IsNowApplicable, a condition can be verified +//! before application. If the AttributeDelta is not +//! yet applicable, it is put at the end of the +//! AttributeDelta list, to be treated later. If a +//! dead lock if found on the list, the +//! AttributeDeltas are forced to be applied in an +//! unpredictable order. +class TDF_AttributeDelta : public Standard_Transient +{ + +public: + //! Applies the delta to the attribute. + Standard_EXPORT virtual void Apply() = 0; + + //! Returns the label concerned by . + Standard_EXPORT TDF_Label Label() const; + + //! Returns the reference attribute. + Standard_EXPORT Handle(TDF_Attribute) Attribute() const; + + //! Returns the ID of the attribute concerned by . + Standard_EXPORT Standard_GUID ID() const; + + //! Dumps the contents. + Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& OS) const; + + Standard_OStream& operator<<(Standard_OStream& OS) const { return Dump(OS); } + + //! Dumps the content of me into the stream + Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, + Standard_Integer theDepth = -1) const; + + DEFINE_STANDARD_RTTIEXT(TDF_AttributeDelta, Standard_Transient) + +protected: + Standard_EXPORT TDF_AttributeDelta(const Handle(TDF_Attribute)& anAttribute); + +private: + Handle(TDF_Attribute) myAttribute; + TDF_Label myLabel; +}; + +#endif // _TDF_AttributeDelta_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_ChildIterator.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_ChildIterator.hxx new file mode 100644 index 0000000000000000000000000000000000000000..3bc47e70c2ac63ab2a18289f3f43d05c4f559e91 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_ChildIterator.hxx @@ -0,0 +1,104 @@ +// Created by: DAUTRY Philippe +// Copyright (c) 1997-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 _TDF_ChildIterator_HeaderFile +#define _TDF_ChildIterator_HeaderFile + +#include +#include +#include + +#include +#include +class TDF_Label; + +//! Iterates on the children of a label, at the first +//! level only. It is possible to ask the iterator to +//! explore all the sub label levels of the given one, +//! with the option "allLevels". +class TDF_ChildIterator +{ +public: + DEFINE_STANDARD_ALLOC + + //! Creates an empty iterator object to + //! explore the children of a label. + Standard_EXPORT TDF_ChildIterator(); + + //! Constructs the iterator object defined by + //! the label aLabel. Iterates on the children of the given label. If + //! option is set to true, it explores not + //! only the first, but all the sub label levels. + Standard_EXPORT TDF_ChildIterator(const TDF_Label& aLabel, + const Standard_Boolean allLevels = Standard_False); + + //! Initializes the iteration on the children of the + //! given label. + //! If option is set to true, + //! it explores not only the first, but all the sub + //! label levels. + //! If allLevels is false, only the first level of + //! child labels is explored. + //! In the example below, the label is iterated + //! using Initialize, More and Next and its + //! child labels dumped using TDF_Tool::Entry. + //! Example + //! void DumpChildren(const + //! TDF_Label& aLabel) + //! { + //! TDF_ChildIterator it; + //! TCollection_AsciiString es; + //! for + //! (it.Initialize(aLabel,Standard_True); + //! it.More(); it.Next()){ + //! TDF_Tool::Entry(it.Value(),es); + //! std::cout << as.ToCString() << std::endl; + //! } + //! } + Standard_EXPORT void Initialize(const TDF_Label& aLabel, + const Standard_Boolean allLevels = Standard_False); + + //! Returns true if a current label is found in the + //! iteration process. + Standard_Boolean More() const; + + //! Move the current iteration to the next Item. + Standard_EXPORT void Next(); + + //! Moves this iteration to the next brother + //! label. A brother label is one with the same + //! father as an initial label. + //! Use this function when the non-empty + //! constructor or Initialize has allLevels set to + //! true. The result is that the iteration does not + //! explore the children of the current label. + //! This method is interesting only with + //! "allLevels" behavior, because it avoids to explore + //! the current label children. + Standard_EXPORT void NextBrother(); + + //! Returns the current label; or, if there is + //! none, a null label. + const TDF_Label Value() const; + +protected: +private: + TDF_LabelNodePtr myNode; + Standard_Integer myFirstLevel; +}; + +#include + +#endif // _TDF_ChildIterator_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_CopyTool.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_CopyTool.hxx new file mode 100644 index 0000000000000000000000000000000000000000..9f66e5ba26c4bbee9f8dbad8da848b84c61ac412 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_CopyTool.hxx @@ -0,0 +1,120 @@ +// Created by: DAUTRY Philippe +// Copyright (c) 1997-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 _TDF_CopyTool_HeaderFile +#define _TDF_CopyTool_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +class TDF_DataSet; +class TDF_RelocationTable; +class TDF_IDFilter; +class TDF_Label; + +//! This class provides services to build, copy or +//! paste a set of information. +//! +//! Copy methods: +//! ------------- +//! +//! * Copy(aSourceDataSet, aTargetLabel, +//! aRelocationTable) copies a source DataSet under +//! its target place (see below: IMPORTANT NOTICE 1). +//! +//! * Copy(aSourceDataSet, anTargetLabel, +//! aRelocationTable, aFilter) does the same job as +//! the previous method. But gives a list of +//! IDs for which a target attribute prevails over a +//! source one. In this special case, the source +//! attribute will be copied only if there will be no +//! target attribute. +//! +//! IMPORTANT NOTICE : Label pre-binding +//! ------------------ +//! +//! For it is possible to copy root labels in another +//! place in the same Data or in a different one with +//! other tags, it is necessary to inform the Copy +//! algorithm about the target place. To do so: +//! +//! * first get or create new target root labels; +//! +//! * then bind them with the source root labels using +//! the relocation table method: +//! SetRelocation(aSourceLabel, aTargetLabel); +//! +//! * finally call Copy(...) with the relocation table +//! previously set. In this way, this method will take +//! these relocations in account. +class TDF_CopyTool +{ +public: + DEFINE_STANDARD_ALLOC + + //! Copy with using and updating + //! . This method ignores target + //! attributes privilege over source ones. + Standard_EXPORT static void Copy(const Handle(TDF_DataSet)& aSourceDataSet, + const Handle(TDF_RelocationTable)& aRelocationTable); + + //! Copy using and updating + //! . Use to give + //! a list of IDs for which the target attribute + //! prevails over the source one. + Standard_EXPORT static void Copy(const Handle(TDF_DataSet)& aSourceDataSet, + const Handle(TDF_RelocationTable)& aRelocationTable, + const TDF_IDFilter& aPrivilegeFilter); + + //! Copy using and updating + //! . Use to give + //! a list of IDs for which the target attribute + //! prevails over the source one. If + //! is set to true, every + //! TDF_Reference will be replaced by the referenced + //! structure according to . + //! + //! NB: is used only if + //! is true. + //! Internal root label copy recursive method. + Standard_EXPORT static void Copy(const Handle(TDF_DataSet)& aSourceDataSet, + const Handle(TDF_RelocationTable)& aRelocationTable, + const TDF_IDFilter& aPrivilegeFilter, + const TDF_IDFilter& aRefFilter, + const Standard_Boolean setSelfContained); + +protected: +private: + //! Internal root label copy recursive method. + Standard_EXPORT static void CopyLabels(const TDF_Label& aSLabel, + TDF_Label& aTargetLabel, + TDF_LabelDataMap& aLabMap, + TDF_AttributeDataMap& aAttMap, + const TDF_LabelMap& aSrcLabelMap, + const TDF_AttributeMap& aSrcAttributeMap); + + //! Internal attribute copy method. + Standard_EXPORT static void CopyAttributes(const TDF_Label& aSLabel, + TDF_Label& aTargetLabel, + TDF_AttributeDataMap& aAttMap, + const TDF_AttributeMap& aSrcAttributeMap); +}; + +#endif // _TDF_CopyTool_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_DoubleMapIteratorOfLabelDoubleMap.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_DoubleMapIteratorOfLabelDoubleMap.hxx new file mode 100644 index 0000000000000000000000000000000000000000..b6c2cf385925f5f24170a9e48d9a7a9a9a686991 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_DoubleMapIteratorOfLabelDoubleMap.hxx @@ -0,0 +1,19 @@ +// Copyright (c) 2015 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 TDF_DoubleMapIteratorOfLabelDoubleMap_HeaderFile +#define TDF_DoubleMapIteratorOfLabelDoubleMap_HeaderFile + +#include + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_LabelDoubleMap.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_LabelDoubleMap.hxx new file mode 100644 index 0000000000000000000000000000000000000000..2d82143b30562d949ad0ec67f917478948554acd --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDF_LabelDoubleMap.hxx @@ -0,0 +1,25 @@ +// Created by: DAUTRY Philippe +// Copyright (c) 1997-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 TDF_LabelDoubleMap_HeaderFile +#define TDF_LabelDoubleMap_HeaderFile + +#include +#include + +typedef NCollection_DoubleMap TDF_LabelDoubleMap; +typedef NCollection_DoubleMap::Iterator TDF_DoubleMapIteratorOfLabelDoubleMap; + +#endif diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataStd_NamedData.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataStd_NamedData.hxx new file mode 100644 index 0000000000000000000000000000000000000000..596157bfaac7b81c6d680362d1ed358b73f5eb37 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataStd_NamedData.hxx @@ -0,0 +1,313 @@ +// Created on: 2007-05-29 +// Created by: Vlad Romashko +// Copyright (c) 2007-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 _TDataStd_NamedData_HeaderFile +#define _TDataStd_NamedData_HeaderFile + +#include +#include +#include +#include +#include +#include +#include + +class TDataStd_HDataMapOfStringInteger; +class TDataStd_HDataMapOfStringReal; +class TDataStd_HDataMapOfStringString; +class TDataStd_HDataMapOfStringByte; +class TDataStd_HDataMapOfStringHArray1OfInteger; +class TDataStd_HDataMapOfStringHArray1OfReal; +class TCollection_ExtendedString; + +class TDataStd_NamedData; +DEFINE_STANDARD_HANDLE(TDataStd_NamedData, TDF_Attribute) + +//! Contains a named data. +class TDataStd_NamedData : public TDF_Attribute +{ +public: + //! Returns the ID of the named data attribute. + Standard_EXPORT static const Standard_GUID& GetID(); + + //! Finds or creates a named data attribute. + Standard_EXPORT static Handle(TDataStd_NamedData) Set(const TDF_Label& label); + +public: + //! Empty constructor. + Standard_EXPORT TDataStd_NamedData(); + + //! Returns true if at least one named integer value is kept in the attribute. + Standard_EXPORT Standard_Boolean HasIntegers() const; + + //! Returns true if the attribute contains specified by Name + //! integer value. + Standard_EXPORT Standard_Boolean HasInteger(const TCollection_ExtendedString& theName) const; + + //! Returns the integer value specified by the Name. + //! It returns 0 if internal map doesn't contain the specified + //! integer (use HasInteger() to check before). + Standard_EXPORT Standard_Integer GetInteger(const TCollection_ExtendedString& theName); + + //! Defines a named integer. + //! If the integer already exists, it changes its value to . + Standard_EXPORT void SetInteger(const TCollection_ExtendedString& theName, + const Standard_Integer theInteger); + + //! Returns the internal container of named integers. + Standard_EXPORT const TColStd_DataMapOfStringInteger& GetIntegersContainer(); + + //! Replace the container content by new content of the . + Standard_EXPORT void ChangeIntegers(const TColStd_DataMapOfStringInteger& theIntegers); + + //! Returns true if at least one named real value is kept in the attribute. + Standard_EXPORT Standard_Boolean HasReals() const; + + //! Returns true if the attribute contains a real specified by Name. + Standard_EXPORT Standard_Boolean HasReal(const TCollection_ExtendedString& theName) const; + + //! Returns the named real. + //! It returns 0.0 if there is no such a named real + //! (use HasReal()). + Standard_EXPORT Standard_Real GetReal(const TCollection_ExtendedString& theName); + + //! Defines a named real. + //! If the real already exists, it changes its value to . + Standard_EXPORT void SetReal(const TCollection_ExtendedString& theName, + const Standard_Real theReal); + + //! Returns the internal container of named reals. + Standard_EXPORT const TDataStd_DataMapOfStringReal& GetRealsContainer(); + + //! Replace the container content by new content of the . + Standard_EXPORT void ChangeReals(const TDataStd_DataMapOfStringReal& theReals); + + //! Returns true if there are some named strings in the attribute. + Standard_EXPORT Standard_Boolean HasStrings() const; + + //! Returns true if the attribute contains this named string. + Standard_EXPORT Standard_Boolean HasString(const TCollection_ExtendedString& theName) const; + + //! Returns the named string. + //! It returns an empty string if there is no such a named string + //! (use HasString()). + Standard_EXPORT const TCollection_ExtendedString& GetString( + const TCollection_ExtendedString& theName); + + //! Defines a named string. + //! If the string already exists, it changes its value to . + Standard_EXPORT void SetString(const TCollection_ExtendedString& theName, + const TCollection_ExtendedString& theString); + + //! Returns the internal container of named strings. + Standard_EXPORT const TDataStd_DataMapOfStringString& GetStringsContainer(); + + //! Replace the container content by new content of the . + Standard_EXPORT void ChangeStrings(const TDataStd_DataMapOfStringString& theStrings); + + //! Returns true if there are some named bytes in the attribute. + Standard_EXPORT Standard_Boolean HasBytes() const; + + //! Returns true if the attribute contains this named byte. + Standard_EXPORT Standard_Boolean HasByte(const TCollection_ExtendedString& theName) const; + + //! Returns the named byte. + //! It returns 0 if there is no such a named byte + //! (use HasByte()). + Standard_EXPORT Standard_Byte GetByte(const TCollection_ExtendedString& theName); + + //! Defines a named byte. + //! If the byte already exists, it changes its value to . + Standard_EXPORT void SetByte(const TCollection_ExtendedString& theName, + const Standard_Byte theByte); + + //! Returns the internal container of named bytes. + Standard_EXPORT const TDataStd_DataMapOfStringByte& GetBytesContainer(); + + //! Replace the container content by new content of the . + Standard_EXPORT void ChangeBytes(const TDataStd_DataMapOfStringByte& theBytes); + + //! Returns true if there are some named arrays of integer values in the attribute. + Standard_EXPORT Standard_Boolean HasArraysOfIntegers() const; + + //! Returns true if the attribute contains this named array of integer values. + Standard_EXPORT Standard_Boolean + HasArrayOfIntegers(const TCollection_ExtendedString& theName) const; + + //! Returns the named array of integer values. + //! It returns a NULL Handle if there is no such a named array of integers + //! (use HasArrayOfIntegers()). + Standard_EXPORT const Handle(TColStd_HArray1OfInteger)& GetArrayOfIntegers( + const TCollection_ExtendedString& theName); + + //! Defines a named array of integer values. + //! @param[in] theName key + //! @param[in] theArrayOfIntegers new value, overrides existing (passed array will be copied by + //! value!) + void SetArrayOfIntegers(const TCollection_ExtendedString& theName, + const Handle(TColStd_HArray1OfInteger)& theArrayOfIntegers) + { + Backup(); + setArrayOfIntegers(theName, theArrayOfIntegers); + } + + //! Returns the internal container of named arrays of integer values. + Standard_EXPORT const TDataStd_DataMapOfStringHArray1OfInteger& GetArraysOfIntegersContainer(); + + //! Replace the container content by new content of the . + Standard_EXPORT void ChangeArraysOfIntegers( + const TDataStd_DataMapOfStringHArray1OfInteger& theArraysOfIntegers); + + //! Returns true if there are some named arrays of real values in the attribute. + Standard_EXPORT Standard_Boolean HasArraysOfReals() const; + + //! Returns true if the attribute contains this named array of real values. + Standard_EXPORT Standard_Boolean HasArrayOfReals(const TCollection_ExtendedString& theName) const; + + //! Returns the named array of real values. + //! It returns a NULL Handle if there is no such a named array of reals + //! (use HasArrayOfReals()). + Standard_EXPORT const Handle(TColStd_HArray1OfReal)& GetArrayOfReals( + const TCollection_ExtendedString& theName); + + //! Defines a named array of real values. + //! @param[in] theName key + //! @param[in] theArrayOfReals new value, overrides existing (passed array will be copied by + //! value!) + void SetArrayOfReals(const TCollection_ExtendedString& theName, + const Handle(TColStd_HArray1OfReal)& theArrayOfReals) + { + Backup(); + setArrayOfReals(theName, theArrayOfReals); + } + + //! Returns the internal container of named arrays of real values. + Standard_EXPORT const TDataStd_DataMapOfStringHArray1OfReal& GetArraysOfRealsContainer(); + + //! Replace the container content by new content of the . + Standard_EXPORT void ChangeArraysOfReals( + const TDataStd_DataMapOfStringHArray1OfReal& theArraysOfReals); + + //! Clear data. + void Clear() + { + Backup(); + clear(); + } + +public: //! @name late-load deferred data interface + //! Returns TRUE if some data is not loaded from deferred storage and can be loaded using + //! LoadDeferredData(). + //! + //! Late-load interface allows to avoid loading auxiliary data into memory until it is needed by + //! application and also speed up reader by skipping data chunks in file. This feature requires + //! file format having special structure, and usually implies read-only access, therefore default + //! implementation will return FALSE here. + //! + //! Late-load elements require special attention to ensure data consistency, + //! as such elements are created in undefined state (no data) and Undo/Redo mechanism will not + //! work until deferred data being loaded. + //! + //! Usage scenarios: + //! - Application displays model in read-only way. + //! Late-load elements are loaded temporarily on demand and immediately unloaded. + //! theNamedData->LoadDeferredData (true); + //! TCollection_AsciiString aValue = theNamedData->GetString (theKey); + //! theNamedData->UnloadDeferredData(); + //! - Application saves the model into another format. + //! All late-load elements should be loaded (at least temporary during operation). + //! - Application modifies the model. + //! Late-load element should be loaded with removed link to deferred storage, + //! so that Undo()/Redo() will work as expected since loading. + //! theNamedData->LoadDeferredData (false); + //! theNamedData->SetString (theKey, theNewValue); + virtual Standard_Boolean HasDeferredData() const { return false; } + + //! Load data from deferred storage, without calling Backup(). + //! As result, the content of the object will be overridden by data from deferred storage (which + //! is normally read-only). + //! @param[in] theToKeepDeferred when TRUE, the link to deferred storage will be preserved + //! so that it will be possible calling UnloadDeferredData() + //! afterwards for releasing memory + //! @return FALSE if deferred storage is unavailable or deferred data has been already loaded + virtual Standard_Boolean LoadDeferredData(Standard_Boolean theToKeepDeferred = false) + { + (void)theToKeepDeferred; + return false; + } + + //! Releases data if object has connected deferred storage, without calling Backup(). + //! WARNING! This operation does not unload modifications to deferred storage (normally it is + //! read-only), so that modifications will be discarded (if any). + //! @return FALSE if object has no deferred data + virtual Standard_Boolean UnloadDeferredData() { return false; } + +public: + //! Clear data without calling Backup(). + Standard_EXPORT void clear(); + + //! Defines a named integer (without calling Backup). + Standard_EXPORT void setInteger(const TCollection_ExtendedString& theName, + const Standard_Integer theInteger); + + //! Defines a named real (without calling Backup). + Standard_EXPORT void setReal(const TCollection_ExtendedString& theName, + const Standard_Real theReal); + + //! Defines a named string (without calling Backup). + Standard_EXPORT void setString(const TCollection_ExtendedString& theName, + const TCollection_ExtendedString& theString); + + //! Defines a named byte (without calling Backup). + Standard_EXPORT void setByte(const TCollection_ExtendedString& theName, + const Standard_Byte theByte); + + //! Defines a named array of integer values (without calling Backup). + Standard_EXPORT void setArrayOfIntegers( + const TCollection_ExtendedString& theName, + const Handle(TColStd_HArray1OfInteger)& theArrayOfIntegers); + + //! Defines a named array of real values (without calling Backup). + Standard_EXPORT void setArrayOfReals(const TCollection_ExtendedString& theName, + const Handle(TColStd_HArray1OfReal)& theArrayOfReals); + +public: //! @name TDF_Attribute interface + Standard_EXPORT virtual const Standard_GUID& ID() const Standard_OVERRIDE; + + Standard_EXPORT virtual void Restore(const Handle(TDF_Attribute)& With) Standard_OVERRIDE; + + Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; + + Standard_EXPORT virtual void Paste(const Handle(TDF_Attribute)& Into, + const Handle(TDF_RelocationTable)& RT) const Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const Standard_OVERRIDE; + + //! Dumps the content of me into the stream + Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, + Standard_Integer theDepth = -1) const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(TDataStd_NamedData, TDF_Attribute) + +protected: + Handle(TDataStd_HDataMapOfStringInteger) myIntegers; + Handle(TDataStd_HDataMapOfStringReal) myReals; + Handle(TDataStd_HDataMapOfStringString) myStrings; + Handle(TDataStd_HDataMapOfStringByte) myBytes; + Handle(TDataStd_HDataMapOfStringHArray1OfInteger) myArraysOfIntegers; + Handle(TDataStd_HDataMapOfStringHArray1OfReal) myArraysOfReals; +}; + +#endif // _TDataStd_NamedData_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataStd_TreeNode.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataStd_TreeNode.hxx new file mode 100644 index 0000000000000000000000000000000000000000..5d0fe5576925871430c67610210a2949b8eadbde --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataStd_TreeNode.hxx @@ -0,0 +1,236 @@ +// Created on: 1999-06-10 +// Created by: Vladislav ROMASHKO +// Copyright (c) 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 _TDataStd_TreeNode_HeaderFile +#define _TDataStd_TreeNode_HeaderFile + +#include + +#include +#include +#include +#include +#include +class TDF_Label; +class TDF_AttributeDelta; +class TDF_RelocationTable; +class TDF_DataSet; + +class TDataStd_TreeNode; +DEFINE_STANDARD_HANDLE(TDataStd_TreeNode, TDF_Attribute) + +//! Allows you to define an explicit tree of labels +//! which you can also edit. +//! Without this class, the data structure cannot be fully edited. +//! This service is required if for presentation +//! purposes, you want to create an application with +//! a tree which allows you to organize and link data +//! as a function of application features. +class TDataStd_TreeNode : public TDF_Attribute +{ + +public: + //! class methods working on the node + //! =================================== + //! Returns true if the tree node T is found on the label L. + //! Otherwise, false is returned. + Standard_EXPORT static Standard_Boolean Find(const TDF_Label& L, Handle(TDataStd_TreeNode)& T); + + //! Finds or Creates a TreeNode attribute on the label + //! with the default tree ID, returned by the method + //! . Returns the created/found TreeNode + //! attribute. + Standard_EXPORT static Handle(TDataStd_TreeNode) Set(const TDF_Label& L); + + //! Finds or Creates a TreeNode attribute on the label + //! , with an explicit tree ID. is + //! the ID returned by method. + //! Returns the found/created TreeNode attribute. + Standard_EXPORT static Handle(TDataStd_TreeNode) Set(const TDF_Label& L, + const Standard_GUID& ExplicitTreeID); + + //! returns a default tree ID. this ID is used by the + //! method without explicit tree ID. + //! Instance methods: + //! ================ + Standard_EXPORT static const Standard_GUID& GetDefaultTreeID(); + + Standard_EXPORT TDataStd_TreeNode(); + + //! Insert the TreeNode as last child of . If + //! the insertion is successful becomes the Father of . + Standard_EXPORT Standard_Boolean Append(const Handle(TDataStd_TreeNode)& Child); + + //! Insert the the TreeNode as first child of + //! . If the insertion is successful becomes the Father of + Standard_EXPORT Standard_Boolean Prepend(const Handle(TDataStd_TreeNode)& Child); + + //! Inserts the TreeNode before . If insertion is successful + //! and belongs to the same Father. + Standard_EXPORT Standard_Boolean InsertBefore(const Handle(TDataStd_TreeNode)& Node); + + //! Inserts the TreeNode after . If insertion is successful + //! and belongs to the same Father. + Standard_EXPORT Standard_Boolean InsertAfter(const Handle(TDataStd_TreeNode)& Node); + + //! Removes this tree node attribute from its father + //! node. The result is that this attribute becomes a root node. + Standard_EXPORT Standard_Boolean Remove(); + + //! Returns the depth of this tree node in the overall tree node structure. + //! In other words, the number of father tree nodes of this one is returned. + Standard_EXPORT Standard_Integer Depth() const; + + //! Returns the number of child nodes. + //! If is true, the method counts children of all levels + //! (children of children ...) + Standard_EXPORT Standard_Integer + NbChildren(const Standard_Boolean allLevels = Standard_False) const; + + //! Returns true if this tree node attribute is an + //! ascendant of of. In other words, if it is a father or + //! the father of a father of of. + Standard_EXPORT Standard_Boolean IsAscendant(const Handle(TDataStd_TreeNode)& of) const; + + //! Returns true if this tree node attribute is a + //! descendant of of. In other words, if it is a child or + //! the child of a child of of. + Standard_EXPORT Standard_Boolean IsDescendant(const Handle(TDataStd_TreeNode)& of) const; + + //! Returns true if this tree node attribute is the + //! ultimate father in the tree. + Standard_EXPORT Standard_Boolean IsRoot() const; + + //! Returns the ultimate father of this tree node attribute. + Standard_EXPORT Handle(TDataStd_TreeNode) Root() const; + + //! Returns true if this tree node attribute is a father of of. + Standard_EXPORT Standard_Boolean IsFather(const Handle(TDataStd_TreeNode)& of) const; + + //! Returns true if this tree node attribute is a child of of. + Standard_EXPORT Standard_Boolean IsChild(const Handle(TDataStd_TreeNode)& of) const; + + //! Returns true if this tree node attribute has a father tree node. + Standard_Boolean HasFather() const; + + //! Returns the father TreeNode of . Null if root. + Standard_EXPORT Handle(TDataStd_TreeNode) Father() const; + + //! Returns true if this tree node attribute has a next tree node. + Standard_Boolean HasNext() const; + + //! Returns the next tree node in this tree node attribute. + //! Warning + //! This tree node is null if it is the last one in this + //! tree node attribute.Returns the next TreeNode of . Null if last. + Standard_EXPORT Handle(TDataStd_TreeNode) Next() const; + + //! Returns true if this tree node attribute has a previous tree node. + Standard_Boolean HasPrevious() const; + + //! Returns the previous tree node of this tree node attribute. + //! Warning + //! This tree node is null if it is the first one in this tree node attribute. + Standard_EXPORT Handle(TDataStd_TreeNode) Previous() const; + + //! Returns true if this tree node attribute has a first child tree node. + Standard_Boolean HasFirst() const; + + //! Returns the first child tree node in this tree node object. + Standard_EXPORT Handle(TDataStd_TreeNode) First() const; + + //! Returns true if this tree node attribute has a last child tree node. + Standard_Boolean HasLast() const; + + //! Returns the last child tree node in this tree node object. + Standard_EXPORT Handle(TDataStd_TreeNode) Last(); + + //! Returns the last child tree node in this tree node object. + //! to set fields + //! ============= + Standard_EXPORT Handle(TDataStd_TreeNode) FindLast(); + + Standard_EXPORT void SetTreeID(const Standard_GUID& explicitID); + + Standard_EXPORT void SetFather(const Handle(TDataStd_TreeNode)& F); + + Standard_EXPORT void SetNext(const Handle(TDataStd_TreeNode)& F); + + Standard_EXPORT void SetPrevious(const Handle(TDataStd_TreeNode)& F); + + Standard_EXPORT void SetFirst(const Handle(TDataStd_TreeNode)& F); + + //! TreeNode callback: + //! ================== + Standard_EXPORT void SetLast(const Handle(TDataStd_TreeNode)& F); + + //! Connect the TreeNode to its father child list + Standard_EXPORT virtual void AfterAddition() Standard_OVERRIDE; + + //! Disconnect the TreeNode from its Father child list + Standard_EXPORT virtual void BeforeForget() Standard_OVERRIDE; + + //! Reconnect the TreeNode to its father child list. + Standard_EXPORT virtual void AfterResume() Standard_OVERRIDE; + + //! Disconnect the TreeNode, if necessary. + Standard_EXPORT virtual Standard_Boolean BeforeUndo( + const Handle(TDF_AttributeDelta)& anAttDelta, + const Standard_Boolean forceIt = Standard_False) Standard_OVERRIDE; + + //! Reconnect the TreeNode, if necessary. + //! Implementation of Attribute methods: + //! =================================== + Standard_EXPORT virtual Standard_Boolean AfterUndo( + const Handle(TDF_AttributeDelta)& anAttDelta, + const Standard_Boolean forceIt = Standard_False) Standard_OVERRIDE; + + //! Returns the tree ID (default or explicit one depending on the Set method used). + Standard_EXPORT const Standard_GUID& ID() const Standard_OVERRIDE; + + Standard_EXPORT virtual void Restore(const Handle(TDF_Attribute)& with) Standard_OVERRIDE; + + Standard_EXPORT virtual void Paste(const Handle(TDF_Attribute)& into, + const Handle(TDF_RelocationTable)& RT) const Standard_OVERRIDE; + + Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; + + Standard_EXPORT virtual void References(const Handle(TDF_DataSet)& aDataSet) const + Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const Standard_OVERRIDE; + + //! Dumps the content of me into the stream + Standard_EXPORT virtual void DumpJson(Standard_OStream& theOStream, + Standard_Integer theDepth = -1) const Standard_OVERRIDE; + + friend class TDataStd_ChildNodeIterator; + + DEFINE_STANDARD_RTTIEXT(TDataStd_TreeNode, TDF_Attribute) + +protected: +private: + TDataStd_PtrTreeNode myFather; + TDataStd_PtrTreeNode myPrevious; + TDataStd_PtrTreeNode myNext; + TDataStd_PtrTreeNode myFirst; + TDataStd_PtrTreeNode myLast; + Standard_GUID myTreeID; +}; + +#include + +#endif // _TDataStd_TreeNode_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataXtd_ConstraintEnum.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataXtd_ConstraintEnum.hxx new file mode 100644 index 0000000000000000000000000000000000000000..e83608f746a7721bb95cd2a8f209bf9cd33ccceb --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataXtd_ConstraintEnum.hxx @@ -0,0 +1,52 @@ +// Created on: 2008-05-29 +// Created by: Sergey ZARITCHNY +// Copyright (c) 2008-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 _TDataXtd_ConstraintEnum_HeaderFile +#define _TDataXtd_ConstraintEnum_HeaderFile + +//! The terms of this enumeration define the types +//! of available constraint. +//! ================== +enum TDataXtd_ConstraintEnum +{ + TDataXtd_RADIUS, + TDataXtd_DIAMETER, + TDataXtd_MINOR_RADIUS, + TDataXtd_MAJOR_RADIUS, + TDataXtd_TANGENT, + TDataXtd_PARALLEL, + TDataXtd_PERPENDICULAR, + TDataXtd_CONCENTRIC, + TDataXtd_COINCIDENT, + TDataXtd_DISTANCE, + TDataXtd_ANGLE, + TDataXtd_EQUAL_RADIUS, + TDataXtd_SYMMETRY, + TDataXtd_MIDPOINT, + TDataXtd_EQUAL_DISTANCE, + TDataXtd_FIX, + TDataXtd_RIGID, + TDataXtd_FROM, + TDataXtd_AXIS, + TDataXtd_MATE, + TDataXtd_ALIGN_FACES, + TDataXtd_ALIGN_AXES, + TDataXtd_AXES_ANGLE, + TDataXtd_FACES_ANGLE, + TDataXtd_ROUND, + TDataXtd_OFFSET +}; + +#endif // _TDataXtd_ConstraintEnum_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataXtd_Position.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataXtd_Position.hxx new file mode 100644 index 0000000000000000000000000000000000000000..429ff597fe7fdd20c124e885607c1b1104694c6a --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDataXtd_Position.hxx @@ -0,0 +1,85 @@ +// Created on: 2009-04-06 +// Created by: Sergey ZARITCHNY +// Copyright (c) 2009-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 _TDataXtd_Position_HeaderFile +#define _TDataXtd_Position_HeaderFile + +#include +#include + +#include +#include +class TDF_Label; +class Standard_GUID; +class TDF_RelocationTable; + +class TDataXtd_Position; +DEFINE_STANDARD_HANDLE(TDataXtd_Position, TDF_Attribute) + +//! Position of a Label +class TDataXtd_Position : public TDF_Attribute +{ + +public: + //! Create if not found the TDataXtd_Position attribute set its position to + Standard_EXPORT static void Set(const TDF_Label& aLabel, const gp_Pnt& aPos); + + //! Find an existing, or create an empty, Position. + //! the Position attribute is returned. + Standard_EXPORT static Handle(TDataXtd_Position) Set(const TDF_Label& aLabel); + + //! Search label into this + //! one. It is used when aborting a transaction. + Standard_EXPORT virtual void Restore(const Handle(TDF_Attribute)& anAttribute) Standard_OVERRIDE; + + //! Returns an new empty attribute from the good end + //! type. It is used by the copy algorithm. + Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; + + //! This method is different from the "Copy" one, + //! because it is used when copying an attribute from + //! a source structure into a target structure. This + //! method pastes the current attribute to the label + //! corresponding to the insertor. The pasted + //! attribute may be a brand new one or a new version + //! of the previous one. + Standard_EXPORT virtual void Paste(const Handle(TDF_Attribute)& intoAttribute, + const Handle(TDF_RelocationTable)& aRelocTationable) const + Standard_OVERRIDE; + + Standard_EXPORT const gp_Pnt& GetPosition() const; + + Standard_EXPORT void SetPosition(const gp_Pnt& aPos); + + DEFINE_STANDARD_RTTIEXT(TDataXtd_Position, TDF_Attribute) + +protected: +private: + gp_Pnt myPosition; +}; + +#endif // _TDataXtd_Position_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDocStd_Context.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDocStd_Context.hxx new file mode 100644 index 0000000000000000000000000000000000000000..1b385c9ef2848791683faf116ecbd9f281adff01 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDocStd_Context.hxx @@ -0,0 +1,42 @@ +// Created on: 1998-06-08 +// Created by: Isabelle GRIGNON +// Copyright (c) 1998-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 _TDocStd_Context_HeaderFile +#define _TDocStd_Context_HeaderFile + +#include +#include +#include + +#include + +class TDocStd_Context +{ +public: + DEFINE_STANDARD_ALLOC + + Standard_EXPORT TDocStd_Context(); + + Standard_EXPORT void SetModifiedReferences(const Standard_Boolean Mod); + + Standard_EXPORT Standard_Boolean ModifiedReferences() const; + +protected: +private: + Standard_Boolean modifiedRef; +}; + +#endif // _TDocStd_Context_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDocStd_Owner.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDocStd_Owner.hxx new file mode 100644 index 0000000000000000000000000000000000000000..788fbec291520a4c02a5a857097bcae6c24f77b0 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TDocStd_Owner.hxx @@ -0,0 +1,85 @@ +// Created on: 1999-07-12 +// Created by: Denis PASCAL +// Copyright (c) 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 _TDocStd_Owner_HeaderFile +#define _TDocStd_Owner_HeaderFile + +#include +#include + +#include +#include +class TDocStd_Document; +class Standard_GUID; +class TDF_Data; +class TDF_RelocationTable; + +class TDocStd_Owner; +DEFINE_STANDARD_HANDLE(TDocStd_Owner, TDF_Attribute) + +//! This attribute located at the root label of the +//! framework contains a back reference to the owner +//! TDocStd_Document, providing access to the document from +//! any label. private class Owner; +class TDocStd_Owner : public TDF_Attribute +{ + +public: + //! class methods + //! ============= + Standard_EXPORT static const Standard_GUID& GetID(); + + Standard_EXPORT static void SetDocument(const Handle(TDF_Data)& indata, + const Handle(TDocStd_Document)& doc); + + Standard_EXPORT static void SetDocument(const Handle(TDF_Data)& indata, TDocStd_Document* doc); + + //! Owner methods + //! =============== + Standard_EXPORT static Handle(TDocStd_Document) GetDocument(const Handle(TDF_Data)& ofdata); + + Standard_EXPORT TDocStd_Owner(); + + Standard_EXPORT void SetDocument(const Handle(TDocStd_Document)& document); + + Standard_EXPORT void SetDocument(TDocStd_Document* document); + + Standard_EXPORT Handle(TDocStd_Document) GetDocument() const; + + Standard_EXPORT const Standard_GUID& ID() const Standard_OVERRIDE; + + Standard_EXPORT void Restore(const Handle(TDF_Attribute)& With) Standard_OVERRIDE; + + Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE; + + Standard_EXPORT void Paste(const Handle(TDF_Attribute)& Into, + const Handle(TDF_RelocationTable)& RT) const Standard_OVERRIDE; + + Standard_EXPORT virtual Standard_OStream& Dump(Standard_OStream& anOS) const Standard_OVERRIDE; + + //! Dumps the content of me into the stream + Standard_EXPORT void DumpJson(Standard_OStream& theOStream, + Standard_Integer theDepth = -1) const Standard_OVERRIDE; + + DEFINE_STANDARD_RTTIEXT(TDocStd_Owner, TDF_Attribute) + +protected: +private: + //! It keeps pointer to the document to avoid handles cyclic dependency + TDocStd_Document* myDocument; +}; + +#endif // _TDocStd_Owner_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TFunction_Iterator.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TFunction_Iterator.hxx new file mode 100644 index 0000000000000000000000000000000000000000..0c4efa871b618551db996838c1341fb4fcddbd0b --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TFunction_Iterator.hxx @@ -0,0 +1,94 @@ +// Created on: 2008-01-22 +// Created by: Vladislav ROMASHKO +// Copyright (c) 2008-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 _TFunction_Iterator_HeaderFile +#define _TFunction_Iterator_HeaderFile + +#include +#include +#include + +#include +#include +#include +#include +#include +class TFunction_Scope; +class TDF_Label; + +//! Iterator of the graph of functions +class TFunction_Iterator +{ +public: + DEFINE_STANDARD_ALLOC + + //! An empty constructor. + Standard_EXPORT TFunction_Iterator(); + + //! A constructor. + //! Initializes the iterator. + Standard_EXPORT TFunction_Iterator(const TDF_Label& Access); + + //! Initializes the Iterator. + Standard_EXPORT virtual void Init(const TDF_Label& Access); + + //! Defines the mode of iteration - usage or not of the execution status. + //! If the iterator takes into account the execution status, + //! the method ::Current() returns only "not executed" functions + //! while their status is not changed. + //! If the iterator ignores the execution status, + //! the method ::Current() returns the functions + //! following their dependencies and ignoring the execution status. + Standard_EXPORT void SetUsageOfExecutionStatus(const Standard_Boolean usage); + + //! Returns usage of execution status by the iterator. + Standard_EXPORT Standard_Boolean GetUsageOfExecutionStatus() const; + + //! Analyses the graph of dependencies and returns + //! maximum number of threads may be used to calculate the model. + Standard_EXPORT virtual Standard_Integer GetMaxNbThreads() const; + + //! Returns the current list of functions. + //! If the iterator uses the execution status, + //! the returned list contains only the functions + //! with "not executed" status. + Standard_EXPORT virtual const TDF_LabelList& Current() const; + + //! Returns false if the graph of functions is fully iterated. + Standard_EXPORT virtual Standard_Boolean More() const; + + //! Switches the iterator to the next list of current functions. + Standard_EXPORT virtual void Next(); + + //! A help-function aimed to help the user to check the status of retrurned function. + //! It calls TFunction_GraphNode::GetStatus() inside. + Standard_EXPORT TFunction_ExecutionStatus GetStatus(const TDF_Label& func) const; + + //! A help-function aimed to help the user to change the execution status of a function. + //! It calls TFunction_GraphNode::SetStatus() inside. + Standard_EXPORT void SetStatus(const TDF_Label& func, + const TFunction_ExecutionStatus status) const; + + Standard_EXPORT Standard_OStream& Dump(Standard_OStream& OS) const; + +protected: +private: + TDF_LabelList myCurrent; + Standard_Boolean myUsageOfExecutionStatus; + TDF_LabelMap myPassedFunctions; + Handle(TFunction_Scope) myScope; +}; + +#endif // _TFunction_Iterator_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TNaming_PtrNode.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TNaming_PtrNode.hxx new file mode 100644 index 0000000000000000000000000000000000000000..8fd37e934c859bc57096c2b697489fa41d6e2e98 --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TNaming_PtrNode.hxx @@ -0,0 +1,23 @@ +// Created on: 1997-03-17 +// Created by: Yves FRICAUD +// Copyright (c) 1997-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 _TNaming_PtrNode_HeaderFile +#define _TNaming_PtrNode_HeaderFile + +class TNaming_Node; +typedef TNaming_Node* TNaming_PtrNode; + +#endif // _TNaming_PtrNode_HeaderFile diff --git a/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TNaming_Selector.hxx b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TNaming_Selector.hxx new file mode 100644 index 0000000000000000000000000000000000000000..4307a894d30b37302916889daf476bc66cd64bfc --- /dev/null +++ b/data/miniconda3/pkgs/occt-7.9.3-novtk_hac3f730_100/include/opencascade/TNaming_Selector.hxx @@ -0,0 +1,136 @@ +// Created on: 1999-09-28 +// Created by: Denis PASCAL +// Copyright (c) 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 _TNaming_Selector_HeaderFile +#define _TNaming_Selector_HeaderFile + +#include +#include +#include + +#include +#include +#include +class TopoDS_Shape; +class TNaming_NamedShape; + +//! This class provides a single API for selection of shapes. +//! This involves both identification and selection of +//! shapes in the data framework. +//! If the selected shape is modified, this selector will +//! solve its identifications. +//! This class is the user interface for topological +//! naming resources. +//! * The method returns (if exists) +//! the NamedShape which contains a given shape. The +//! definition of an identified shape is : a Shape +//! handled by a NamedShape (this shape is the only +//! one stored) , which has the TNaming_PRImITIVE evolution +//! +//! * The