Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:03

0001 // Created on: 2017-06-26
0002 // Created by: Andrey Betenev
0003 // Copyright (c) 2017 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _BOPAlgo_Alerts_HeaderFile
0017 #define _BOPAlgo_Alerts_HeaderFile
0018 
0019 #include <TopoDS_AlertWithShape.hxx>
0020 
0021 //! Boolean operation was stopped by user
0022 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertUserBreak)
0023 
0024 //! Boolean operation of given type is not allowed on the given inputs
0025 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertBOPNotAllowed)
0026 
0027 //! The type of Boolean Operation is not set
0028 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertBOPNotSet)
0029 
0030 //! Building of the result shape has failed
0031 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertBuilderFailed)
0032 
0033 //! The intersection of the arguments has failed
0034 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertIntersectionFailed)
0035 
0036 //! More than one argument is provided
0037 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertMultipleArguments)
0038 
0039 //! The Pave Filler (the intersection tool) has not been created
0040 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertNoFiller)
0041 
0042 //! Null input shapes
0043 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertNullInputShapes)
0044 
0045 //! Cannot connect face intersection curves
0046 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertPostTreatFF)
0047 
0048 //! The BuilderSolid algorithm has failed
0049 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertSolidBuilderFailed)
0050 
0051 //! There are no enough arguments to perform the operation
0052 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertTooFewArguments)
0053 
0054 //! The positioning of the shapes leads to creation of the small edges without valid range
0055 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertBadPositioning)
0056 
0057 //! Some of the arguments are empty shapes
0058 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertEmptyShape)
0059 
0060 //! Some edges are very small and have such a small valid range, that they cannot be split
0061 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertNotSplittableEdge)
0062 
0063 //! Removal of internal boundaries among Edges has failed
0064 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertRemovalOfIBForEdgesFailed)
0065 
0066 //! Removal of internal boundaries among Faces has failed
0067 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertRemovalOfIBForFacesFailed)
0068 
0069 //! Removal of internal boundaries among the multi-dimensional shapes is not supported yet
0070 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertRemovalOfIBForMDimShapes)
0071 
0072 //! Removal of internal boundaries among Solids has failed
0073 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertRemovalOfIBForSolidsFailed)
0074 
0075 //! Some of the arguments are self-interfering shapes
0076 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertSelfInterferingShape)
0077 
0078 //! The positioning of the shapes leads to creation of the small edges without valid range
0079 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertShellSplitterFailed)
0080 
0081 //! Some edges are too small and have no valid range
0082 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertTooSmallEdge)
0083 
0084 //! Intersection of pair of shapes has failed
0085 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertIntersectionOfPairOfShapesFailed)
0086 
0087 //! Building 2D curve of edge on face has failed
0088 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertBuildingPCurveFailed)
0089 
0090 //! Some sub-shapes of some of the argument become connected through
0091 //! other shapes and the argument became self-interfered
0092 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertAcquiredSelfIntersection)
0093 
0094 //! Unsupported type of input shape
0095 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertUnsupportedType)
0096 
0097 //! No faces have been found for removal
0098 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertNoFacesToRemove)
0099 
0100 //! Unable to remove the feature
0101 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertUnableToRemoveTheFeature)
0102 
0103 //! The Feature Removal algorithm has failed
0104 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertRemoveFeaturesFailed)
0105 
0106 //! Some of the faces passed to the Solid Builder algorithm have not been classified
0107 //! and not used for solids creation
0108 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertSolidBuilderUnusedFaces)
0109 
0110 //! Some of the edges passed to the Face Builder algorithm have not been classified
0111 //! and not used for faces creation
0112 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertFaceBuilderUnusedEdges)
0113 
0114 //! Unable to orient the shape correctly
0115 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertUnableToOrientTheShape)
0116 
0117 //! Shape is unknown for operation
0118 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertUnknownShape)
0119 
0120 //! No periodicity has been requested for the shape
0121 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertNoPeriodicityRequired)
0122 
0123 //! Unable to trim the shape for making it periodic (BOP Common fails)
0124 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertUnableToTrim)
0125 
0126 //! Unable to make the shape to look identical on opposite sides (Splitter fails)
0127 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertUnableToMakeIdentical)
0128 
0129 //! Unable to repeat the shape (Gluer fails)
0130 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertUnableToRepeat)
0131 
0132 //! Multi-dimensional arguments
0133 DEFINE_SIMPLE_ALERT(BOPAlgo_AlertMultiDimensionalArguments)
0134 
0135 //! Unable to make the shape periodic
0136 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertUnableToMakePeriodic)
0137 
0138 //! Unable to glue the shapes
0139 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertUnableToGlue)
0140 
0141 //! The shape is not periodic
0142 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertShapeIsNotPeriodic)
0143 
0144 //! Unable to make closed edge on face (to make a seam)
0145 DEFINE_ALERT_WITH_SHAPE(BOPAlgo_AlertUnableToMakeClosedEdgeOnFace)
0146 
0147 #endif // _BOPAlgo_Alerts_HeaderFile