]> OCCT Git - occt-copy.git/commitdiff
0024737: Coding - remove <br> tag from header files
authorkgv <kgv@opencascade.com>
Thu, 20 Mar 2014 10:12:12 +0000 (14:12 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 20 Mar 2014 10:12:58 +0000 (14:12 +0400)
Eliminate #ifdefs around #includes, some unnecessary includes and macros

130 files changed:
src/AdvApp2Var/AdvApp2Var_Data.hxx
src/AdvApp2Var/AdvApp2Var_EvaluatorFunc2Var.hxx
src/AdvApprox/AdvApprox_EvaluatorFunction.hxx
src/BOPAlgo/BOPAlgo_WireSplitter.lxx
src/BOPCol/BOPCol_DataMapOfIntegerInteger.hxx
src/BOPCol/BOPCol_DataMapOfIntegerListOfInteger.hxx
src/BOPCol/BOPCol_DataMapOfIntegerListOfShape.hxx
src/BOPCol/BOPCol_DataMapOfIntegerMapOfInteger.hxx
src/BOPCol/BOPCol_DataMapOfIntegerReal.hxx
src/BOPCol/BOPCol_DataMapOfIntegerShape.hxx
src/BOPCol/BOPCol_DataMapOfShapeAddress.hxx
src/BOPCol/BOPCol_DataMapOfShapeInteger.hxx
src/BOPCol/BOPCol_DataMapOfShapeListOfShape.hxx
src/BOPCol/BOPCol_DataMapOfShapeShape.hxx
src/BOPCol/BOPCol_DataMapOfTransientAddress.hxx
src/BOPCol/BOPCol_IndexedDataMapOfIntegerListOfInteger.hxx
src/BOPCol/BOPCol_IndexedDataMapOfShapeBox.hxx
src/BOPCol/BOPCol_IndexedDataMapOfShapeInteger.hxx
src/BOPCol/BOPCol_IndexedDataMapOfShapeListOfShape.hxx
src/BOPCol/BOPCol_IndexedMapOfInteger.hxx
src/BOPCol/BOPCol_IndexedMapOfShape.hxx
src/BOPCol/BOPCol_ListOfInteger.hxx
src/BOPCol/BOPCol_MapOfInteger.hxx
src/BOPCol/BOPCol_MapOfOrientedShape.hxx
src/BOPCol/BOPCol_MapOfShape.hxx
src/BOPCol/BOPCol_VectorOfInteger.hxx
src/BOPDS/BOPDS_DataMapOfIntegerListOfPaveBlock.hxx
src/BOPDS/BOPDS_DataMapOfPassKeyListOfPaveBlock.hxx
src/BOPDS/BOPDS_DataMapOfPaveBlockCommonBlock.hxx
src/BOPDS/BOPDS_DataMapOfPaveBlockListOfInteger.hxx
src/BOPDS/BOPDS_DataMapOfPaveBlockListOfPaveBlock.hxx
src/BOPDS/BOPDS_DataMapOfShapeCoupleOfPaveBlocks.hxx
src/BOPDS/BOPDS_IndexedDataMapOfPaveBlockListOfInteger.hxx
src/BOPDS/BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock.hxx
src/BOPDS/BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks.hxx
src/BOPDS/BOPDS_IndexedMapOfPaveBlock.hxx
src/BOPDS/BOPDS_Interf.hxx
src/BOPDS/BOPDS_MapOfCommonBlock.hxx
src/BOPDS/BOPDS_MapOfPassKey.hxx
src/BOPDS/BOPDS_MapOfPassKeyBoolean.hxx
src/BOPDS/BOPDS_MapOfPave.hxx
src/BOPDS/BOPDS_MapOfPaveBlock.hxx
src/BOPTools/BOPTools_ConnexityBlock.hxx
src/BOPTools/BOPTools_DataMapOfShapeSet.hxx
src/BOPTools/BOPTools_MapOfSet.hxx
src/BRepBuilderAPI/BRepBuilderAPI_BndBoxTreeSelector.hxx
src/BRepBuilderAPI/BRepBuilderAPI_CellFilter.hxx
src/BRepBuilderAPI/BRepBuilderAPI_VertexInspector.hxx
src/BRepExtrema/BRepExtrema_DistShapeShape.hxx
src/BRepExtrema/BRepExtrema_DistanceSS.hxx
src/BRepExtrema/BRepExtrema_ExtCC.hxx
src/BRepExtrema/BRepExtrema_ExtCF.hxx
src/BRepExtrema/BRepExtrema_ExtFF.hxx
src/BRepExtrema/BRepExtrema_ExtPC.hxx
src/BRepExtrema/BRepExtrema_ExtPF.hxx
src/BRepExtrema/BRepExtrema_Poly.hxx
src/BRepExtrema/BRepExtrema_SeqOfSolution.hxx
src/BRepExtrema/BRepExtrema_SolutionElem.hxx
src/BRepExtrema/BRepExtrema_SupportType.hxx
src/BRepMesh/BRepMesh_Delaun.hxx
src/BRepMesh/BRepMesh_PluginEntryType.hxx
src/BRepMesh/BRepMesh_Status.hxx
src/BRepMesh/BRepMesh_VectorOfVertex.hxx
src/BRepMesh/BRepMesh_VertexCellFilter.hxx
src/BRepMesh/BRepMesh_VertexInspector.hxx
src/BRepPrim/BRepPrim_OneAxis.hxx
src/BRepSweep/BRepSweep_NumLinearRegularSweep.hxx
src/BSplCLib/BSplCLib_EvaluatorFunction.hxx
src/DBC/DBC_BaseArray_objs.hxx
src/DBC/DBC_DBVArray.hxx
src/DDF/DDF_IOStream.hxx
src/Draw/Draw_Main.hxx
src/Graphic3d/Graphic3d_Camera.hxx
src/Graphic3d/Graphic3d_Vertex.hxx
src/IntAna2d/IntAna2d_Outils.hxx
src/IntImp/IntImp_ZerParFunc.lxx
src/IntImpParGen/IntImpParGen_Tool.hxx
src/IntPolyh/IntPolyh_ArrayOfCouples.hxx
src/IntPolyh/IntPolyh_ArrayOfEdges.hxx
src/IntPolyh/IntPolyh_ArrayOfPoints.hxx
src/IntPolyh/IntPolyh_ArrayOfSectionLines.hxx
src/IntPolyh/IntPolyh_ArrayOfStartPoints.hxx
src/IntPolyh/IntPolyh_ArrayOfTangentZones.hxx
src/IntPolyh/IntPolyh_ArrayOfTriangles.hxx
src/IntSurf/IntSurf_Quadric.lxx
src/IntWalk/IntWalk_IWLine.lxx
src/MeshVS/MeshVS_TwoColors.hxx
src/Message/Message_Messenger.lxx
src/NIS/NIS_InteractiveContext.hxx
src/NIS/NIS_InteractiveObject.hxx
src/NIS/NIS_SelectFilter.hxx
src/OpenGl/OpenGl_AVIWriter.hxx
src/OpenGl/OpenGl_GraphicDriver.hxx
src/Poly/Poly_CoherentTriangulation.hxx
src/Standard/Handle_Standard_Persistent.hxx
src/Standard/Handle_Standard_Transient.hxx
src/Standard/Standard_Address.hxx
src/Standard/Standard_Boolean.cxx
src/Standard/Standard_Character.cxx
src/Standard/Standard_DefineHandle.hxx
src/Standard/Standard_ExtCharacter.cxx
src/Standard/Standard_ExtString.hxx
src/Standard/Standard_IStream.hxx
src/Standard/Standard_Integer.cxx
src/Standard/Standard_Integer.hxx
src/Standard/Standard_MMgrOpt.hxx
src/Standard/Standard_MMgrRaw.hxx
src/Standard/Standard_MMgrRoot.hxx
src/Standard/Standard_MMgrTBBalloc.hxx
src/Standard/Standard_OId.hxx
src/Standard/Standard_OStream.hxx
src/Standard/Standard_Persistent_proto.hxx
src/Standard/Standard_PrimitiveTypes.hxx
src/Standard/Standard_Real.cxx
src/Standard/Standard_Real.hxx
src/Standard/Standard_SStream.hxx
src/Standard/Standard_ShortReal.cxx
src/Standard/Standard_ShortReal.hxx
src/Standard/Standard_Stream.hxx
src/Standard/Standard_Time.hxx
src/Standard/Standard_Transient.hxx
src/Standard/Standard_Transient_proto.hxx
src/Standard/Standard_TypeDef.hxx
src/TColStd/TColStd_PackedMapOfInteger.hxx
src/TDF/TDF_AttributeIterator.hxx
src/V3d/V3d_Plane.hxx
src/WNT/FILES
src/WNT/WNT_Dword.cxx [deleted file]
src/WNT/WNT_Uint.cxx [deleted file]
src/WNT/WNT_WindowData.cxx [deleted file]

index 63a9cb499401a1f05d0bea37b6ef8bf6952dfe5f..26f82b0ace9129df1404b4df35cf87c1bdd9c8cf 100644 (file)
 #ifndef AdvApp2Var_Data_HeaderFile
 #define AdvApp2Var_Data_HeaderFile
 
-#ifndef _Standard_Macro_HeaderFile
 #include <Standard_Macro.hxx>
-#endif
-
 #include <AdvApp2Var_Data_f2c.hxx>
 //
 struct mdnombr_1_ {
index 36e8eb931bade2880e83a950df3f1ee3bf404db0..c4b391a38355bd2d656e082af2e39504f009f8b8 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#ifndef _Standard_Integer_HeaderFile
+#ifndef AdvApp2Var_EvaluatorFunc2Var_HeaderFile
+#define AdvApp2Var_EvaluatorFunc2Var_HeaderFile
+
 #include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
 #include <Standard_Real.hxx>
-#endif
-#ifndef _Standard_PrimitiveTypes_HeaderFile
 #include <Standard_PrimitiveTypes.hxx>
-#endif
-
-#ifndef AdvApp2Var_EvaluatorFunc2Var_HeaderFile
-#define AdvApp2Var_EvaluatorFunc2Var_HeaderFile
 
 // History - the C function pointer converted to a virtual class
 // in order to get rid of usage of static functions and static data
index 9331502e186a9a822782ddebd1ad2238aeed3ce8..ae76e172e8504cc30a0ad936d14e838af8f99b0a 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#ifndef _Standard_Integer_HeaderFile
+#ifndef _AdvApprox_EvaluatorFunction_HeaderFile
+#define _AdvApprox_EvaluatorFunction_HeaderFile
+
 #include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
 #include <Standard_Real.hxx>
-#endif
-#ifndef _Standard_PrimitiveTypes_HeaderFile
 #include <Standard_PrimitiveTypes.hxx>
-#endif
-#ifndef _AdvApprox_EvaluatorFunction_HeaderFile
-#define _AdvApprox_EvaluatorFunction_HeaderFile
 
 // abv 01.04.2009: the C function pointer converted to a virtual class
 // in order to get rid of usage of static functions and static data
index 95000ce89c1435d70b62c7b220eae3f04101092d..01fa726fb8ff60e82d8205c91003f6adbac6e0c0 100644 (file)
@@ -73,15 +73,12 @@ class BOPAlgo_EdgeInfo {
 typedef NCollection_List<BOPAlgo_EdgeInfo> BOPAlgo_ListOfEdgeInfo; 
 typedef BOPAlgo_ListOfEdgeInfo::Iterator BOPAlgo_ListIteratorOfListOfEdgeInfo;  
 
-#define _NCollection_MapHasher
 #include <NCollection_IndexedDataMap.hxx>
 #include <TopTools_ShapeMapHasher.hxx>
 
 typedef NCollection_IndexedDataMap<TopoDS_Shape, \
   BOPAlgo_ListOfEdgeInfo, \
   TopTools_ShapeMapHasher> BOPAlgo_IndexedDataMapOfShapeListOfEdgeInfo; 
-#undef _NCollection_MapHasher
-
 
 //=======================================================================
 //function : MakeWire
index a0f1a64efa45497edfd0098e59353c6eece475a0..36d299a1b1947a4720102ac4a166fc768b8e2a96 100644 (file)
@@ -22,6 +22,4 @@
 typedef NCollection_DataMap<Standard_Integer, Standard_Integer, TColStd_MapIntegerHasher> BOPCol_DataMapOfIntegerInteger; 
 typedef BOPCol_DataMapOfIntegerInteger::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerInteger;
 
-#undef _NCollection_MapHasher
-
 #endif
index c92cb137c0ab5a8d7a2d205ab690ae11e1279ede..25c55a94d659d8cc690476a6c2f52df794678a3c 100644 (file)
@@ -24,6 +24,4 @@
 typedef NCollection_DataMap<Standard_Integer, BOPCol_ListOfInteger, TColStd_MapIntegerHasher> BOPCol_DataMapOfIntegerListOfInteger; 
 typedef BOPCol_DataMapOfIntegerListOfInteger::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerListOfInteger;
  
-#undef _NCollection_MapHasher
-
 #endif
index 6ec2c980d5ac3e4757d80be5bccfe5722df01898..d5bd72929ba88068a8d6f6cde79895ac471e0349 100644 (file)
@@ -23,7 +23,4 @@
 typedef NCollection_DataMap<Standard_Integer, BOPCol_ListOfShape, TColStd_MapIntegerHasher> BOPCol_DataMapOfIntegerListOfShape; 
 typedef BOPCol_DataMapOfIntegerListOfShape::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerListOfShape;
  
-#undef _NCollection_MapHasher
-
-
 #endif
index 75a12377bb263be316bf86cf2b49795ac113bea3..6d4a2d5b81b1ce9c6ca6cf6cea1c1563baaa4297 100644 (file)
@@ -24,6 +24,4 @@
 typedef NCollection_DataMap<Standard_Integer, BOPCol_MapOfInteger, TColStd_MapIntegerHasher> BOPCol_DataMapOfIntegerMapOfInteger; 
 typedef BOPCol_DataMapOfIntegerMapOfInteger::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerMapOfInteger;
  
-#undef _NCollection_MapHasher
-
 #endif
index cbf9a4cf344cf1341caf4dd66716a550c2696e70..bd19d7eca6f05169ffc69cb39837604ea6549742 100644 (file)
@@ -22,6 +22,4 @@
 typedef NCollection_DataMap<Standard_Integer, Standard_Real, TColStd_MapIntegerHasher> BOPCol_DataMapOfIntegerReal; 
 typedef BOPCol_DataMapOfIntegerReal::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerReal;
 
-#undef _NCollection_MapHasher
-
 #endif
index 3324aab5108407f7f5ff5f6de3f7f8994796e506..f72ec102404e40b79bcda525bd58e60f5c18a433 100644 (file)
 #ifndef BOPCol_DataMapOfIntegerShape_HeaderFile
 #define BOPCol_DataMapOfIntegerShape_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <TopoDS_Shape.hxx>  
 #include <TColStd_MapIntegerHasher.hxx>
   
 #include <NCollection_DataMap.hxx>
 
-
 typedef NCollection_DataMap<Standard_Integer, TopoDS_Shape, TColStd_MapIntegerHasher> BOPCol_DataMapOfIntegerShape; 
 typedef BOPCol_DataMapOfIntegerShape::Iterator BOPCol_DataMapIteratorOfDataMapOfIntegerShape; 
  
-#undef _NCollection_MapHasher
-
 #endif
index 5aaf7a277c46a11c107fde5d0f94f63f79cc9e98..ec2687787b7369150def8f6f26f8869182ef569c 100644 (file)
 #ifndef BOPCol_DataMapOfShapeAddress_HeaderFile
 #define BOPCol_DataMapOfShapeAddress_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <TopoDS_Shape.hxx>  
 #include <TopTools_ShapeMapHasher.hxx>
   
@@ -30,7 +23,4 @@
 typedef NCollection_DataMap<TopoDS_Shape, Standard_Address, TopTools_ShapeMapHasher> BOPCol_DataMapOfShapeAddress; 
 typedef BOPCol_DataMapOfShapeAddress::Iterator BOPCol_DataMapIteratorOfDataMapOfShapeAddress; 
  
-#undef _NCollection_MapHasher
-
-
 #endif
index c84da2420b019ad4f4633db78de1249f34ec3e2c..8b96f8a1854bcd4b0707309c02dc1ecfc711e799 100644 (file)
 #ifndef BOPCol_DataMapOfShapeInteger_HeaderFile
 #define BOPCol_DataMapOfShapeInteger_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <TopoDS_Shape.hxx>  
 #include <TopTools_ShapeMapHasher.hxx>
   
@@ -30,6 +23,4 @@
 typedef NCollection_DataMap<TopoDS_Shape, Standard_Integer, TopTools_ShapeMapHasher> BOPCol_DataMapOfShapeInteger; 
 typedef BOPCol_DataMapOfShapeInteger::Iterator BOPCol_DataMapIteratorOfDataMapOfShapeInteger; 
  
-#undef _NCollection_MapHasher
-
 #endif
index e4e4c5af0f29d8d13140dc10dfa17862834f0c9c..38cc0464d7b47bd9dd9ff7dddefa3d2455355538 100644 (file)
 
 #include <NCollection_DataMap.hxx>
 
-
-
 typedef NCollection_DataMap<TopoDS_Shape, BOPCol_ListOfShape, TopTools_ShapeMapHasher> BOPCol_DataMapOfShapeListOfShape; 
 typedef BOPCol_DataMapOfShapeListOfShape::Iterator BOPCol_DataMapIteratorOfDataMapOfShapeListOfShape; 
  
-#undef _NCollection_MapHasher
-
 #endif
index 9890d9dc73f292cbf4a01414090fd4369f051539..a627c9233d97aabfc27bf3d3665147183b8144d5 100644 (file)
@@ -23,7 +23,4 @@
 typedef NCollection_DataMap<TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher> BOPCol_DataMapOfShapeShape; 
 typedef BOPCol_DataMapOfShapeShape::Iterator BOPCol_DataMapIteratorOfDataMapOfShapeShape; 
  
-#undef _NCollection_MapHasher
-
-
 #endif
index ae1803be9a9623073d0ab511d51622a9c6fcd994..d26d585913ac07596f175f70d887eaf03962db13 100644 (file)
 #ifndef BOPCol_DataMapOfTransientAddress_HeaderFile
 #define BOPCol_DataMapOfTransientAddress_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <NCollection_DataMap.hxx>
 #include <TColStd_MapTransientHasher.hxx>
 
 typedef NCollection_DataMap<Handle(Standard_Transient), Standard_Address, TColStd_MapTransientHasher> BOPCol_DataMapOfTransientAddress; 
 typedef BOPCol_DataMapOfTransientAddress::Iterator BOPCol_DataMapIteratorOfDataMapOfTransientAddress; 
  
-#undef _NCollection_MapHasher
-
-
 #endif
index aaca62c5c47fef7ab900efd162f290d1721808bd..694e11aea7cc7edbfc1a479f70ac972f29431237 100644 (file)
@@ -23,6 +23,4 @@
 
 typedef NCollection_IndexedDataMap<Standard_Integer, BOPCol_ListOfInteger, TColStd_MapIntegerHasher> BOPCol_IndexedDataMapOfIntegerListOfInteger; 
  
-#undef _NCollection_MapHasher
-
 #endif
index fb1f874eb864e7d4a321c7d02068b962372c531f..f1179937dfccfc37a382ec4b7b41fd739145e792 100644 (file)
 
 #include <NCollection_IndexedDataMap.hxx>
 
-
 typedef NCollection_IndexedDataMap<TopoDS_Shape, Bnd_Box, TopTools_ShapeMapHasher> BOPCol_IndexedDataMapOfShapeBox; 
  
-#undef _NCollection_MapHasher
-
-
 #endif
index bba12015831ef9b5035f199adea01fea8223c303..9eaf1b489e8f1f2d9f08e6e067de347488f99d47 100644 (file)
 #ifndef BOPCol_IndexedDataMapOfShapeInteger_HeaderFile
 #define BOPCol_IndexedDataMapOfShapeInteger_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <TopoDS_Shape.hxx>  
 #include <TopTools_ShapeMapHasher.hxx>
   
@@ -29,6 +22,4 @@
 
 typedef NCollection_IndexedDataMap<TopoDS_Shape, Standard_Integer, TopTools_ShapeMapHasher> BOPCol_IndexedDataMapOfShapeInteger; 
  
-#undef _NCollection_MapHasher
-
 #endif
index d6a4f09b9725197559526651401fb400aa030e72..5986e8009413ed705c3c340fedfc180c1f71a3ed 100644 (file)
@@ -23,7 +23,5 @@
 #include <NCollection_IndexedDataMap.hxx>
 
 typedef NCollection_IndexedDataMap<TopoDS_Shape, BOPCol_ListOfShape, TopTools_ShapeMapHasher> BOPCol_IndexedDataMapOfShapeListOfShape; 
-#undef _NCollection_MapHasher
-
 
 #endif
index f1dda9238d3fff02e188cea90d402f25a8fb289d..448c1bfe58f22f3cfc6608b8b517ad1e3c76ade6 100644 (file)
@@ -20,6 +20,4 @@
 
 typedef NCollection_IndexedMap<Standard_Integer, TColStd_MapIntegerHasher> BOPCol_IndexedMapOfInteger; 
  
-#undef _NCollection_MapHasher
-
 #endif
index 46b6d199471f4a2d7d7e1abd235dccae32a4284e..266b050a2527c0d21ab581065d1b306bbd3c3b02 100644 (file)
 
 #include <TopoDS_Shape.hxx>
 #include <TopTools_ShapeMapHasher.hxx>
-
-
 #include <NCollection_IndexedMap.hxx>
 
 typedef NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher> BOPCol_IndexedMapOfShape; 
  
-#undef _NCollection_MapHasher
-
-
 #endif
index 74e3a03c543fad78ab4e0589434d4c533cca2950..fb3776f54c5f85f47d394b75ca86f8b9a7efede8 100644 (file)
 #ifndef BOPCol_ListOfInteger_HeaderFile
 #define BOPCol_ListOfInteger_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <NCollection_List.hxx>   
 
 typedef NCollection_List<Standard_Integer> BOPCol_ListOfInteger; 
index 42ce1da367cb2b6bfcd5d2be3bf570d00741d682..8ecce208580c1a2bd90aeb2ab433802897fc8fb2 100644 (file)
 #ifndef BOPCol_MapOfInteger_HeaderFile
 #define BOPCol_MapOfInteger_HeaderFile
 
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <TColStd_MapIntegerHasher.hxx>
-
 #include <NCollection_Map.hxx>   
 
 typedef NCollection_Map<Standard_Integer, TColStd_MapIntegerHasher> BOPCol_MapOfInteger; 
 typedef BOPCol_MapOfInteger::Iterator BOPCol_MapIteratorOfMapOfInteger;  
 
-#undef _NCollection_MapHasher
-
 #endif
index 68f0bfbc49472db007d7907ace6643b941575baf..ac93163b3819494b1f5473e19a7920891f5f5cf8 100644 (file)
@@ -23,7 +23,4 @@
 typedef NCollection_Map<TopoDS_Shape, TopTools_OrientedShapeMapHasher> BOPCol_MapOfOrientedShape; 
 typedef BOPCol_MapOfOrientedShape::Iterator BOPCol_MapIteratorOfMapOfOrientedShape;  
 
-#undef _NCollection_MapHasher
-
-
 #endif
index 804e97262178f92a62188d1a0f533b29977f8858..149f3bd50266c2556b747a8bf26f16b10e505885 100644 (file)
@@ -23,6 +23,4 @@
 typedef NCollection_Map<TopoDS_Shape, TopTools_ShapeMapHasher> BOPCol_MapOfShape; 
 typedef BOPCol_MapOfShape::Iterator BOPCol_MapIteratorOfMapOfShape;  
 
-#undef _NCollection_MapHasher
-
 #endif
index c1e3bf447614d1273ace0c5a5b081fa3c3fb7529..5a09194e38d26c522c5b2c0e22f560bba845b10c 100644 (file)
 #ifndef BOPCol_VectorOfInteger_HeaderFile
 #define BOPCol_VectorOfInteger_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <BOPCol_Array1.hxx>
 
 typedef BOPCol_Array1<Standard_Integer> BOPDS_VectorOfInteger;
 
-
 #endif
index c49bf9e40b5c8fc9cea196920012f3403cd163ed..6cd2db3c565a22ff89784a42f05f544b91e5df77 100644 (file)
 #ifndef BOPDS_DataMapOfIntegerListOfPaveBlock_HeaderFile
 #define BOPDS_DataMapOfIntegerListOfPaveBlock_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-#define _NCollection_MapHasher
 #include <NCollection_DataMap.hxx>
 #include <TColStd_MapTransientHasher.hxx>
 #include <BOPDS_ListOfPaveBlock.hxx>
 
 typedef NCollection_DataMap<Standard_Integer, BOPDS_ListOfPaveBlock, TColStd_MapIntegerHasher> BOPDS_DataMapOfIntegerListOfPaveBlock; 
  
-#undef _NCollection_MapHasher
-
-
 #endif
index 6250ef009667a20e2e8d67c5b5d31eb5445cd554..631e1e8f4eef0402436f199b9be05e8f411974f3 100644 (file)
@@ -15,8 +15,6 @@
 #ifndef BOPDS_DataMapOfPassKeyListOfPaveBlock_HeaderFile
 #define BOPDS_DataMapOfPassKeyListOfPaveBlock_HeaderFile
 
-
-#define _NCollection_MapHasher
 #include <NCollection_DataMap.hxx>
 
 #include <BOPDS_PassKey.hxx>
@@ -26,6 +24,4 @@
 typedef NCollection_DataMap<BOPDS_PassKey, BOPDS_ListOfPaveBlock, BOPDS_PassKeyMapHasher> BOPDS_DataMapOfPassKeyListOfPaveBlock; 
 typedef BOPDS_DataMapOfPassKeyListOfPaveBlock::Iterator BOPDS_DataMapIteratorOfDataMapOfPassKeyListOfPaveBlock;
  
-#undef _NCollection_MapHasher
-
 #endif
index 6c17caed36ba4d2c82b45c8722e4c1aa44268037..0694c8386de2c583b23a32d46b56224b0dd52da2 100644 (file)
@@ -16,7 +16,6 @@
 #ifndef BOPDS_DataMapOfPaveBlockCommonBlock_HeaderFile
 #define BOPDS_DataMapOfPaveBlockCommonBlock_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_DataMap.hxx>
 #include <TColStd_MapTransientHasher.hxx>
 #include <BOPDS_CommonBlock.hxx>
@@ -24,7 +23,4 @@
 typedef NCollection_DataMap<Handle(BOPDS_PaveBlock), Handle(BOPDS_CommonBlock), TColStd_MapTransientHasher> BOPDS_DataMapOfPaveBlockCommonBlock; 
 typedef BOPDS_DataMapOfPaveBlockCommonBlock::Iterator BOPDS_DataMapIteratorOfDataMapOfPaveBlockCommonBlock;
  
-#undef _NCollection_MapHasher
-
-
 #endif
index ce86dfd0a6bb6fe9cad6c6cb1d55098f855d5108..a1438741dda79a25c2db36e4e2345b5cc7f748d6 100644 (file)
 #ifndef BOPDS_DataMapOfPaveBlockListOfInteger_HeaderFile
 #define BOPDS_DataMapOfPaveBlockListOfInteger_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_DataMap.hxx>
 #include <TColStd_MapTransientHasher.hxx>
 #include <BOPCol_ListOfInteger.hxx>
 
 typedef NCollection_DataMap<Handle(BOPDS_PaveBlock), BOPCol_ListOfInteger, TColStd_MapTransientHasher> BOPDS_DataMapOfPaveBlockListOfInteger; 
 typedef BOPDS_DataMapOfPaveBlockListOfInteger::Iterator BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfInteger; 
-#undef _NCollection_MapHasher
-
 
 #endif
index 7f2ae2af72a704130bbe05808640e2e96109bfbc..fa2f68daec2c4663fd59454ab1f8c49ce1a065e8 100644 (file)
@@ -15,7 +15,6 @@
 #ifndef BOPDS_DataMapOfPaveBlockListOfPaveBlock_HeaderFile
 #define BOPDS_DataMapOfPaveBlockListOfPaveBlock_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_DataMap.hxx>
 #include <TColStd_MapTransientHasher.hxx>
 #include <BOPDS_PaveBlock.hxx>   
@@ -24,7 +23,4 @@
 typedef NCollection_DataMap<Handle(BOPDS_PaveBlock), BOPDS_ListOfPaveBlock, TColStd_MapTransientHasher> BOPDS_DataMapOfPaveBlockListOfPaveBlock; 
 typedef BOPDS_DataMapOfPaveBlockListOfPaveBlock::Iterator BOPDS_DataMapIteratorOfDataMapOfPaveBlockListOfPaveBlock; 
  
-#undef _NCollection_MapHasher
-
-
 #endif
index 6d48413c2fd3475002776c7ca7230d6dd5b67cb2..b34cf3d04291329cc8b737cc3efbb11b6040c787 100644 (file)
 
 #include <BOPDS_CoupleOfPaveBlocks.hxx>
 
-#define _NCollection_MapHasher
 #include <NCollection_DataMap.hxx>
 #include <TopTools_ShapeMapHasher.hxx>
 
 typedef NCollection_DataMap<TopoDS_Shape, BOPDS_CoupleOfPaveBlocks, TopTools_ShapeMapHasher> BOPDS_DataMapOfShapeCoupleOfPaveBlocks; 
 typedef BOPDS_DataMapOfShapeCoupleOfPaveBlocks::Iterator BOPDS_DataMapIteratorOfDataMapOfShapeCoupleOfPaveBlocks; 
-#undef _NCollection_MapHasher
-
 
 #endif
index 4065fe4791795400cbc626dd558c1fcc11b488ba..01235d9b09fc52afb76e0dbc9e0e96a1799752e6 100644 (file)
 #ifndef BOPDS_IndexedDataMapOfPaveBlockListOfInteger_HeaderFile
 #define BOPDS_IndexedDataMapOfPaveBlockListOfInteger_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_IndexedDataMap.hxx>
 #include <TColStd_MapTransientHasher.hxx>
 #include <BOPCol_ListOfInteger.hxx>
 
 typedef NCollection_IndexedDataMap<Handle(BOPDS_PaveBlock), BOPCol_ListOfInteger, TColStd_MapTransientHasher> BOPDS_IndexedDataMapOfPaveBlockListOfInteger; 
-#undef _NCollection_MapHasher
-
 
 #endif
index 2394fdecb0a1bdc367b3bae3bbd82ece9c774e33..c8e0382c41c5981b4f01f6ffdf6644f9131d03bd 100644 (file)
 #ifndef BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock_HeaderFile
 #define BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_IndexedDataMap.hxx>
 #include <TColStd_MapTransientHasher.hxx>
 #include <BOPDS_PaveBlock.hxx>   
 #include <BOPDS_ListOfPaveBlock.hxx>
 
 typedef NCollection_IndexedDataMap<Handle(BOPDS_PaveBlock), BOPDS_ListOfPaveBlock, TColStd_MapTransientHasher> BOPDS_IndexedDataMapOfPaveBlockListOfPaveBlock; 
-#undef _NCollection_MapHasher
-
 
 #endif
index 0446d8359970a3c45e8098281c196c5c7ac8c3f2..dce2513132993870c988616f12f893b969b86519 100644 (file)
 
 #include <BOPDS_CoupleOfPaveBlocks.hxx>
 
-#define _NCollection_MapHasher
 #include <NCollection_IndexedDataMap.hxx>
 #include <TopTools_ShapeMapHasher.hxx>
 
 typedef NCollection_IndexedDataMap<TopoDS_Shape, BOPDS_CoupleOfPaveBlocks, TopTools_ShapeMapHasher> BOPDS_IndexedDataMapOfShapeCoupleOfPaveBlocks; 
-#undef _NCollection_MapHasher
-
 
 #endif
index 0c9d5782e5656aea23e83b6049d8db7cd98c66ba..8ed5f348581a0b88edc2c52c6950714e37a9b6d3 100644 (file)
 #ifndef BOPDS_IndexedMapOfPaveBlock_HeaderFile
 #define BOPDS_IndexedMapOfPaveBlock_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_IndexedMap.hxx>   
 #include <TColStd_MapTransientHasher.hxx>
 #include <BOPDS_PaveBlock.hxx>   
 
-typedef NCollection_IndexedMap<Handle(BOPDS_PaveBlock), TColStd_MapTransientHasher> BOPDS_IndexedMapOfPaveBlock; 
-
-#undef _NCollection_MapHasher
-
+typedef NCollection_IndexedMap<Handle(BOPDS_PaveBlock), TColStd_MapTransientHasher> BOPDS_IndexedMapOfPaveBlock;
 
 #endif
index 902274813a67f8a0d78be6e1833a2f4c07b27090..2b7eb146d676821824af2f431ce1a36a8f3b2cc3 100644 (file)
 #ifndef BOPDS_Interf_HeaderFile
 #define BOPDS_Interf_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-
-#ifndef _IntTools_CommonPrt_HeaderFile
 #include <IntTools_CommonPrt.hxx>
-#endif
-
 #include <NCollection_BaseAllocator.hxx>
 #include <BOPDS_VectorOfCurve.hxx>
 #include <BOPDS_VectorOfPoint.hxx>
+
 /**
  * The class BOPDS_Interf is is to store the information about
  * the interference between two shapes. 
index 40e7ae51a94db03f18512ac11cc985c62e390838..6ab02038327586b26680ef129ca9825e712943d1 100644 (file)
@@ -15,7 +15,6 @@
 #ifndef BOPDS_MapOfCommonBlock_HeaderFile
 #define BOPDS_MapOfCommonBlock_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_Map.hxx>   
 #include <TColStd_MapTransientHasher.hxx>
 #include <BOPDS_CommonBlock.hxx>   
@@ -23,7 +22,4 @@
 typedef NCollection_Map<Handle(BOPDS_CommonBlock), TColStd_MapTransientHasher> BOPDS_MapOfCommonBlock; 
 typedef BOPDS_MapOfCommonBlock::Iterator BOPDS_MapIteratorOfMapOfCommonBlock;  
 
-#undef _NCollection_MapHasher
-
-
 #endif
index 8f1a16b25b1091c23c5f594ad669e255c7b5be8b..39fcb0a7162b2bdffb28a718b98ea325bea12e6a 100644 (file)
@@ -15,7 +15,6 @@
 #ifndef BOPDS_MapOfPassKey_HeaderFile
 #define BOPDS_MapOfPassKey_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_Map.hxx>   
 #include <BOPDS_PassKeyMapHasher.hxx>
 #include <BOPDS_PassKey.hxx>
@@ -24,7 +23,4 @@
 typedef NCollection_Map<BOPDS_PassKey, BOPDS_PassKeyMapHasher> BOPDS_MapOfPassKey; 
 typedef BOPDS_MapOfPassKey::Iterator BOPDS_MapIteratorMapOfPassKey;  
 
-#undef _NCollection_MapHasher
-
-
 #endif
index dcbe0c0cf0eba8b1600eb24158177c827de2042f..1cfe9dd8f3f0ca5baeb82029fc64961a301f8bf5 100644 (file)
@@ -15,7 +15,6 @@
 #ifndef BOPDS_MapOfPassKeyBoolean_HeaderFile
 #define BOPDS_MapOfPassKeyBoolean_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_Map.hxx>   
 #include <BOPDS_PassKeyMapHasher.hxx>
 #include <BOPDS_PassKeyBoolean.hxx>
@@ -23,6 +22,4 @@
 typedef NCollection_Map<BOPDS_PassKeyBoolean, BOPDS_PassKeyMapHasher> BOPDS_MapOfPassKeyBoolean; 
 typedef BOPDS_MapOfPassKeyBoolean::Iterator BOPDS_MapIteratorMapOfPassKeyBoolean;  
 
-#undef _NCollection_MapHasher
-
 #endif
index 23e6391c9fb9ce88eaed443cb0c74dc225e6756e..cbe083a5c7badbfeb07c86de7bb4c7f68332e337 100644 (file)
 #ifndef BOPDS_MapOfPave_HeaderFile
 #define BOPDS_MapOfPave_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_Map.hxx>   
 #include <BOPDS_PaveMapHasher.hxx>
 #include <BOPDS_Pave.hxx>
 
-
 typedef NCollection_Map<BOPDS_Pave, BOPDS_PaveMapHasher> BOPDS_MapOfPave; 
 typedef BOPDS_MapOfPave::Iterator BOPDS_MapIteratorMapOfPave;  
 
-#undef _NCollection_MapHasher
-
-
 #endif
index b7b9c07735a610d2a2e21c1aa24750b7db3748c9..784e101104ed14ed48b6cc508e1a6f7ba82e53b2 100644 (file)
@@ -15,7 +15,6 @@
 #ifndef BOPDS_MapOfPaveBlock_HeaderFile
 #define BOPDS_MapOfPaveBlock_HeaderFile
 
-#define _NCollection_MapHasher
 #include <NCollection_Map.hxx>   
 #include <TColStd_MapTransientHasher.hxx>
 #include <BOPDS_PaveBlock.hxx>   
@@ -23,7 +22,4 @@
 typedef NCollection_Map<Handle(BOPDS_PaveBlock), TColStd_MapTransientHasher> BOPDS_MapOfPaveBlock; 
 typedef BOPDS_MapOfPaveBlock::Iterator BOPDS_MapIteratorOfMapOfPaveBlock;  
 
-#undef _NCollection_MapHasher
-
-
 #endif
index 9666ca643945b894303549c57b240961cb5b99ce..5a5e54e454504122f3be4510c2428dd139ead534 100644 (file)
 #ifndef BOPTools_ConnexityBlock_HeaderFile
 #define BOPTools_ConnexityBlock_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <NCollection_BaseAllocator.hxx>
 #include <BOPCol_ListOfShape.hxx>
 
index e3df6238ade77349ece01bcdc7fc21c433da2fbf..f8e8985c37e4b3ae0db06498f96d86e9dbcbb303 100644 (file)
 #include <TopoDS_Shape.hxx>  
 #include <TopTools_ShapeMapHasher.hxx>
   
-#define _NCollection_MapHasher
 #include <NCollection_DataMap.hxx>
 
 typedef NCollection_DataMap<TopoDS_Shape, BOPTools_Set, TopTools_ShapeMapHasher> BOPTools_DataMapOfShapeSet; 
 typedef BOPTools_DataMapOfShapeSet::Iterator BOPCol_DataMapIteratorOfDataMapOfShapeSet; 
-#undef _NCollection_MapHasher
-
 
 #endif
index 30b647e88d2c1670c844db2b77e2c5eef04f1745..b9a1ea23473533a6ad4920c9a7caac27b48f6361 100644 (file)
 #include <BOPTools_Set.hxx>  
 #include <BOPTools_SetMapHasher.hxx>
 
-#define _NCollection_MapHasher
 #include <NCollection_Map.hxx>   
 
 typedef NCollection_Map<BOPTools_Set, BOPTools_SetMapHasher> BOPTools_MapOfSet; 
 typedef BOPTools_MapOfSet::Iterator BOPTools_MapIteratorOfMapOfSet;
 
-#undef _NCollection_MapHasher
-
 #endif
index 6923e89038e59c8110313e5f7215ab03f8a579d4..9413ec673cab99c12ee68b594a32c6caafaab1ef 100644 (file)
 #ifndef _BRepBuilderAPI_BndBoxTreeSelector_Header
 #define _BRepBuilderAPI_BndBoxTreeSelector_Header
 
-#ifndef _TColStd_ListOfInteger_HeaderFile
 #include <TColStd_ListOfInteger.hxx>
-#endif
-#ifndef _Bnd_Box_HeaderFile
 #include <Bnd_Box.hxx>
-#endif
-#ifndef NCollection_UBTree_HeaderFile
 #include <NCollection_UBTree.hxx>
-#endif
 
 typedef NCollection_UBTree <Standard_Integer, Bnd_Box> BRepBuilderAPI_BndBoxTree;
 
index 3d0093507688278af42c22f808f037df663e585e..a03eb18e913d1d458d11053ded24b7eb7bfdeee9 100644 (file)
 #ifndef _BRepBuilderAPI_CellFilter_HeaderFile
 #define _BRepBuilderAPI_CellFilter_HeaderFile
 
-#ifndef _gp_XYZ_HeaderFile
-#include <gp_XYZ.hxx>
-#endif
-#ifndef _gp_XY_HeaderFile
-#include <gp_XY.hxx>
-#endif
-#ifndef NCollection_CellFilter_HeaderFile
-#include <NCollection_CellFilter.hxx>
-#endif
-#ifndef _BRepBuilderAPI_VertexInspector_HeaderFile
 #include <BRepBuilderAPI_VertexInspector.hxx>
-#endif
 
 typedef NCollection_CellFilter<BRepBuilderAPI_VertexInspector> BRepBuilderAPI_CellFilter;
 
index 5a9777cf0ee119c7b53e2a42aec3272fb9dd1d97..d52372625b655226f76e875491d79af774c597fa 100644 (file)
 #ifndef _BRepBuilderAPI_VertexInspector_Header
 #define _BRepBuilderAPI_VertexInspector_Header
 
-#ifndef _TColStd_ListOfInteger_HeaderFile
 #include <TColStd_ListOfInteger.hxx>
-#endif
-#ifndef NCollection_Vector_HeaderFile
 #include <NCollection_Vector.hxx>
-#endif
-#ifndef _gp_XY_HeaderFile
 #include <gp_XY.hxx>
-#endif
-#ifndef _gp_XYZ_HeaderFile
 #include <gp_XYZ.hxx>
-#endif
-
-#ifndef NCollection_CellFilter_HeaderFile
 #include <NCollection_CellFilter.hxx>
-#endif
 
 typedef NCollection_Vector<gp_XYZ> VectorOfPoint;
 
index 88d492cf9a051fe521c9db548ffe995a068c2b18..90e9cda76b11b5318ad31246dd1de865e0207b72 100644 (file)
 #ifndef _BRepExtrema_DistShapeShape_HeaderFile
 #define _BRepExtrema_DistShapeShape_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_DefineAlloc_HeaderFile
-#include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _BRepExtrema_SeqOfSolution_HeaderFile
 #include <BRepExtrema_SeqOfSolution.hxx>
-#endif
-#ifndef _BRepExtrema_SolutionElem_HeaderFile
 #include <BRepExtrema_SolutionElem.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
 #include <TopoDS_Shape.hxx>
-#endif
-#ifndef _TopTools_IndexedMapOfShape_HeaderFile
 #include <TopTools_IndexedMapOfShape.hxx>
-#endif
-#ifndef _Extrema_ExtFlag_HeaderFile
 #include <Extrema_ExtFlag.hxx>
-#endif
-#ifndef _Extrema_ExtAlgo_HeaderFile
 #include <Extrema_ExtAlgo.hxx>
-#endif
-#ifndef _BRepExtrema_SupportType_HeaderFile
 #include <BRepExtrema_SupportType.hxx>
-#endif
-#ifndef _Standard_OStream_HeaderFile
-#include <Standard_OStream.hxx>
-#endif
-#ifndef _gp_Pnt_HeaderFile
 #include <gp_Pnt.hxx>
-#endif
+#include <Standard_OStream.hxx>
+#include <Standard_DefineAlloc.hxx>
+
 class TopoDS_Shape;
 class TopTools_IndexedMapOfShape;
 class Bnd_SeqOfBox;
index 01d483f243c86876527e2fdbf78b1fb605e5bc61..56cd6d2e55b49faea44bb94ca10726948287cd9a 100644 (file)
 #ifndef _BRepExtrema_DistanceSS_HeaderFile
 #define _BRepExtrema_DistanceSS_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_DefineAlloc_HeaderFile
-#include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-#ifndef _BRepExtrema_SeqOfSolution_HeaderFile
 #include <BRepExtrema_SeqOfSolution.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Extrema_ExtFlag_HeaderFile
 #include <Extrema_ExtFlag.hxx>
-#endif
-#ifndef _Extrema_ExtAlgo_HeaderFile
 #include <Extrema_ExtAlgo.hxx>
-#endif
-#ifndef _Precision_HeaderFile
 #include <Precision.hxx>
-#endif
+#include <Standard_DefineAlloc.hxx>
+
 class TopoDS_Shape;
 class Bnd_Box;
 class TopoDS_Vertex;
index a397eb789d24ec92e93cc937bed98c02665038ef..c426ec7f1b21401278a0eea4b0fc65442ff84db4 100644 (file)
 #ifndef _BRepExtrema_ExtCC_HeaderFile
 #define _BRepExtrema_ExtCC_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_DefineAlloc_HeaderFile
-#include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-#ifndef _Extrema_ExtCC_HeaderFile
 #include <Extrema_ExtCC.hxx>
-#endif
-#ifndef _Handle_BRepAdaptor_HCurve_HeaderFile
 #include <BRepAdaptor_HCurve.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
+#include <Standard_DefineAlloc.hxx>
+
 class BRepAdaptor_HCurve;
 class TopoDS_Edge;
 class gp_Pnt;
index 24247e461b6f0fcab36c1d510011241b89ccd3c3..cff941a587534b5d3d0a75140f33ea70e6515a34 100644 (file)
 #ifndef _BRepExtrema_ExtCF_HeaderFile
 #define _BRepExtrema_ExtCF_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_DefineAlloc_HeaderFile
-#include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-#ifndef _Extrema_ExtCS_HeaderFile
 #include <Extrema_ExtCS.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TColStd_SequenceOfReal_HeaderFile
 #include <TColStd_SequenceOfReal.hxx>
-#endif
-#ifndef _Extrema_SequenceOfPOnSurf_HeaderFile
 #include <Extrema_SequenceOfPOnSurf.hxx>
-#endif
-#ifndef _Extrema_SequenceOfPOnCurv_HeaderFile
 #include <Extrema_SequenceOfPOnCurv.hxx>
-#endif
-#ifndef _Handle_BRepAdaptor_HSurface_HeaderFile
 #include <BRepAdaptor_HSurface.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _Extrema_POnCurv_HeaderFile
 #include <Extrema_POnCurv.hxx>
-#endif
-#ifndef _Extrema_POnSurf_HeaderFile
 #include <Extrema_POnSurf.hxx>
-#endif
+#include <Standard_DefineAlloc.hxx>
+
 class BRepAdaptor_HSurface;
 class TopoDS_Edge;
 class TopoDS_Face;
index d14c52ca8774a60fe1bacda4d8cfe420dcc0cd97..05fe925ac492f5dec5d1c799dffedc844136252a 100644 (file)
 #ifndef _BRepExtrema_ExtFF_HeaderFile
 #define _BRepExtrema_ExtFF_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_DefineAlloc_HeaderFile
-#include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-#ifndef _Extrema_ExtSS_HeaderFile
 #include <Extrema_ExtSS.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _TColStd_SequenceOfReal_HeaderFile
 #include <TColStd_SequenceOfReal.hxx>
-#endif
-#ifndef _Extrema_SequenceOfPOnSurf_HeaderFile
 #include <Extrema_SequenceOfPOnSurf.hxx>
-#endif
-#ifndef _Handle_BRepAdaptor_HSurface_HeaderFile
 #include <BRepAdaptor_HSurface.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _Extrema_POnSurf_HeaderFile
 #include <Extrema_POnSurf.hxx>
-#endif
+#include <Standard_DefineAlloc.hxx>
+
 class BRepAdaptor_HSurface;
 class TopoDS_Face;
 class gp_Pnt;
index a0ddc68001aaf5ec70475283fc4560efd39ff788..188b10bb0479e4117430a6c5f6c41829ec558f7e 100644 (file)
 #ifndef _BRepExtrema_ExtPC_HeaderFile
 #define _BRepExtrema_ExtPC_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_DefineAlloc_HeaderFile
-#include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-#ifndef _Extrema_ExtPC_HeaderFile
 #include <Extrema_ExtPC.hxx>
-#endif
-#ifndef _Handle_BRepAdaptor_HCurve_HeaderFile
 #include <BRepAdaptor_HCurve.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
+#include <Standard_DefineAlloc.hxx>
+
 class BRepAdaptor_HCurve;
 class TopoDS_Vertex;
 class TopoDS_Edge;
index 7a8e70f673fa6e7df8c8828dc2e2fd677e582572..5c50f7e07fc3510e81802e787451792c25d056de 100644 (file)
 #ifndef _BRepExtrema_ExtPF_HeaderFile
 #define _BRepExtrema_ExtPF_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_DefineAlloc_HeaderFile
 #include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-#ifndef _Extrema_ExtPS_HeaderFile
 #include <Extrema_ExtPS.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
 #include <Standard_Integer.hxx>
-#endif
-#ifndef _TColStd_SequenceOfReal_HeaderFile
 #include <TColStd_SequenceOfReal.hxx>
-#endif
-#ifndef _Extrema_SequenceOfPOnSurf_HeaderFile
 #include <Extrema_SequenceOfPOnSurf.hxx>
-#endif
-#ifndef _BRepAdaptor_Surface_HeaderFile
 #include <BRepAdaptor_Surface.hxx>
-#endif
-#ifndef _Extrema_ExtFlag_HeaderFile
 #include <Extrema_ExtFlag.hxx>
-#endif
-#ifndef _Extrema_ExtAlgo_HeaderFile
 #include <Extrema_ExtAlgo.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
+
 class TopoDS_Vertex;
 class TopoDS_Face;
 class gp_Pnt;
index aa5048e8e04c90d74ca03101788be8e52d01a688..6083f179f75a2f6fd224d6efe955cd1b2ec7881b 100644 (file)
 #ifndef _BRepExtrema_Poly_HeaderFile
 #define _BRepExtrema_Poly_HeaderFile
 
-#ifndef _Standard_HeaderFile
 #include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
 
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
 class TopoDS_Shape;
 class gp_Pnt;
 
-
 class BRepExtrema_Poly
 {
  public:
 
-  //! returns Standard_True if OK. <br>
+  //! returns Standard_True if OK.
   Standard_EXPORT static Standard_Boolean Distance(const TopoDS_Shape& S1,const TopoDS_Shape& S2,gp_Pnt& P1,gp_Pnt& P2,Standard_Real& dist);
 };
 
index 0cf81b3be2de1995ed758c45e83c3f63e7893baf..8e368ffd27789cee14ed4ce8abb611af79b13740 100644 (file)
 #ifndef _BRepExtrema_SeqOfSolution_HeaderFile
 #define _BRepExtrema_SeqOfSolution_HeaderFile
 
-#ifndef _NCollection_Sequence_HeaderFile
 #include <NCollection_Sequence.hxx>
-#endif
-#ifndef _BRepExtrema_SolutionElem_HeaderFile
 #include <BRepExtrema_SolutionElem.hxx>
-#endif
 
 typedef NCollection_Sequence<BRepExtrema_SolutionElem> BRepExtrema_SeqOfSolution;
 
index 5264cf45cca1a2af60e37ef7afff0ba61bcd0955..61dba48bbd22178a3799ad126a3b9e3c2cecd2a1 100644 (file)
 #ifndef _BRepExtrema_SolutionElem_HeaderFile
 #define _BRepExtrema_SolutionElem_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_DefineAlloc_HeaderFile
-#include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _gp_Pnt_HeaderFile
 #include <gp_Pnt.hxx>
-#endif
-#ifndef _BRepExtrema_SupportType_HeaderFile
 #include <BRepExtrema_SupportType.hxx>
-#endif
-#ifndef _TopoDS_Vertex_HeaderFile
 #include <TopoDS_Vertex.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
 #include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
 #include <TopoDS_Face.hxx>
-#endif
-class gp_Pnt;
-class TopoDS_Vertex;
-class TopoDS_Edge;
-class TopoDS_Face;
 
-
-//! This class is used to store information relative to the <br>
-//! minimum distance between two shapes. <br>
+//! This class is used to store information relative to the minimum distance between two shapes.
 class BRepExtrema_SolutionElem
 {
  public:
 
   DEFINE_STANDARD_ALLOC
 
-  Standard_EXPORT BRepExtrema_SolutionElem()
-  : myDist(0.), myPoint(0.,0.,0.), mySupType(BRepExtrema_IsVertex), myPar1(0.), myPar2(0.)
-  {
-  }
-  //! initialisation of the fields <br>
-  //! This constructor is used when the solution of a distance is a Vertex. <br>
-  //! The different initialized fields are: <br>
-  //!            _ the distance d <br>
-  //!            _ the solution point <br>
-  //!            _ the type of solution <br>
-  //!            _ and the Vertex. <br>
-  Standard_EXPORT BRepExtrema_SolutionElem(const Standard_Real d,const gp_Pnt& Pt,const BRepExtrema_SupportType SolType,const TopoDS_Vertex& vertex)
-  : myDist(d), myPoint(Pt), mySupType(SolType), myVertex(vertex), myPar1(0.), myPar2(0.)
-  {
-  }
-  //! initialisation of  the fiels. <br>
-  //! This constructor is used when the  solution of distance is on an Edge. <br>
-  //! The different initialized fields are: <br>
-  //!            _ the distance d, <br>
-  //!            _ the solution point, <br>
-  //!            _ the type of solution, <br>
-  //!            _ the Edge, <br>
-  //!            _ and the parameter t to locate the solution. <br>
-  Standard_EXPORT BRepExtrema_SolutionElem(const Standard_Real d,const gp_Pnt& Pt,const BRepExtrema_SupportType SolType,const TopoDS_Edge& edge,const Standard_Real t)
-  : myDist(d), myPoint(Pt), mySupType(SolType), myEdge(edge), myPar1(t), myPar2(0.)
+  //! Empty constructor
+  BRepExtrema_SolutionElem()
+  : myDist    (0.0),
+    myPoint   (0.0, 0.0, 0.0),
+    mySupType (BRepExtrema_IsVertex),
+    myPar1    (0.0),
+    myPar2    (0.0)
   {
   }
-  //! initialisation of the fields <br>
-  //! This constructor is used when the  solution of distance is in <br>
-  //! a Face. The different initialized fields are: <br>
-  //!            _ the distance d, <br>
-  //!            _ the solution point, <br>
-  //!            _ the type of solution, <br>
-  //!            _ the Face, <br>
-  //!            _ and the parameter u et v to locate the solution. <br>
-  Standard_EXPORT BRepExtrema_SolutionElem(const Standard_Real d,const gp_Pnt& Pt,const BRepExtrema_SupportType SolType,const TopoDS_Face& face,const Standard_Real u,const Standard_Real v)
-  : myDist(d), myPoint(Pt), mySupType(SolType), myFace(face), myPar1(u), myPar2(v)
-  {
-  }
-  //! returns the value of the minimum distance. <br>
-  Standard_EXPORT Standard_Real Dist() const
+
+  //! This constructor is used when the solution of a distance is a Vertex.
+  //! The different initialized fields are:
+  //! @param theDist    the distance
+  //! @param thePoint   the solution point
+  //! @param theSolType the type of solution
+  //! @param theVertex  and the Vertex
+  BRepExtrema_SolutionElem (const Standard_Real           theDist,
+                            const gp_Pnt&                 thePoint,
+                            const BRepExtrema_SupportType theSolType,
+                            const TopoDS_Vertex&          theVertex)
+  : myDist    (theDist),
+    myPoint   (thePoint),
+    mySupType (theSolType),
+    myVertex  (theVertex),
+    myPar1    (0.0),
+    myPar2    (0.0) {}
+
+  //! This constructor is used when the  solution of distance is on an Edge.
+  //! The different initialized fields are:
+  //! @param theDist    the distance
+  //! @param thePoint   the solution point
+  //! @param theSolType the type of solution
+  //! @param theEdge    the Edge
+  //! @param theParam   the parameter to locate the solution
+  BRepExtrema_SolutionElem (const Standard_Real           theDist,
+                            const gp_Pnt&                 thePoint,
+                            const BRepExtrema_SupportType theSolType,
+                            const TopoDS_Edge&            theEdge,
+                            const Standard_Real           theParam)
+  : myDist    (theDist),
+    myPoint   (thePoint),
+    mySupType (theSolType),
+    myEdge    (theEdge),
+    myPar1    (theParam),
+    myPar2    (0.0) {}
+
+  //! This constructor is used when the  solution of distance is in a Face.
+  //! The different initialized fields are:
+  //! @param theDist    the distance
+  //! @param thePoint   the solution point
+  //! @param theSolType the type of solution
+  //! @param theFace    the Face
+  //! @param theU       U parameter to locate the solution
+  //! @param theV       V parameter to locate the solution
+  BRepExtrema_SolutionElem (const Standard_Real           theDist,
+                            const gp_Pnt&                 thePoint,
+                            const BRepExtrema_SupportType theSolType,
+                            const TopoDS_Face&            theFace,
+                            const Standard_Real           theU,
+                            const Standard_Real           theV)
+  : myDist    (theDist),
+    myPoint   (thePoint),
+    mySupType (theSolType),
+    myFace    (theFace),
+    myPar1    (theU),
+    myPar2    (theV) {}
+
+  //! Returns the value of the minimum distance.
+  Standard_Real Dist() const
   {
     return myDist;
   }
-  //! returns the solution point. <br>
-  Standard_EXPORT const gp_Pnt & Point() const
+
+  //! Returns the solution point.
+  const gp_Pnt& Point() const
   {
     return myPoint;
   }
-  //! returns the Support type : <br>
-  //!      IsVertex => The solution is a vertex. <br>
-  //!      IsOnEdge => The solution belongs to an Edge. <br>
-  //!      IsInFace => The solution is inside a Face. <br>
-  Standard_EXPORT BRepExtrema_SupportType SupportKind() const
+
+  //! Returns the Support type:
+  //!   IsVertex => The solution is a vertex.
+  //!   IsOnEdge => The solution belongs to an Edge.
+  //!   IsInFace => The solution is inside a Face.
+  BRepExtrema_SupportType SupportKind() const
   {
     return mySupType;
   }
-  //! returns the vertex if the solution is a Vertex. <br>
-  Standard_EXPORT const TopoDS_Vertex & Vertex() const
+
+  //! Returns the vertex if the solution is a Vertex.
+  const TopoDS_Vertex& Vertex() const
   {
     return myVertex;
   }
-  //! returns the vertex if the solution is an Edge. <br>
-  Standard_EXPORT const TopoDS_Edge & Edge() const
+
+  //! Returns the vertex if the solution is an Edge.
+  const TopoDS_Edge& Edge() const
   {
     return myEdge;
   }
-  //! returns the vertex if the solution is an Face. <br>
-  Standard_EXPORT const TopoDS_Face & Face() const
+
+  //! Returns the vertex if the solution is an Face.
+  const TopoDS_Face& Face() const
   {
     return myFace;
   }
-  //! returns the parameter t if the solution is on Edge. <br>
-  Standard_EXPORT void EdgeParameter(Standard_Real& par1) const
+
+  //! Returns the parameter value if the solution is on Edge.
+  void EdgeParameter (Standard_Real& theParam) const
   {
-    par1 = myPar1;
+    theParam = myPar1;
   }
-  //! returns the parameters u et v if the solution is in a Face. <br>
-  Standard_EXPORT void FaceParameter(Standard_Real& par1,Standard_Real& par2) const
+
+  //! Returns the parameters U and V if the solution is in a Face.
+  void FaceParameter (Standard_Real& theU,
+                      Standard_Real& theV) const
   {
-    par1 = myPar1;
-    par2 = myPar2;
+    theU = myPar1;
+    theV = myPar2;
   }
 
  private:
@@ -155,6 +162,7 @@ class BRepExtrema_SolutionElem
   TopoDS_Face myFace;
   Standard_Real myPar1;
   Standard_Real myPar2;
+
 };
 
 #endif
index ee9114a90981cd55e719d0c5541fcea3e04288c8..47d475bf4f91f21f71de1acd140f0fcb5e803279 100644 (file)
@@ -26,8 +26,4 @@ enum BRepExtrema_SupportType
   BRepExtrema_IsInFace
 };
 
-#ifndef _Standard_PrimitiveTypes_HeaderFile
-#include <Standard_PrimitiveTypes.hxx>
-#endif
-
 #endif
index d683e6be879f3dd7efed7b74c9a27c91685d3ecc..f4cfc78b750e97860cc5370305ed317f234e6bb6 100755 (executable)
@@ -34,91 +34,88 @@ class TColStd_Array1OfInteger;
 class TColStd_SequenceOfInteger;
 class TColStd_MapOfInteger;
 
-//! Compute the Delaunay's triangulation with the <br>
-//! algorithm of Watson. <br>
-class BRepMesh_Delaun  {
+//! Compute the Delaunay's triangulation with the algorithm of Watson.
+class BRepMesh_Delaun
+{
 public:
 
   DEFINE_STANDARD_ALLOC
 
-  //! Creates the triangulation with an empty Mesh <br>
-  //! data structure. <br>
-  Standard_EXPORT BRepMesh_Delaun( BRepMesh_Array1OfVertexOfDelaun& theVertices,
-                                   const Standard_Boolean           isPositive = Standard_True );
+  //! Creates the triangulation with an empty Mesh data structure.
+  Standard_EXPORT BRepMesh_Delaun (BRepMesh_Array1OfVertexOfDelaun& theVertices,
+                                   const Standard_Boolean           isPositive = Standard_True);
 
-  //! Creates the triangulation with and existent <br>
-  //! Mesh data structure. <br>
-  Standard_EXPORT BRepMesh_Delaun( const Handle(BRepMesh_DataStructureOfDelaun)& theOldMesh,
+  //! Creates the triangulation with an existent Mesh data structure.
+  Standard_EXPORT BRepMesh_Delaun (const Handle(BRepMesh_DataStructureOfDelaun)& theOldMesh,
                                    BRepMesh_Array1OfVertexOfDelaun&              theVertices,
-                                   const Standard_Boolean                        isPositive = Standard_True );
+                                   const Standard_Boolean                        isPositive = Standard_True);
 
-  //! Creates the triangulation with and existant <br>
-  //! Mesh data structure. <br>
-  Standard_EXPORT BRepMesh_Delaun( const Handle(BRepMesh_DataStructureOfDelaun)& theOldMesh,
+  //! Creates the triangulation with an existant Mesh data structure.
+  Standard_EXPORT BRepMesh_Delaun (const Handle(BRepMesh_DataStructureOfDelaun)& theOldMesh,
                                    TColStd_Array1OfInteger&                      theVertexIndices,
-                                   const Standard_Boolean                        isPositive = Standard_True );
+                                   const Standard_Boolean                        isPositive = Standard_True);
 
-  //! Initializes the triangulation with an array of <br>
-  //! vertices. <br>
-  Standard_EXPORT void Init( BRepMesh_Array1OfVertexOfDelaun& theVertices );
+  //! Initializes the triangulation with an array of vertices.
+  Standard_EXPORT void Init (BRepMesh_Array1OfVertexOfDelaun& theVertices);
 
-  //! Removes a vertex from the triangulation. <br>
-  Standard_EXPORT void RemoveVertex( const BRepMesh_Vertex& theVertex );
+  //! Removes a vertex from the triangulation.
+  Standard_EXPORT void RemoveVertex (const BRepMesh_Vertex& theVertex);
 
-  //! Adds some vertices into the triangulation. <br>
-  Standard_EXPORT void AddVertices( BRepMesh_Array1OfVertexOfDelaun& theVertices );
+  //! Adds some vertices into the triangulation.
+  Standard_EXPORT void AddVertices (BRepMesh_Array1OfVertexOfDelaun& theVertices);
 
-  //! Modify mesh to use the edge. Return True if done. <br>
-  Standard_EXPORT Standard_Boolean UseEdge( const Standard_Integer theEdge );
+  //! Modify mesh to use the edge.
+  //! @return True if done
+  Standard_EXPORT Standard_Boolean UseEdge (const Standard_Integer theEdge);
 
-  //! Gives the Mesh data structure. <br>
-  Standard_EXPORT const Handle(BRepMesh_DataStructureOfDelaun)& Result() const
+  //! Gives the Mesh data structure.
+  const Handle(BRepMesh_DataStructureOfDelaun)& Result() const
   {
     return myMeshData;
   }
 
-  //! Gives the list of frontier edges <br>
+  //! Gives the list of frontier edges.
   inline Handle(BRepMesh_MapOfInteger) Frontier() const
   {
-    return getEdgesByType( BRepMesh_Frontier );
+    return getEdgesByType (BRepMesh_Frontier);
   }
 
-  //! Gives the list of internal edges <br>
+  //! Gives the list of internal edges.
   inline Handle(BRepMesh_MapOfInteger) InternalEdges() const
   {
-    return getEdgesByType( BRepMesh_Fixed );
+    return getEdgesByType (BRepMesh_Fixed);
   }
 
-  //! Gives the list of free edges used only one time <br>
+  //! Gives the list of free edges used only one time
   inline Handle(BRepMesh_MapOfInteger) FreeEdges() const
   {
-    return getEdgesByType( BRepMesh_Free );
+    return getEdgesByType (BRepMesh_Free);
   }
-  
-  //! Gives vertex with the given index <br>
-  inline const BRepMesh_Vertex& GetVertex( const Standard_Integer theIndex ) const
+
+  //! Gives vertex with the given index
+  inline const BRepMesh_Vertex& GetVertex (const Standard_Integer theIndex) const
   {
-    return myMeshData->GetNode( theIndex );
+    return myMeshData->GetNode (theIndex);
   }
 
-  //! Gives edge with the given index <br>
-  inline const BRepMesh_Edge& GetEdge( const Standard_Integer theIndex ) const
+  //! Gives edge with the given index
+  inline const BRepMesh_Edge& GetEdge (const Standard_Integer theIndex) const
   {
-    return myMeshData->GetLink( theIndex );
+    return myMeshData->GetLink (theIndex);
   }
 
-  //! Gives triangle with the given index <br>
-  inline const BRepMesh_Triangle& GetTriangle( const Standard_Integer theIndex ) const
+  //! Gives triangle with the given index
+  inline const BRepMesh_Triangle& GetTriangle (const Standard_Integer theIndex) const
   {
-    return myMeshData->GetElement( theIndex );
+    return myMeshData->GetElement (theIndex);
   }
 
-  //! Test is the given triangle contains the given vertex. <br>
-  //! If <theEdgeOn> != 0 the vertex lies onto the edge index <br>
-  //! returned through this parameter. <br>
-  Standard_EXPORT Standard_Boolean Containsconst Standard_Integer theTriangleId,
+  //! Test is the given triangle contains the given vertex.
+  //! If theEdgeOn != 0 the vertex lies onto the edge index
+  //! returned through this parameter.
+  Standard_EXPORT Standard_Boolean Contains (const Standard_Integer theTriangleId,
                                              const BRepMesh_Vertex& theVertex,
-                                             Standard_Integer&      theEdgeOn ) const;
+                                             Standard_Integer&      theEdgeOn) const;
 
 private:
 
@@ -143,42 +140,42 @@ private:
 
   typedef NCollection_Handle<NCollection_Map<Standard_Integer> > HandleOfMapOfInteger;
 
-  //! Add boundig box for edge defined by start & end point to <br>
-  //! the given vector of bounding boxes for triangulation edges  <br>
-  void fillBndBoxNCollection_Sequence<Bnd_B2d>&   theBoxes,
+  //! Add boundig box for edge defined by start & end point to
+  //! the given vector of bounding boxes for triangulation edges.
+  void fillBndBox (NCollection_Sequence<Bnd_B2d>&   theBoxes,
                    const BRepMesh_Vertex&           theV1,
-                   const BRepMesh_Vertex&           theV2 );
+                   const BRepMesh_Vertex&           theV2);
 
-  //! Gives the list of edges with type defined by the input parameter. <br>
-  //! If the given type is BRepMesh_Free returns list of edges <br>
-  //! that have number of connected elements less or equal 1  <br>
-  Handle(BRepMesh_MapOfInteger) getEdgesByType( const BRepMesh_DegreeOfFreedom theEdgeType ) const;
+  //! Gives the list of edges with type defined by the input parameter.
+  //! If the given type is BRepMesh_Free returns list of edges
+  //! that have number of connected elements less or equal 1.
+  Handle(BRepMesh_MapOfInteger) getEdgesByType (const BRepMesh_DegreeOfFreedom theEdgeType) const;
 
-  //! Create super mesh and run triangulation procedure <br>
-  void performBnd_Box2d&               theBndBox,
-                TColStd_Array1OfInteger& theVertexIndices );
+  //! Create super mesh and run triangulation procedure.
+  void perform (Bnd_Box2d&               theBndBox,
+                TColStd_Array1OfInteger& theVertexIndices);
 
-  //! Build the super mesh. <br>
-  void superMesh( const Bnd_Box2d& theBox );
+  //! Build the super mesh.
+  void superMesh (const Bnd_Box2d& theBox);
 
-  //! Computes the triangulation and adds the vertices, <br>
-  //! edges and triangles to the Mesh data structure. <br>
-  void compute( TColStd_Array1OfInteger& theVertexIndices );
+  //! Computes the triangulation and adds the vertices,
+  //! edges and triangles to the Mesh data structure.
+  void compute (TColStd_Array1OfInteger& theVertexIndices);
 
-  //! Adjust the mesh on the frontier. <br>
+  //! Adjust the mesh on the frontier.
   void frontierAdjust();
 
-  //! Find left polygon of the given edge and call meshPolygon. <br>
-  Standard_Boolean meshLeftPolygonOfconst Standard_Integer theEdgeIndex,
+  //! Find left polygon of the given edge and call meshPolygon.
+  Standard_Boolean meshLeftPolygonOf (const Standard_Integer theEdgeIndex,
                                       const Standard_Boolean isForward,
-                                      HandleOfMapOfInteger   theSkipped = NULL );
-
-  //! Find next link starting from the given node and has maximum <br>
-  //! angle respect the given reference link. <br>
-  //! Each time the next link is found other neighbor links at the pivot <br>
-  //! node are marked as leprous and will be excluded from consideration <br>
-  //! next time until a hanging end is occured. <br>
-  Standard_Integer findNextPolygonLinkconst Standard_Integer&              theFirstNode,
+                                      HandleOfMapOfInteger   theSkipped = NULL);
+
+  //! Find next link starting from the given node and has maximum
+  //! angle respect the given reference link.
+  //! Each time the next link is found other neighbor links at the pivot
+  //! node are marked as leprous and will be excluded from consideration
+  //! next time until a hanging end is occured.
+  Standard_Integer findNextPolygonLink (const Standard_Integer&              theFirstNode,
                                         const Standard_Integer&              thePivotNode,
                                         const BRepMesh_Vertex&               thePivotVertex,
                                         const gp_Vec2d&                      theRefLinkDir,
@@ -190,76 +187,72 @@ private:
                                         NCollection_Map<Standard_Integer>&   theDeadLinks,
                                         Standard_Integer&                    theNextPivotNode,
                                         gp_Vec2d&                            theNextLinkDir,
-                                        Bnd_B2d&                             theNextLinkBndBox );
+                                        Bnd_B2d&                             theNextLinkBndBox);
 
-  //! Check is the given link intersects the polygon boundaries. <br>
-  //! Returns bounding box for the given link trough the <theLinkBndBox> parameter. <br>
-  Standard_Boolean checkIntersectionconst BRepMesh_Edge&                 theLink,
+  //! Check is the given link intersects the polygon boundaries.
+  //! Returns bounding box for the given link trough the theLinkBndBox parameter.
+  Standard_Boolean checkIntersection (const BRepMesh_Edge&                 theLink,
                                       const TColStd_SequenceOfInteger&     thePolygon,
                                       const NCollection_Sequence<Bnd_B2d>& thePolyBoxes,
                                       const Standard_Boolean               isConsiderEndPointTouch,
                                       const Standard_Boolean               isConsiderPointOnEdge,
                                       const Standard_Boolean               isSkipLastEdge,
-                                      Bnd_B2d&                             theLinkBndBox ) const;
+                                      Bnd_B2d&                             theLinkBndBox) const;
 
-  //! Triangulatiion of a closed polygon described by the list <br>
-  //! of indexes of its edges in the structure. <br>
-  //! (negative index means reversed edge) <br>
-  void meshPolygonTColStd_SequenceOfInteger&     thePolygon,
+  //! Triangulatiion of a closed polygon described by the list
+  //! of indexes of its edges in the structure.
+  //! (negative index means reversed edge)
+  void meshPolygon (TColStd_SequenceOfInteger&     thePolygon,
                     NCollection_Sequence<Bnd_B2d>& thePolyBoxes,
-                    HandleOfMapOfInteger           theSkipped = NULL );
+                    HandleOfMapOfInteger           theSkipped = NULL);
 
-  //! Triangulatiion of a closed simple polygon (polygon without glued edges and loops) <br>
-  //! described by the list of indexes of its edges in the structure. <br>
-  //! (negative index means reversed edge) <br>
-  void meshSimplePolygonTColStd_SequenceOfInteger&     thePolygon,
-                          NCollection_Sequence<Bnd_B2d>& thePolyBoxes );
+  //! Triangulatiion of a closed simple polygon (polygon without glued edges and loops)
+  //! described by the list of indexes of its edges in the structure.
+  //! (negative index means reversed edge)
+  void meshSimplePolygon (TColStd_SequenceOfInteger&     thePolygon,
+                          NCollection_Sequence<Bnd_B2d>& thePolyBoxes);
 
   //! Triangulation of closed polygon containing only three edges.
-  inline Standard_Boolean meshElementaryPolygon( const TColStd_SequenceOfInteger& thePolygon );
+  inline Standard_Boolean meshElementaryPolygon (const TColStd_SequenceOfInteger& thePolygon);
 
-  //! Creates the triangles beetween the given node <br>
-  //! and the given polyline. <br>
-  void createTriangles( const Standard_Integer        theVertexIndex,
-                        BRepMesh_MapOfIntegerInteger& thePoly );
+  //! Creates the triangles beetween the given node and the given polyline.
+  void createTriangles (const Standard_Integer        theVertexIndex,
+                        BRepMesh_MapOfIntegerInteger& thePoly);
 
-  //! Add a triangle based on the given oriented edges into mesh <br>
-  inline void addTriangleconst Standard_Integer (&theEdgesId)[3],
+  //! Add a triangle based on the given oriented edges into mesh
+  inline void addTriangle (const Standard_Integer (&theEdgesId)[3],
                            const Standard_Boolean (&theEdgesOri)[3],
-                           const Standard_Integer (&theNodesId)[3] );
-
-  //! Deletes the triangle with the given index and <br>
-  //! adds the free edges into the map. <br>
-  //! When an edge is suppressed more than one time <br>
-  //! it is destroyed. <br>
-  void deleteTriangle( const Standard_Integer        theIndex,
-                       BRepMesh_MapOfIntegerInteger& theLoopEdges );
-
-  //! Returns start and end nodes of the given edge <br>
-  //! in respect to its orientation. <br>
-  void getOrientedNodes(const BRepMesh_Edge&   theEdge,
-                        const Standard_Boolean isForward,
-                        Standard_Integer       *theNodes) const;
-
-  //! Processes loop within the given polygon formed by range of its <br>
-  //! links specified by start and end link indices. <br>
-  void processLoop(const Standard_Integer               theLinkFrom,
-                   const Standard_Integer               theLinkTo,
-                   const TColStd_SequenceOfInteger&     thePolygon,
-                   const NCollection_Sequence<Bnd_B2d>& thePolyBoxes);
+                           const Standard_Integer (&theNodesId)[3]);
+
+  //! Deletes the 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.
+  void deleteTriangle (const Standard_Integer        theIndex,
+                       BRepMesh_MapOfIntegerInteger& theLoopEdges);
+
+  //! Returns start and end nodes of the given edge in respect to its orientation.
+  void getOrientedNodes (const BRepMesh_Edge&   theEdge,
+                         const Standard_Boolean isForward,
+                         Standard_Integer*      theNodes) const;
+
+  //! Processes loop within the given polygon formed by range of its
+  //! links specified by start and end link indices.
+  void processLoop (const Standard_Integer               theLinkFrom,
+                    const Standard_Integer               theLinkTo,
+                    const TColStd_SequenceOfInteger&     thePolygon,
+                    const NCollection_Sequence<Bnd_B2d>& thePolyBoxes);
 
   //! Creates new link based on the given nodes and updates the given polygon.
-  Standard_Integer createAndReplacePolygonLink(const Standard_Integer         theNodes[],
-                                               const gp_Pnt2d                 thePnts [],
-                                               const Standard_Integer         theRootIndex,
-                                               const ReplaceFlag              theReplaceFlag,
-                                               TColStd_SequenceOfInteger&     thePolygon,
-                                               NCollection_Sequence<Bnd_B2d>& thePolyBoxes);
+  Standard_Integer createAndReplacePolygonLink (const Standard_Integer         theNodes[],
+                                                const gp_Pnt2d                 thePnts [],
+                                                const Standard_Integer         theRootIndex,
+                                                const ReplaceFlag              theReplaceFlag,
+                                                TColStd_SequenceOfInteger&     thePolygon,
+                                                NCollection_Sequence<Bnd_B2d>& thePolyBoxes);
   
-  //! Creates the triangles on new nodes <br>
-  void createTrianglesOnNewVertices( TColStd_Array1OfInteger& theVertexIndices );
+  //! Creates the triangles on new nodes.
+  void createTrianglesOnNewVertices (TColStd_Array1OfInteger& theVertexIndices);
 
-  //! Cleanup mesh from the free triangles <br>
+  //! Cleanup mesh from the free triangles.
   void cleanupMesh();
 
   //! Goes through the neighbour triangles around the given node started
@@ -267,83 +260,80 @@ private:
   //! frontier edge or FALSE elsewhere.
   //! Stop link is used to prevent cycles.
   //! Previous element Id is used to identify next neighbor element.
-  Standard_Boolean isBoundToFrontier(const Standard_Integer theRefNodeId,
-                                     const Standard_Integer theRefLinkId,
-                                     const Standard_Integer theStopLinkId,
-                                     const Standard_Integer thePrevElementId);
-
-  //! Remove internal triangles from the given polygon <br>
-  void cleanupPolygon( const TColStd_SequenceOfInteger&     thePolygon,
-                       const NCollection_Sequence<Bnd_B2d>& thePolyBoxes );
-
-  //! Checks is the given vertex lies inside the polygon <br>
-  Standard_Boolean isVertexInsidePolygon( const Standard_Integer&                     theVertexId,
-                                          const NCollection_Vector<Standard_Integer>& thePolygonVertices ) const;
-
-  //! Remove all triangles and edges that are placed <br>
-  //! inside the polygon or crossed it. <br>
-  void killTrianglesAroundVertex( const Standard_Integer                      theZombieNodeId,
+  Standard_Boolean isBoundToFrontier (const Standard_Integer theRefNodeId,
+                                      const Standard_Integer theRefLinkId,
+                                      const Standard_Integer theStopLinkId,
+                                      const Standard_Integer thePrevElementId);
+
+  //! Remove internal triangles from the given polygon.
+  void cleanupPolygon (const TColStd_SequenceOfInteger&     thePolygon,
+                       const NCollection_Sequence<Bnd_B2d>& thePolyBoxes);
+
+  //! Checks is the given vertex lies inside the polygon.
+  Standard_Boolean isVertexInsidePolygon (const Standard_Integer&                     theVertexId,
+                                          const NCollection_Vector<Standard_Integer>& thePolygonVertices) const;
+
+  //! Remove all triangles and edges that are placed inside the polygon or crossed it.
+  void killTrianglesAroundVertex (const Standard_Integer                      theZombieNodeId,
                                   const NCollection_Vector<Standard_Integer>& thePolyVertices,
                                   const NCollection_Map<Standard_Integer>&    thePolyVerticesFindMap,
                                   const TColStd_SequenceOfInteger&            thePolygon,
                                   const NCollection_Sequence<Bnd_B2d>&        thePolyBoxes,
                                   NCollection_Map<Standard_Integer>&          theSurvivedLinks,
-                                  BRepMesh_MapOfIntegerInteger&               theLoopEdges );
+                                  BRepMesh_MapOfIntegerInteger&               theLoopEdges);
 
-  //! Checks is the given link crosses the polygon boundary. <br>
-  //! If yes, kills its triangles and checks neighbor links on <br>
-  //! boundary intersection. Does nothing elsewhere. <br>
-  void killTrianglesOnIntersectingLinks( const Standard_Integer&              theLinkToCheckId, 
+  //! Checks is the given link crosses the polygon boundary.
+  //! If yes, kills its triangles and checks neighbor links on boundary intersection. Does nothing elsewhere.
+  void killTrianglesOnIntersectingLinks (const Standard_Integer&              theLinkToCheckId,
                                          const BRepMesh_Edge&                 theLinkToCheck,
                                          const Standard_Integer&              theEndPoint,
                                          const TColStd_SequenceOfInteger&     thePolygon,
                                          const NCollection_Sequence<Bnd_B2d>& thePolyBoxes,
                                          NCollection_Map<Standard_Integer>&   theSurvivedLinks,
-                                         BRepMesh_MapOfIntegerInteger&        theLoopEdges );
+                                         BRepMesh_MapOfIntegerInteger&        theLoopEdges);
 
-  //! Kill triangles bound to the given link. <br>
-  void killLinkTriangles( const Standard_Integer&       theLinkId, 
-                          BRepMesh_MapOfIntegerInteger& theLoopEdges );
+  //! Kill triangles bound to the given link.
+  void killLinkTriangles (const Standard_Integer&       theLinkId,
+                          BRepMesh_MapOfIntegerInteger& theLoopEdges);
 
-  //! Calculates distances between the given point <br>
-  //! and edges of triangle. <br>
-  Standard_Real calculateDist( const gp_XY            theVEdges[3],
+  //! Calculates distances between the given point and edges of triangle.
+  Standard_Real calculateDist (const gp_XY            theVEdges[3],
                                const gp_XY            thePoints[3],
                                const Standard_Integer theEdgesId[3],
                                const BRepMesh_Vertex& theVertex,
                                Standard_Real          theDistance[3],
                                Standard_Real          theSqModulus[3],
-                               Standard_Integer&      theEdgeOn ) const;
-
-  //! Classifies the point in case of coincidence of two vectors. <br>
-  //! Returns zero value if point is out of segment and non zero  <br>
-  //! value if point is between the first and the second point of segment. <br>
-  //! thePoint1       - the start point of a segment (base point) <br>
-  //! thePoint2       - the end point of a segment <br>
-  //! thePointToCheck - the point to classify <br>
-  Standard_Integer classifyPoint( const gp_XY& thePoint1,
+                               Standard_Integer&      theEdgeOn) const;
+
+  //! Classifies the point in case of coincidence of two vectors.
+  //! @param thePoint1       the start point of a segment (base point)
+  //! @param thePoint2       the end point of a segment
+  //! @param thePointToCheck the point to classify
+  //! @returns zero value if point is out of segment and non zero value if point is between the first and the second point of segment
+  Standard_Integer classifyPoint (const gp_XY& thePoint1,
                                   const gp_XY& thePoint2,
-                                  const gp_XY& thePointToCheck ) const;
+                                  const gp_XY& thePointToCheck) const;
 
-  //! Checks intersection between the two segments. <br>
-  IntFlag intSegSegconst BRepMesh_Edge&   theEdge1,
+  //! Checks intersection between the two segments.
+  IntFlag intSegSeg (const BRepMesh_Edge&   theEdge1,
                      const BRepMesh_Edge&   theEdge2,
                      const Standard_Boolean isConsiderEndPointTouch,
                      const Standard_Boolean isConsiderPointOnEdge,
                      gp_Pnt2d&              theIntPnt) const;
 
-  //! Returns area of the loop of the given polygon defined by <br>
-  //! indices of its start and end links. <br>
-  Standard_Real polyArea( const TColStd_SequenceOfInteger& thePolygon,
+  //! Returns area of the loop of the given polygon defined by indices of its start and end links.
+  Standard_Real polyArea (const TColStd_SequenceOfInteger& thePolygon,
                           const Standard_Integer           theStartIndex,
-                          const Standard_Integer           theEndIndex ) const;
+                          const Standard_Integer           theEndIndex) const;
+
 private:
 
-  Handle(BRepMesh_DataStructureOfDelaun)          myMeshData;
-  Standard_Boolean                                myIsPositiveOrientation;
-  BRepMesh_CircleTool                             myCircles;
-  Standard_Integer                                mySupVert[3];
-  BRepMesh_Triangle                               mySupTrian;
+  Handle(BRepMesh_DataStructureOfDelaun) myMeshData;
+  Standard_Boolean                       myIsPositiveOrientation;
+  BRepMesh_CircleTool                    myCircles;
+  Standard_Integer                       mySupVert[3];
+  BRepMesh_Triangle                      mySupTrian;
+
 };
 
 #endif
index f49518dbf1ed5b22eed20df195fee95bd9cafb86..ad7e873d0e7e60c118ab4eb448ad67634e9482f5 100644 (file)
@@ -14,9 +14,7 @@
 #ifndef _BRepMesh_PluginEntryType_HeaderFile
 #define _BRepMesh_PluginEntryType_HeaderFile
 
-#ifndef _Standard_Real_HeaderFile
 #include <Standard_Real.hxx>
-#endif
 
 class TopoDS_Shape;
 class BRepMesh_DiscretRoot;
index 09f058f9dfb32dc08577a8b0da0eefa458cbd855..a9b45457172d1cc4c57aa6b9ef10ee960daedbfe 100644 (file)
 #ifndef _BRepMesh_Status_HeaderFile
 #define _BRepMesh_Status_HeaderFile
 
-//! Discribes the wires discretisation. <br>
-enum BRepMesh_Status {
-BRepMesh_NoError              = 0x0,
-BRepMesh_OpenWire             = 0x1,
-BRepMesh_SelfIntersectingWire = 0x2,
-BRepMesh_Failure              = 0x4,
-BRepMesh_ReMesh               = 0x8
+//! Discribes the wires discretisation.
+enum BRepMesh_Status
+{
+  BRepMesh_NoError              = 0x0,
+  BRepMesh_OpenWire             = 0x1,
+  BRepMesh_SelfIntersectingWire = 0x2,
+  BRepMesh_Failure              = 0x4,
+  BRepMesh_ReMesh               = 0x8
 };
 
 #endif
index dabe48a58fe18c56c22f7c15498bd162c3b4c2f7..00bc14b7e4d9af1641b7bfec4e000c120715afeb 100644 (file)
 #ifndef _BRepMesh_VectorOfVertex_HeaderFile
 #define _BRepMesh_VectorOfVertex_HeaderFile
 
-#ifndef _BRepMesh_Vertex_HeaderFile
 #include <BRepMesh_Vertex.hxx>
-#endif
-#ifndef NCollection_Vector_HeaderFile
 #include <NCollection_Vector.hxx>
-#endif
 
 typedef NCollection_Vector<BRepMesh_Vertex> BRepMesh_VectorOfVertex;
 
index 12ebc23f753fa2acd0ac15e24be3f768f8f1d646..d0a87c33a85fa393209be1137f28b1b1a4dccf27 100644 (file)
 #ifndef _BRepMesh_VertexCellFilter_HeaderFile
 #define _BRepMesh_VertexCellFilter_HeaderFile
 
-#ifndef _gp_XYZ_HeaderFile
 #include <gp_XYZ.hxx>
-#endif
-#ifndef _gp_XY_HeaderFile
 #include <gp_XY.hxx>
-#endif
-#ifndef NCollection_CellFilter_HeaderFile
 #include <NCollection_CellFilter.hxx>
-#endif
-#ifndef _BRepMesh_VertexInspector_HeaderFile
 #include <BRepMesh_VertexInspector.hxx>
-#endif
 
 typedef NCollection_CellFilter<BRepMesh_VertexInspector> BRepMesh_VertexCellFilter;
 
index 212bf3bb5825c1971e78d98febd42829d4b2a6fd..be49d66739d52c20885d3978fc1ce5f1262e954b 100644 (file)
 #define _BRepMesh_VertexInspector_HeaderFile
 
 #include <BRepMesh_ListOfInteger.hxx> 
-#ifndef _Precision_HeaderFile
 #include <Precision.hxx>
-#endif
-#ifndef _gp_XY_HeaderFile
 #include <gp_XY.hxx>
-#endif
-#ifndef _gp_XYZ_HeaderFile
 #include <gp_XYZ.hxx>
-#endif
-
-#ifndef NCollection_CellFilter_HeaderFile
 #include <NCollection_CellFilter.hxx>
-#endif
-#ifndef _BRepMesh_Vertex_HeaderFile
 #include <BRepMesh_Vertex.hxx>
-#endif
-#ifndef _BRepMesh_VectorOfVertex_HeaderFile
 #include <BRepMesh_VectorOfVertex.hxx>
-#endif
-#ifndef _TColStd_Array1OfReal_HeaderFile
 #include <TColStd_Array1OfReal.hxx>
-#endif
 #include <BRepMesh_BaseAllocator.hxx>
 
 //=======================================================================
index 59e0ccb05db76e4ecc12243e32ad442117e0aed5..9643943ee6a56428aeca1ad2fc9f77d98b888678 100644 (file)
 #ifndef _BRepPrim_OneAxis_HeaderFile
 #define _BRepPrim_OneAxis_HeaderFile
 
-#ifndef _BRepPrim_Builder_HeaderFile
 #include <BRepPrim_Builder.hxx>
-#endif
-#ifndef _gp_Ax2_HeaderFile
 #include <gp_Ax2.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _TopoDS_Shell_HeaderFile
 #include <TopoDS_Shell.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _TopoDS_Vertex_HeaderFile
 #include <TopoDS_Vertex.hxx>
-#endif
-#ifndef _TopoDS_Edge_HeaderFile
 #include <TopoDS_Edge.hxx>
-#endif
-#ifndef _TopoDS_Wire_HeaderFile
 #include <TopoDS_Wire.hxx>
-#endif
-#ifndef _TopoDS_Face_HeaderFile
 #include <TopoDS_Face.hxx>
-#endif
+
 class Standard_DomainError;
 class Standard_OutOfRange;
 class TopoDS_Shell;
index 7a64f23906ff6e00f5527c54d69969b2b122370b..1678938e5b4d1fe03afe2f561e22478204472040 100644 (file)
 #ifndef _BRepSweep_NumLinearRegularSweep_HeaderFile
 #define _BRepSweep_NumLinearRegularSweep_HeaderFile
 
-#ifndef _BRepSweep_Builder_HeaderFile
 #include <BRepSweep_Builder.hxx>
-#endif
-#ifndef _TopoDS_Shape_HeaderFile
 #include <TopoDS_Shape.hxx>
-#endif
-#ifndef _Sweep_NumShape_HeaderFile
 #include <Sweep_NumShape.hxx>
-#endif
-#ifndef _BRepSweep_Tool_HeaderFile
 #include <BRepSweep_Tool.hxx>
-#endif
-#ifndef _Sweep_NumShapeTool_HeaderFile
 #include <Sweep_NumShapeTool.hxx>
-#endif
-#ifndef _BRepSweep_Array2OfShapesOfNumLinearRegularSweep_HeaderFile
 #include <BRepSweep_Array2OfShapesOfNumLinearRegularSweep.hxx>
-#endif
-#ifndef _TColStd_Array2OfBoolean_HeaderFile
 #include <TColStd_Array2OfBoolean.hxx>
-#endif
-#ifndef _Handle_BRepSweep_SequenceNodeOfSequenceOfShapesOfNumLinearRegularSweep_HeaderFile
 #include <BRepSweep_SequenceNodeOfSequenceOfShapesOfNumLinearRegularSweep.hxx>
-#endif
-#ifndef _TopAbs_Orientation_HeaderFile
 #include <TopAbs_Orientation.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
+
 class Standard_NoMoreObject;
 class Standard_NoSuchObject;
 class Standard_RangeError;
index aaf066aca834694c7fbc6cb37163605c52d185b8..7f4072884119d012a30e9c7d5183baa1889cff6b 100644 (file)
 #ifndef _BSplCLib_EvaluatorFunction_HeaderFile
 #define _BSplCLib_EvaluatorFunction_HeaderFile
 
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _Standard_PrimitiveTypes_HeaderFile
-#include <Standard_PrimitiveTypes.hxx>
-#endif
+#include <Standard_TypeDef.hxx>
 
 // History - C function pointer converted to a virtual class
 // in order to get rid of usage of static functions and static data
index 8f7d298694d1e054088400c5cd5670d0a73de687..b1475cef5138c556acb66cb259b966752fd489a7 100644 (file)
 #ifndef _DBC_BaseArray_HeaderFile
 #define _DBC_BaseArray_HeaderFile
 
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _DBC_DBVArray_HeaderFile
 #include <DBC_DBVArray.hxx>
-#endif
-#ifndef _Standard_Storable_HeaderFile
 #include <Standard_Storable.hxx>
-#endif
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Standard_OStream_HeaderFile
 #include <Standard_OStream.hxx>
-#endif
-#ifndef _Standard_PrimitiveTypes_HeaderFile
-#include <Standard_PrimitiveTypes.hxx>
-#endif
+#include <Standard_TypeDef.hxx>
+
 class Standard_NullObject;
 class Standard_NegativeValue;
 class Standard_DimensionMismatch;
index 1dfa470782205563af22e5dda3e254ad7bba62cb..c3cea29a32bdd5a7ec14f7f55146051b5e89df57 100644 (file)
@@ -16,9 +16,7 @@
 #define _DBC_DBVArray_HeaderFile
 
 #ifdef OBJY
-#ifndef _PStandard_ArrayNode_HeaderFile
 #include <PStandard_ArrayNode.hxx>
-#endif
 declare(ooVArray,PHandle_PStandard_ArrayNode)
 typedef ooVArray(PHandle_PStandard_ArrayNode) DBC_DBVArray;
 #endif
index deaeb0c41d883d945e3d4b623b7b80247ddc8125..38fc0a1b9d42bbe1750f75deff14e20b3c4fe05b 100644 (file)
 
 #include <stdio.h>
 
-#ifndef _Storage_BaseDriver_HeaderFile
 #include <Storage_BaseDriver.hxx>
-#endif
-#ifndef _Storage_Error_HeaderFile
 #include <Storage_Error.hxx>
-#endif
-#ifndef _Storage_OpenMode_HeaderFile
 #include <Storage_OpenMode.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Character_HeaderFile
-#include <Standard_Character.hxx>
-#endif
-#ifndef _Standard_ExtCharacter_HeaderFile
-#include <Standard_ExtCharacter.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
-#include <Standard_Real.hxx>
-#endif
-#ifndef _Standard_ShortReal_HeaderFile
-#include <Standard_ShortReal.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
-#include <Standard_CString.hxx>
-#endif
 #include <Storage_Position.hxx>
 
 class Storage_StreamTypeMismatchError;
index e8e25c36870596d6921114e664f92d6ec06ab230..ce693a61ff48199f6ed94ea1060c72b45fc2289b 100644 (file)
 #ifndef Draw_Main_HeaderFile
 #define Draw_Main_HeaderFile
 
-#ifndef _Standard_TypeDef_HeaderFile
 #include <Standard_TypeDef.hxx>
-#endif
-
 #include <Draw_Appli.hxx>
 #include <Standard_PCharacter.hxx>
 
index e40e3a9d2e0fce947e48043b47ba548a398f9177..3f1504181b099c6faec54612e887c1beb96411ca 100644 (file)
@@ -185,7 +185,7 @@ public:
     return myUp;
   }
 
-  //! Set camera axial scale.<br>
+  //! Set camera axial scale.
   //! @param theAxialScale [in] the axial scale vector.
   Standard_EXPORT void SetAxialScale (const gp_XYZ& theAxialScale);
 
index 74fd1672ce899b6a927f5dca3735d3790c0af9db..339a7f295b57f267e6b88e8d6fa5541865573b8f 100644 (file)
 #include <Standard_ShortReal.hxx>
 #include <Standard_Real.hxx>
 
-//! This class represents a graphical 3D point. <br>
+//! This class represents a graphical 3D point.
 class Graphic3d_Vertex : public TEL_POINT
 {
- public:
-  //! Creates a point with 0.0, 0.0, 0.0 coordinates. <br>
+public:
+
+  //! Creates a point with 0.0, 0.0, 0.0 coordinates.
   Graphic3d_Vertex()
-  { SetCoord(0.f,0.f,0.f); }
-  //! Creates a point with coordinates identical to <APoint>. <br>
-  Graphic3d_Vertex(const Graphic3d_Vertex& APoint)
-  { SetCoord(APoint.X(),APoint.Y(),APoint.Z()); }
-  //! Creates a point with <AX>, <AY> and <AZ> coordinates. <br>
-  Graphic3d_Vertex(const Standard_ShortReal AX,const Standard_ShortReal AY,const Standard_ShortReal AZ)
-  { SetCoord(AX,AY,AZ); }
-  //! Creates a point with <AX>, <AY> and <AZ> coordinates. <br>
-  Graphic3d_Vertex(const Standard_Real AX,const Standard_Real AY,const Standard_Real AZ)
-  { SetCoord(AX,AY,AZ); }
-  //! Modifies the coordinates of the point <me>. <br>
-  void SetCoord(const Standard_ShortReal AX,const Standard_ShortReal AY,const Standard_ShortReal AZ)
-  { xyz[0] = AX, xyz[1] = AY, xyz[2] = AZ; }
-  //! Modifies the coordinates of the point <me>. <br>
-  void SetCoord(const Standard_Real AX,const Standard_Real AY,const Standard_Real AZ)
-  { xyz[0] = Standard_ShortReal(AX), xyz[1] = Standard_ShortReal(AY), xyz[2] = Standard_ShortReal(AZ); }
-  //! Returns the coordinates of the point <me>. <br>
-  void Coord(Standard_ShortReal& AX,Standard_ShortReal& AY,Standard_ShortReal& AZ) const
-  { AX = xyz[0], AY = xyz[1], AZ = xyz[2]; }
-  //! Returns the coordinates of the point <me>. <br>
-  void Coord(Standard_Real& AX,Standard_Real& AY,Standard_Real& AZ) const
-  { AX = xyz[0], AY = xyz[1], AZ = xyz[2]; }
-  //! Returns the X coordinates of the point <me>. <br>
+  {
+    SetCoord (0.0f, 0.0f, 0.0f);
+  }
+
+  //! Creates a point with coordinates identical to thePoint.
+  Graphic3d_Vertex (const Graphic3d_Vertex& thePoint)
+  {
+    SetCoord (thePoint.X(), thePoint.Y(), thePoint.Z());
+  }
+
+  //! Creates a point with theX, theY and theZ coordinates.
+  Graphic3d_Vertex (const Standard_ShortReal theX,
+                    const Standard_ShortReal theY,
+                    const Standard_ShortReal theZ)
+  {
+    SetCoord (theX, theY, theZ);
+  }
+
+  //! Creates a point with theX, theY and theZ coordinates.
+  Graphic3d_Vertex (const Standard_Real theX,
+                    const Standard_Real theY,
+                    const Standard_Real theZ)
+  {
+    SetCoord (theX, theY, theZ);
+  }
+
+  //! Modifies the coordinates.
+  void SetCoord (const Standard_ShortReal theX,
+                 const Standard_ShortReal theY,
+                 const Standard_ShortReal theZ)
+  {
+    xyz[0] = theX;
+    xyz[1] = theY;
+    xyz[2] = theZ;
+  }
+
+  //! Modifies the coordinates.
+  void SetCoord (const Standard_Real theX,
+                 const Standard_Real theY,
+                 const Standard_Real theZ)
+  {
+    xyz[0] = Standard_ShortReal (theX);
+    xyz[1] = Standard_ShortReal (theY);
+    xyz[2] = Standard_ShortReal (theZ);
+  }
+
+  //! Returns the coordinates.
+  void Coord (Standard_ShortReal& theX,
+              Standard_ShortReal& theY,
+              Standard_ShortReal& theZ) const
+  {
+    theX = xyz[0];
+    theY = xyz[1];
+    theZ = xyz[2];
+  }
+
+  //! Returns the coordinates.
+  void Coord (Standard_Real& theX,
+              Standard_Real& theY,
+              Standard_Real& theZ) const
+  {
+    theX = xyz[0];
+    theY = xyz[1];
+    theZ = xyz[2];
+  }
+
+  //! Returns the X coordinates.
   Standard_ShortReal X() const { return xyz[0]; }
-  //! Returns the Y coordinate of the point <me>. <br>
+
+  //! Returns the Y coordinate.
   Standard_ShortReal Y() const { return xyz[1]; }
-  //! Returns the Z coordinate of the point <me>. <br>
+
+  //! Returns the Z coordinate.
   Standard_ShortReal Z() const { return xyz[2]; }
-  //! Returns the distance between <AV1> and <AV2>. <br>
-  Standard_EXPORT Standard_ShortReal Distance(const Graphic3d_Vertex& AOther) const;
+
+  //! Returns the distance between two points.
+  Standard_EXPORT Standard_ShortReal Distance (const Graphic3d_Vertex& theOther) const;
+
 };
 
 #endif
index 027451a9a6c631f09e946c28ada442a71c7ead18..48d173b594d434a8d28601b1d412d44b4dbf9589 100644 (file)
 #ifndef IntAna2d_Outil_HeaderFile
 #define IntAna2d_Outil_HeaderFile
 
-#ifndef math_DirectPolynomialRoots_HeaderFile
 #include <math_DirectPolynomialRoots.hxx>
-#endif
-
-#ifndef math_TrigonometricFunctionRoots_HeaderFile
 #include <math_TrigonometricFunctionRoots.hxx>
-#endif
-
-#ifndef IntAna2d_IntPoint_HeaderFile
 #include <IntAna2d_IntPoint.hxx>
-#endif
-
-#ifndef gp_Ax2d_HeaderFile
 #include <gp_Ax2d.hxx>
-#endif
 
 class MyDirectPolynomialRoots { 
 public:
index 68a1922089c06a5c8563f19e585c2fd55fe07e66..74fd09aa63a0f55aaa8962210c2b3a338370615b 100644 (file)
 
 #include <StdFail_UndefinedDerivative.hxx>
 
-#ifndef gp_Pnt_HeaderFile
 #include <gp_Pnt.hxx>
-#endif
-#ifndef gp_Dir2d_HeaderFile
 #include <gp_Dir2d.hxx>
-#endif
-#ifndef gp_Dir_HeaderFile
 #include <gp_Dir.hxx>
-#endif
-
 
 inline Standard_Real IntImp_ZerParFunc::Root() const {
 
index 2fec1d146065de2a03b6061abd60b165ad9bd0d5..67ee0524f38b947bca019545452bbdb9e82883e6 100644 (file)
 #ifndef IntImpParGen_Tool_HeaderFile
 #define IntImpParGen_Tool_HeaderFile
 
-#ifndef IntRes2d_Domain_HeaderFile
 #include <IntRes2d_Domain.hxx>
-#endif
-
-#ifndef IntRes2d_Position_HeaderFile
 #include <IntRes2d_Position.hxx>
-#endif
-
-#ifndef IntRes2d_Transition_HeaderFile
 #include <IntRes2d_Transition.hxx>
-#endif
-
-#ifndef gp_Vec2d_HeaderFile
 #include <gp_Vec2d.hxx>
-#endif
-
-#ifndef gp_Pnt2d_HeaderFile
 #include <gp_Pnt2d.hxx>
-#endif
-
  
 Standard_Real NormalizeOnDomain(Standard_Real&,const IntRes2d_Domain&);
 
index c55149aa630e520c0a0296ab6f9815943c0989dc..8373cbce74a233794b74382aa8a0f237526ac0f9 100644 (file)
 #ifndef IntPolyh_ArrayOfCouples_HeaderFile
 #define IntPolyh_ArrayOfCouples_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <IntPolyh_Array.hxx>
 #include <IntPolyh_Couple.hxx>
 
index 3deac809c16d888c75ff5acf8f121ddab3acebfa..87c3bdbeadebc2a42b1cf2d47f3d17e5a9662b5b 100644 (file)
 #ifndef IntPolyh_ArrayOfEdges_HeaderFile
 #define IntPolyh_ArrayOfEdges_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <IntPolyh_Array.hxx>
 #include <IntPolyh_Edge.hxx>
 
index 127870b0cdadf31054c484778aa3e2f747f1d91f..92b250a64e6ef38ac430f036fec59e47cd0bf5ed 100644 (file)
 #ifndef IntPolyh_ArrayOfPoints_HeaderFile
 #define IntPolyh_ArrayOfPoints_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <IntPolyh_Array.hxx>
 #include <IntPolyh_Point.hxx>
 
index 77d731bd1ed8183c9d3f1ec404a49775a901263a..8d9a77ecb0f93aa77b39eef08c29a24fc5389289 100644 (file)
 #ifndef IntPolyh_ArrayOfSectionLines_HeaderFile
 #define IntPolyh_ArrayOfSectionLines_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <IntPolyh_Array.hxx>
 #include <IntPolyh_SectionLine.hxx>
 
index 7806a497693c730356a797240ec7b93edf6e93a8..917111cfa8406d3c7fed5aa82f630c6a389fe982 100644 (file)
 #ifndef IntPolyh_ArrayOfStartPoints_HeaderFile
 #define IntPolyh_ArrayOfStartPoints_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <IntPolyh_Array.hxx>
 #include <IntPolyh_StartPoint.hxx>
 
index 0a836eba13e64009c5fad7345f54623ce6919b50..7c5d2a8719bf997a9b4c0a9ce8f3799599f019e0 100644 (file)
 #ifndef IntPolyh_ArrayOfTangentZones_HeaderFile
 #define IntPolyh_ArrayOfTangentZones_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <IntPolyh_Array.hxx>
 #include <IntPolyh_StartPoint.hxx>
 
index 7fc98281202ad2b97724a6cc68549733663aaa9d..27dc38a8b89e9e5d0a12bb42051a1612aed78248 100644 (file)
 #ifndef IntPolyh_ArrayOfTriangles_HeaderFile
 #define IntPolyh_ArrayOfTriangles_HeaderFile
 
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
 #include <IntPolyh_Array.hxx>
 //#include <IntPolyh_Triangle.hxx>
 class IntPolyh_Triangle;
index 4a98db263584d36d71d29874bcfa123e079fb7a5..a7d903abe61f8d45de1d479089451c793fc95c62 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#ifndef gp_Pln_HeaderFile
 #include <gp_Pln.hxx>
-#endif
-#ifndef gp_Sphere_HeaderFile
 #include <gp_Sphere.hxx>
-#endif
-#ifndef gp_Cylinder_HeaderFile
 #include <gp_Cylinder.hxx>
-#endif
-#ifndef gp_Cone_HeaderFile
 #include <gp_Cone.hxx>
-#endif
-#ifndef GeomAbs_SurfaceType_HeaderFile
 #include <GeomAbs_SurfaceType.hxx>
-#endif
-
 
 inline GeomAbs_SurfaceType IntSurf_Quadric::TypeQuadric () const {
 
index d81cd5c7a5a10d2bc0528eed157595719bc048ab..3abae884d635a705bb8110d04d5453ffe76de2e8 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#ifndef Standard_DomainError_HeaderFile
 #include <Standard_DomainError.hxx>
-#endif
-#ifndef IntSurf_LineOn2S_HeaderFile
 #include <IntSurf_LineOn2S.hxx>
-#endif
-#ifndef IntSurf_Couple_HeaderFile
 #include <IntSurf_Couple.hxx>
-#endif
-#ifndef IntSurf_SequenceOfCouple_HeaderFile
 #include <IntSurf_SequenceOfCouple.hxx>
-#endif
 
 inline void IntWalk_IWLine::Cut(const Standard_Integer Index)
 {
index 1e7926cd3434dd07147c9d9db6e0f10147c69972..b302ca26d387272ce74fde67cc0d3ee11de99dff 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#ifndef MeshVS_TWOCOLORSHXX
-#define MeshVS_TWOCOLORSHXX
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
+#ifndef MeshVS_TwoColors_HeaderFile
+#define MeshVS_TwoColors_HeaderFile
 
 #include <Quantity_Color.hxx>
 
index ef4fda4349befe30e89c5ce76acd2f1be2046604..f8b6672430949ab19a3a53e2b0feee2898e342e3 100644 (file)
@@ -40,12 +40,8 @@ inline Message_SequenceOfPrinters& Message_Messenger::ChangePrinters()
 //purpose  : 
 //=======================================================================
 
-#ifndef _TCollection_HAsciiString_HeaderFile
 #include <TCollection_HAsciiString.hxx>
-#endif
-#ifndef _TCollection_HExtendedString_HeaderFile
 #include <TCollection_HExtendedString.hxx>
-#endif
 
 // CString
 inline const Handle(Message_Messenger)&
index 4f917c62da1bcdacd9c94320b1f684f0924ca77d..7f5637fba2b54fa4f6231d5db232787ef0bab6a0 100644 (file)
 #include <NIS_Drawer.hxx>
 #include <NIS_SelectFilter.hxx>
 
-#ifdef WNT
+// undefine WinAPI macros
 #ifdef GetObject
-#undef GetObject
-#endif
+  #undef GetObject
 #endif
 
 class NIS_View;
@@ -36,13 +35,11 @@ class Bnd_B2f;
 
 /**
  * InteractiveContext is the central NIS structure that stores and manages
- * all NIS_InteractiveObject instances as well as the Drawers for their
- * visualisation.
+ * all NIS_InteractiveObject instances as well as the Drawers for their visualisation.
  * There may be one or more Views referred by an InteractiveContext instance.
- * Also there may be one or more InteractiveContext instances referring the same
- * View. However the latter case is not typical (see NIS_View description).<br>
- * To add or remove a View in a Context, use methods AttachView() and
- * DetachView().
+ * Also there may be one or more InteractiveContext instances referring the same View.
+ * However the latter case is not typical (see NIS_View description).
+ * To add or remove a View in a Context, use methods AttachView() and DetachView().
  *
  * @section nis_interactivecontext_mgtobjects Management of objects
  * The main purpose of class NIS_InteractiveContext is allocation and
@@ -50,13 +47,10 @@ class Bnd_B2f;
  * <p>An InteractiveObject should be added to the Context by a call to method
  * Display() or DisplayOnTop(). After that (not before) it becomes possible to:
  * <ul>
- * <li>change the presentation of the InteractiveObject (e.g., modify the color)
- *     </li>
- * <li>make the InteractiveObject visible or invisible, selectable or
- *     unselectable;</li>
+ * <li>change the presentation of the InteractiveObject (e.g., modify the color)</li>
+ * <li>make the InteractiveObject visible or invisible, selectable or unselectable;</li>
  * <li>set Transparency;</li>
- * <li>select InteractiveObject interactively, including the hilighting and
- *     the dynamic hilighting.</li>
+ * <li>select InteractiveObject interactively, including the hilighting and the dynamic hilighting.</li>
  * </ul>
  * Methods that add/remove/display/hide NIS_InteractiveObject instances have
  * the optional parameter 'isUpdateViews'. When it is set to True (default),
@@ -348,14 +342,11 @@ class NIS_InteractiveContext : public Standard_Transient
   { mySelectionMode = theMode; }
 
   /**
-   * Set or unset the selected state of the object, also changing its
-   * hilight status.<br>
-   * If mySelectionMode == Mode_NoSelection this method does nothing (returns
-   * False always).<br>
+   * Set or unset the selected state of the object, also changing its hilight status.
+   * If mySelectionMode == Mode_NoSelection this method does nothing (returns False always).
    * If the given object is NULL (e.g., if the mouse was clicked on empty area),
-   * then the current selection is cleared (modes Normal and Additive only).<br>
-   * The selection algorithm with respect to the given object is defined by
-   * the current selection mode :
+   * then the current selection is cleared (modes Normal and Additive only).
+   * The selection algorithm with respect to the given object is defined by the current selection mode:
    * <ul>
    * <li>Mode_Normal    - the selection state is toggled</li>
    * <li>Mode_Additive  - the object is always added to the selection</li>
@@ -388,8 +379,7 @@ class NIS_InteractiveContext : public Standard_Transient
                                             = Standard_False);
 
   /**
-   * Set or unset the selected state of the object, also changing its
-   * hilight status.<br>
+   * Set or unset the selected state of the object, also changing its hilight status.
    * This method does not update the views.
    * @param theObj
    *   Object to be selected or deselected
@@ -607,7 +597,7 @@ private:
    *  - #1 - top objects
    *  - #2 - hilighted objects (i.e., selected)
    *  - #3 - transparent objects
-   * <br>Each object can have only one entry in these maps.
+   * Each object can have only one entry in these maps.
    */
   TColStd_PackedMapOfInteger                        myMapObjects[4];
 
index 1888e5d25f2fc5cf6a789643d5c17edd6bd2cd8c..ac0c011b8960b8036af2aeb96a4275cbb95b5656 100644 (file)
@@ -160,10 +160,10 @@ class NIS_InteractiveObject : public Standard_Transient
 
   /**
    * Replace the drawer. This method must not be called for Object that
-   * has not yet been added to a Context (thus has empty drawer).<br>
+   * has not yet been added to a Context (thus has empty drawer).
    * It is possible to have unassigned myDrawer or a DefaultDrawer as the
    * parameter value (but not both). The Context where we work is taken
-   * from theDrawer first, then (if NULL) -- from myDrawer.<br>
+   * from theDrawer first, then (if NULL) -- from myDrawer.
    * This method matches theDrawer with the available Drawers in the Context
    * and adds if no match is found.
    * @return
@@ -291,8 +291,7 @@ class NIS_InteractiveObject : public Standard_Transient
    * Intersect the InteractiveObject geometry with an oriented box.
    * The default implementation (in this abstract class) always returns True,
    * signalling that every object pre-selected by its bounding box is
-   * automatically selected. The specializations should define a more correct
-   * behaviour.<br>
+   * automatically selected. The specializations should define a more correct behaviour.
    * The algorithm should transform the InteractiveObject geometry using the
    * parameter theTrf and then reject it with box theBox, like:
    * @code
@@ -320,8 +319,7 @@ class NIS_InteractiveObject : public Standard_Transient
    * Intersect the InteractiveObject geometry with a selection polygon.
    * The default implementation (in this abstract class) always returns True,
    * signalling that every object pre-selected by its bounding box is
-   * automatically selected. The specializations should define a more correct
-   * behaviour.<br>
+   * automatically selected. The specializations should define a more correct behaviour.
    * The algorithm should transform the InteractiveObject geometry using the
    * parameter theTrf and then reject it with polygon.
    * @param thePolygon
index f71d6f03d2197a4652c2d8eb48f5a11b404cbc8a..25b5fadf5c7d00e57e70e642cce9556746af3a51 100644 (file)
@@ -23,14 +23,11 @@ class NIS_InteractiveObject;
 class Handle_Standard_Type;
 
 /**
- * Interface for selection filters. It can be used in NIS_InteractiveContext
- * by methods SetFilter and GetFilter.<br>
- * Unlike in AIS, only one filter can be installed in InteractiveContext. If
- * you need more than one filter instance to work together, create a composite
- * NIS_SelectFilter specialization that would hold a list of simpler Filter
- * instances.
+ * Interface for selection filters. It can be used in NIS_InteractiveContext by methods SetFilter and GetFilter.
+ * Unlike in AIS, only one filter can be installed in InteractiveContext.
+ * If you need more than one filter instance to work together, create a composite
+ * NIS_SelectFilter specialization that would hold a list of simpler Filter instances.
  */
-
 class NIS_SelectFilter : public Standard_Transient
 {
  public:
index 457b4b091956b1110a57b29a0177119ac43a02ba..95a57966445088468d5064a6f13d4ca632062ccb 100644 (file)
@@ -30,9 +30,9 @@
  * The following tasks are supported:
  * <ol>
  *
- * <li> Creation of AVI data stream: launched by the constructor.<br>
+ * <li>Creation of AVI data stream: launched by the constructor.
  * The constructor accepts the filename, FOURCC video code and the frame rate
- * setting as parameters.<br>
+ * setting as parameters.
  * The default codec name used here is MPG4. To use a different codec, pass
  * its FOURCC value as the input parameter for dwCodec.
  * For example,
@@ -43,7 +43,7 @@
  * Also, you can pass just 0 to avoid the codecs altogether. In that case,
  * the frames would be saved as they are without any compression; However,
  * the output movie file size would be very huge in that case.
- * <br>
+ *
  * Finally, make sure you have the codec installed on the machine before
  * passing its Fourcc here.
  * </li>
index 8f863c834dcd15deebf5a7caf925e1dc0639d245..e8e52dd138b72dcd0fc72a8adfb895f0c2eba5ec 100644 (file)
@@ -92,7 +92,7 @@ private:
   Standard_Size myCounter;
 };
 
-//! This class defines an OpenGl graphic driver <br>
+//! This class defines an OpenGl graphic driver
 class OpenGl_GraphicDriver : public Graphic3d_GraphicDriver
 {
 public:
@@ -204,97 +204,101 @@ public:
   Standard_EXPORT void SetLineAttributes (const Standard_Integer Type,const Standard_ShortReal Width);
   Standard_EXPORT void SetFlippingOptions (const Graphic3d_CGroup& theCGroup, const Standard_Boolean theIsEnabled, const gp_Ax2& theRefPlane);
 
-  //! Set text attributes for under-/overlayer. <br>
-  //! <Font> argument defines the name of the font to be used, <br>
-  //! <Type> argument defines the display type of the text, <br>
-  //! <R> <G> <B> values define the color of decal or subtitle background. <br>
-  //! To set the color of the text you can use the SetColor method. <br>
-  Standard_EXPORT void SetTextAttributes (const Standard_CString FontName,const Standard_Integer Type,const Standard_ShortReal R,const Standard_ShortReal G,const Standard_ShortReal B);
+  //! Set text attributes for under-/overlayer.
+  //! @param theFontName the name of the font to be used
+  //! @param theType     the display type of the text
+  //! theR theG theB values define the color of decal or subtitle background
+  //! To set the color of the text you can use the SetColor method.
+  Standard_EXPORT void SetTextAttributes (const Standard_CString   theFontName,
+                                          const Standard_Integer   theType,
+                                          const Standard_ShortReal theR,
+                                          const Standard_ShortReal theG,
+                                          const Standard_ShortReal theB);
   Standard_EXPORT void Text (const Standard_CString AText,const Standard_ShortReal X,const Standard_ShortReal Y,const Standard_ShortReal AHeight);
   Standard_EXPORT void TextSize (const Standard_CString AText,const Standard_ShortReal AHeight,Standard_ShortReal& AWidth,Standard_ShortReal& AnAscent,Standard_ShortReal& ADescent) const;
   Standard_EXPORT void SetBackFacingModel (const Graphic3d_CView& aView);
-  //! print the contents of all layers of the view to the printer. <br>
-  //! <hPrnDC> : Pass the PrinterDeviceContext (HDC), <br>
-  //! <showBackground> : When set to FALSE then print the view without background color <br>
-  //! (background is white) <br>
-  //! else set to TRUE for printing with current background color. <br>
-  //! <filename>: If != NULL, then the view will be printed to a file. <br>
-  //! <printAlgorithm>: Select print algorithm: stretch, tile. <br>
-  //! <theScaleFactor>: Scaling coefficient, used internally to scale the <br>
-  //! printings accordingly to the scale factor selected in the printer <br>
-  //! properties dialog. <br>
-  //! Returns Standard_True if the data is passed to the printer, otherwise <br>
-  //! Standard_False if the print operation failed due to the printer errors, <br>
-  //! or lack of system memory. This might be related to insufficient memory <br>
-  //! or some internal errors. All this errors are indicated by the message <br>
-  //! boxes (on level of OpenGl_GraphicDriver). <br>
-  //! Warning: This function can reuse FBO assigned to the view <br>
-  //! Please take it into account if you use it for your purposes; <br>
-  Standard_EXPORT Standard_Boolean Print (const Graphic3d_CView& ACView, const Aspect_CLayer2d& ACUnderLayer, const Aspect_CLayer2d& ACOverLayer, const Aspect_Handle hPrnDC, const Standard_Boolean showBackground, const Standard_CString filename, const Aspect_PrintAlgo printAlgorithm = Aspect_PA_STRETCH, const Standard_Real theScaleFactor = 1.0) const;
+
+  //! Print the contents of all layers of the view to the printer.
+  //! @param thePrinterDC        pass the PrinterDeviceContext (HDC)
+  //! @param theToShowBackground when set to FALSE then print the view without background color (background is white) else set to TRUE for printing with current background color
+  //! @param theFileName         if != NULL, then the view will be printed to a file
+  //! @param thePrintAlgorithm   select print algorithm: stretch, tile
+  //! @param theScaleFactor      scaling coefficient, used internally to scale the printings accordingly to the scale factor selected in the printer properties dialog
+  //! @return Standard_True if the data is passed to the printer, otherwise Standard_False if the print operation failed due to the printer errors,
+  //! or lack of system memory. This might be related to insufficient memory or some internal errors.
+  //! All this errors are indicated by the message boxes (on level of OpenGl_GraphicDriver).
+  //! Warning: This function can reuse FBO assigned to the view, please take it into account if you use it for your purposes.
+  Standard_EXPORT Standard_Boolean Print (const Graphic3d_CView& theCView,
+                                          const Aspect_CLayer2d& theCUnderLayer,
+                                          const Aspect_CLayer2d& theCOverLayer,
+                                          const Aspect_Handle    thePrinterDC,
+                                          const Standard_Boolean theToShowBackground,
+                                          const Standard_CString theFileName,
+                                          const Aspect_PrintAlgo thePrintAlgorithm = Aspect_PA_STRETCH,
+                                          const Standard_Real    theScaleFactor = 1.0) const;
   Standard_EXPORT void SetDepthTestEnabled (const Graphic3d_CView& view,const Standard_Boolean isEnabled) const;
   Standard_EXPORT Standard_Boolean IsDepthTestEnabled (const Graphic3d_CView& view) const;
-  //! Reads depths of shown pixels of the given rectangle (glReadPixels with GL_DEPTH_COMPONENT) <br>
+
+  //! Reads depths of shown pixels of the given rectangle (glReadPixels with GL_DEPTH_COMPONENT)
   Standard_EXPORT void ReadDepths (const Graphic3d_CView& view,const Standard_Integer x,const Standard_Integer y,const Standard_Integer width,const Standard_Integer height,const Standard_Address buffer) const;
-  //! Generate offscreen FBO (needs OpenGL2+ hardware) <br>
-  //! If not supported on hardware returns NULL. <br>
+
+  //! Generate offscreen FBO (needs OpenGL2+ hardware).
+  //! If not supported on hardware returns NULL.
   Standard_EXPORT Graphic3d_PtrFrameBuffer FBOCreate (const Graphic3d_CView& view, const Standard_Integer width, const Standard_Integer height);
-  //! Remove offscreen FBO <br>
+
+  //! Remove offscreen FBO
   Standard_EXPORT void FBORelease (const Graphic3d_CView& view, Graphic3d_PtrFrameBuffer& fboPtr);
-  //! Dump active rendering buffer into specified memory buffer. <br>
+
+  //! Dump active rendering buffer into specified memory buffer.
   Standard_EXPORT Standard_Boolean BufferDump (const Graphic3d_CView&      theCView,
                                                Image_PixMap&               theImage,
                                                const Graphic3d_BufferType& theBufferType);
+
   Standard_EXPORT void SetGLLightEnabled (const Graphic3d_CView& view,const Standard_Boolean isEnabled) const;
+
   Standard_EXPORT Standard_Boolean IsGLLightEnabled (const Graphic3d_CView& view) const;
-  //! Clear visualization data in graphical driver and stop <br>
-  //! displaying the primitives array of the graphical group <theCGroup>. <br>
-  //! This method is internal and should be used by Graphic3d_Group only. <br>
+
   Standard_EXPORT Standard_Integer InquirePlaneLimit();
+
   Standard_EXPORT Standard_ShortReal DefaultTextHeight() const;
+
   Standard_EXPORT void FBOGetDimensions(const Graphic3d_CView& view,const Graphic3d_PtrFrameBuffer fboPtr,Standard_Integer& width,Standard_Integer& height,Standard_Integer& widthMax,Standard_Integer& heightMax);
+
   Standard_EXPORT void FBOChangeViewport(const Graphic3d_CView& view,Graphic3d_PtrFrameBuffer& fboPtr,const Standard_Integer width,const Standard_Integer height);
+
   Standard_EXPORT Standard_Boolean Export(const Standard_CString theFileName,const Graphic3d_ExportFormat theFormat,const Graphic3d_SortType theSortType,const Standard_Integer theWidth,const Standard_Integer theHeight,const Graphic3d_CView& theView,const Aspect_CLayer2d& theLayerUnder,const Aspect_CLayer2d& theLayerOver,const Standard_Real thePrecision = 0.005,const Standard_Address theProgressBarFunc = NULL,const Standard_Address theProgressObject = NULL);
 
-  //! Add a new top-level z layer with ID <theLayerId> for <br>
-  //! the view. Z layers allow drawing structures in higher layers <br>
-  //! in foreground of structures in lower layers. To add a structure <br>
-  //! to desired layer on display it is necessary to set the layer <br>
-  //! index for the structure. <br>
-  Standard_EXPORT void AddZLayer(const Graphic3d_CView& theCView,
-                                 const Standard_Integer theLayerId);
-
-  //! Remove Z layer from the specified view. All structures <br>
-  //! displayed at the moment in layer will be displayed in default layer <br>
-  //! ( the bottom-level z layer ). To unset layer index from associated <br>
-  //! structures use method UnsetZLayer (...). <br>
-  Standard_EXPORT void RemoveZLayer(const Graphic3d_CView& theCView,
-                                    const Standard_Integer theLayerId);
-
-  //! Unset Z layer ID for all structures. The structure <br>
-  //! indexes will be set to default layer ( the bottom-level z layer with <br>
-  //! ID = 0 ). <br>
-  Standard_EXPORT void UnsetZLayer(const Standard_Integer theLayerId);
-
-  //! Change Z layer of a structure. The new z layer ID will <br>
-  //! be used to define the associated layer for structure on display. <br>
-  //! It is recommended to take care of redisplaying the structures already <br>
-  //! presented in view with previously set layer index. This is usually <br>
-  //! done by viewer manager. Z layers allow drawing structures in <br>
-  //! higher layers in foreground of structures in lower layers. <br>
-  Standard_EXPORT void ChangeZLayer(const Graphic3d_CStructure& theCStructure,
-                                    const Standard_Integer theLayerId);
-
-  //! Change Z layer of a structure already presented in view. <br>
-  //! It is recommended to update z layer of already <br>
-  //! displayed structures with this method before setting new z layer <br>
-  //! index to the structure. This is usually done by viewer manager. <br>
-  Standard_EXPORT void ChangeZLayer(const Graphic3d_CStructure& theCStructure,
-                                    const Graphic3d_CView& theCView,
-                                    const Standard_Integer theNewLayerId);
-
-  //! Get Z layer ID of the structure. If the structure doesn't exists in <br>
-  //! graphic driver, the method returns -1. <br>
-  Standard_EXPORT Standard_Integer GetZLayer(const Graphic3d_CStructure& theCStructure) const;
+  //! Add a new top-level z layer with ID theLayerId for the view. Z layers allow drawing structures in higher layers in foreground of structures in lower layers.
+  //! To add a structure to desired layer on display it is necessary to set the layer index for the structure.
+  Standard_EXPORT void AddZLayer (const Graphic3d_CView& theCView,
+                                  const Standard_Integer theLayerId);
+
+  //! Remove Z layer from the specified view.
+  //! All structures displayed at the moment in layer will be displayed in default layer (the bottom-level z layer).
+  //! To unset layer index from associated structures use method UnsetZLayer (...).
+  Standard_EXPORT void RemoveZLayer (const Graphic3d_CView& theCView,
+                                     const Standard_Integer theLayerId);
+
+  //! Unset Z layer ID for all structures.
+  //! The structure indexes will be set to default layer (the bottom-level z layer with ID = 0).
+  Standard_EXPORT void UnsetZLayer (const Standard_Integer theLayerId);
+
+  //! Change Z layer of a structure.
+  //! The new z layer ID will be used to define the associated layer for structure on display.
+  //! It is recommended to take care of redisplaying the structures already presented in view with previously set layer index.
+  //! This is usually done by viewer manager. Z layers allow drawing structures in higher layers in foreground of structures in lower layers.
+  Standard_EXPORT void ChangeZLayer (const Graphic3d_CStructure& theCStructure,
+                                     const Standard_Integer      theLayerId);
+
+  //! Change Z layer of a structure already presented in view.
+  //! It is recommended to update z layer of already displayed structures with this method before setting new z layer index to the structure.
+  //! This is usually done by viewer manager.
+  Standard_EXPORT void ChangeZLayer (const Graphic3d_CStructure& theCStructure,
+                                     const Graphic3d_CView&      theCView,
+                                     const Standard_Integer      theNewLayerId);
+
+  //! Get Z layer ID of the structure. If the structure doesn't exists in graphic driver, the method returns -1.
+  Standard_EXPORT Standard_Integer GetZLayer (const Graphic3d_CStructure& theCStructure) const;
 
 public:
 
index 1fa1b2106c39200cef67dec5722c378ad8053a2b..6cd81e5a29f0a37e537797e145f51690ed38c175 100644 (file)
@@ -41,87 +41,61 @@ DEFINE_STANDARD_HANDLE (Poly_CoherentTriangulation, Standard_Transient)
 /**
  * Triangulation structure that allows to:
  * <ul>
- * <li>Store the connectivity of each triangle with up to 3 neighbouring ones
- *     and with the corresponding 3rd nodes on them,</li>
- * <li>Store the connectivity of each node with all triangles that share this
- *     node</li>
+ * <li>Store the connectivity of each triangle with up to 3 neighbouring ones and with the corresponding 3rd nodes on them,</li>
+ * <li>Store the connectivity of each node with all triangles that share this node</li>
  * <li>Add nodes and triangles to the structure,</li>
  * <li>Find all triangles sharing a single or a couple of nodes</li>
  * <li>Remove triangles from structure</li>
- * <li>Optionally create Links between pairs of nodes according to the current
- *     triangulation. 
+ * <li>Optionally create Links between pairs of nodes according to the current triangulation.</li>
  * <li>Convert from/to Poly_Triangulation structure.</li>
  * </ul>
- * This class is useful for algorithms that need to analyse and/or edit a
- * triangulated mesh -- for example for mesh refining. The connectivity model
- * follows the idea that all Triangles in a mesh should have coherent orientation
- * like on a surface of a solid body. Connections between more than 2 triangles
- * are not suppoorted.
+ *
+ * This class is useful for algorithms that need to analyse and/or edit a triangulated mesh -- for example for mesh refining.
+ * The connectivity model follows the idea that all Triangles in a mesh should have coherent orientation like on a surface of a solid body.
+ * Connections between more than 2 triangles are not suppoorted.
+ *
  * @section Poly_CoherentTriangulation Architecture
  * The data types used in this structure are:
  * <ul>
- * <li><b>Poly_CoherentNode</b>: Inherits go_XYZ therefore provides the full
- *     public API of gp_XYZ. Contains references to all incident triangles. You
- *     can add new nodes but you cannot remove existing ones. However each node
- *     that has no referenced triangle is considered as "free" (use the method
- *     IsFreeNode() to check this). Free nodes are not available to further
- *     processing, particularly they are not exported in Poly_Triangulation.
+ * <li><b>Poly_CoherentNode</b>: Inherits go_XYZ therefore provides the full public API of gp_XYZ.
+ * Contains references to all incident triangles. You can add new nodes but you cannot remove existing ones.
+ * However each node that has no referenced triangle is considered as "free" (use the method IsFreeNode() to check this).
+ * Free nodes are not available to further processing, particularly they are not exported in Poly_Triangulation.
  * </li>
- * <li><b>Poly_CoherentTriangle</b>: Main data type. Refers three Nodes, three
- *     connected Triangles, three opposite (connected) Nodes and three Links.
- *     If there is boundary then 1, 2 or 3 references to Triangles/connected
- *     Nodes/Links are assigned to NULL (for pointers) or -1 (for integer
- *     node index).
- *     <br>
- *     You can find a triangle by one node using its triangle iterator or by
- *     two nodes - creating a temporary Poly_CoherentLink and calling the method
- *     FindTriangle().
- *     <br>
- *     Triangles can be removed but they are never deleted from
- *     the containing array. Removed triangles have all nodes equal to -1. You
- *     can use the method IsEmpty() to check that.
+ * <li><b>Poly_CoherentTriangle</b>: Main data type. Refers three Nodes, three connected Triangles, three opposite (connected) Nodes and three Links.
+ * If there is boundary then 1, 2 or 3 references to Triangles/connected Nodes/Links are assigned to NULL (for pointers) or -1 (for integer node index).
+ *
+ * You can find a triangle by one node using its triangle iterator or by
+ * two nodes - creating a temporary Poly_CoherentLink and calling the method FindTriangle().
+ *
+ * Triangles can be removed but they are never deleted from the containing array. Removed triangles have all nodes equal to -1.
+ * You can use the method IsEmpty() to check that.
  * </li>
- * <li><b>Poly_CoherentLink</b>: Auxiliary data type. Normally the array of
- *     Links is empty, because for many algorithms it is sufficient to define
- *     only Triangles. You can explicitly create the Links at least once,
- *     calling the method ComputeLinks(). Each Link is oriented couple of
- *     Poly_CoherentNode (directed to the ascending Node index). It refers
- *     two connected triangulated Nodes - on the left and on the right,
- *     therefore a Poly_CoherentLink instance refers the full set of nodes
- *     that constitute a couple of connected Triangles. A boundary Link has
- *     either the first (left) or the second (right) connected node index
- *     equal to -1.
- *     <br>
- *     When the array of Links is created, all subsequent calls to AddTriangle
- *     and RemoveTriangle try to preserve the connectivity Triangle-Link in
- *     addition to the connectivity Triangle-Triangle. Particularly, new Links
- *     are created by method AddTriangle() and existing ones are removed by
- *     method RemoveTriangle(), in each case whenever necessary.
- *     <br>
- *     Similarly to Poly_CoherentTriangle, a Link can be removed but not
- *     destroyed separately from others. Removed Link can be recogniosed using
- *     the method IsEmpty(). To destroy all Links, call the method ClearLinks(),
- *     this method also nullifies Link references in all Triangles. 
+ * <li><b>Poly_CoherentLink</b>: Auxiliary data type. Normally the array of Links is empty, because for many algorithms it is sufficient to define only Triangles.
+ * You can explicitly create the Links at least once, calling the method ComputeLinks(). Each Link is oriented couple of Poly_CoherentNode (directed to the ascending Node index).
+ * It refers two connected triangulated Nodes - on the left and on the right,
+ * therefore a Poly_CoherentLink instance refers the full set of nodes that constitute a couple of connected Triangles.
+ * A boundary Link has either the first (left) or the second (right) connected node index equal to -1.
+ *
+ * When the array of Links is created, all subsequent calls to AddTriangle and RemoveTriangle try to preserve the connectivity Triangle-Link in addition to the connectivity Triangle-Triangle.
+ * Particularly, new Links are created by method AddTriangle() and existing ones are removed by method RemoveTriangle(), in each case whenever necessary.
+ *
+ * Similarly to Poly_CoherentTriangle, a Link can be removed but not destroyed separately from others.
+ * Removed Link can be recogniosed using the method IsEmpty(). To destroy all Links, call the method ClearLinks(),
+ * this method also nullifies Link references in all Triangles.
  * </li>
- * All objects (except for free Nodes and empty Triangles and Links) can be
- * visited by the corresponding Iterator. Direct access is provided only for
- * Nodes (needed to resolve Node indexed commonly used as reference). Triangles
- * and Links can be retrieved by their index only internally, the public API
- * provides only references or pointers to C++ objects. If you need a direct
- * access to Triangles and Links, you can subclass Poly_CoherentTriangulation
- * and use the protected API for your needs.
- * <br>
- * Memory management: All data objects are stored in NCollection_Vector
- * containers that prove to be efficient for the performance. In addition
- * references to triangles are stored in ring lists, with an instance of such
- * list per Poly_CoherentNode. These lists are allocated in a memory allocator
- * that is provided in the constructor of Poly_CoherentTriangulation. By default
- * the standard OCCT allocator (aka NCollection_BaseAllocator) is used. But if
- * you need to increase the performance you can use NCollection_IncAllocator
- * instead.
+ * All objects (except for free Nodes and empty Triangles and Links) can be visited by the corresponding Iterator.
+ * Direct access is provided only for Nodes (needed to resolve Node indexed commonly used as reference).
+ * Triangles and Links can be retrieved by their index only internally, the public API provides only references or pointers to C++ objects.
+ * If you need a direct access to Triangles and Links, you can subclass Poly_CoherentTriangulation and use the protected API for your needs.
+ *
+ * Memory management: All data objects are stored in NCollection_Vector containers that prove to be efficient for the performance.
+ * In addition references to triangles are stored in ring lists, with an instance of such list per Poly_CoherentNode.
+ * These lists are allocated in a memory allocator that is provided in the constructor of Poly_CoherentTriangulation.
+ * By default the standard OCCT allocator (aka NCollection_BaseAllocator) is used.
+ * But if you need to increase the performance you can use NCollection_IncAllocator instead.
  * </ul>
  */
-
 class Poly_CoherentTriangulation : public Standard_Transient
 {
  public:
index 3519514d44a734d0faebe787a37441114445d274..242e1411cbbffedb7e9b1d7e8445f37b4bb98ef8 100644 (file)
 #ifndef _Handle_Standard_Persistent_HeaderFile
 #define _Handle_Standard_Persistent_HeaderFile
 
-#ifndef _Standard_DefineAlloc_HeaderFile
 #include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_PrimitiveTypes_HeaderFile
-#include <Standard_PrimitiveTypes.hxx>
-#endif
-#ifndef _Standard_Persistent_proto_HeaderFile
+#include <Standard_TypeDef.hxx>
 #include <Standard_Persistent_proto.hxx>
-#endif
 
 #ifdef _WIN32
 // Disable the warning "conversion from 'unsigned int' to Standard_Persistent *"
index 8b0065fa531e3d08b195dd5a351fea5c5eceb719..0809fd6888f54d05cec195297b5706d09eae5ac0 100644 (file)
 
 #ifndef _Handle_Standard_Transient_HeaderFile
 #define _Handle_Standard_Transient_HeaderFile
-#ifndef _Standard_HeaderFile
+
 #include <Standard.hxx>
-#endif
-#ifndef _Standard_DefineAlloc_HeaderFile
 #include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_PrimitiveTypes_HeaderFile
 #include <Standard_PrimitiveTypes.hxx>
-#endif
-#ifndef _Standard_Transient_proto_HeaderFile
 #include <Standard_Transient_proto.hxx>
-#endif
 
 #ifdef _WIN32
 // Disable the warning "conversion from 'unsigned int' to Standard_Transient *"
index 86b5ce0b88ad4c08789905b96a35347d3fd3d01a..242c9dd93c2d17646e5584a10a0c37d9d0851543 100644 (file)
 # include <string.h>
 //typedef void* Standard_Address;
 
-
-#ifndef _Standard_TypeDef_HeaderFile
-#include <Standard_TypeDef.hxx>
-#endif
-
-#ifndef _Standard_Integer_HeaderFile
 #include <Standard_Integer.hxx>
-#endif
-
 
 class Handle_Standard_Type;
 
index 9bc737e44ce5c07232e25a242b7674d94d551276..519cbf1ff92149a8ae67ff5e2687ed14c1a1d4a8 100644 (file)
 
 #include <Standard_Boolean.hxx>
 #include <Standard_RangeError.hxx>
-#ifndef _Standard_Stream_HeaderFile
 #include <Standard_Stream.hxx>
-#endif
-#ifndef _Standard_OStream_HeaderFile
 #include <Standard_OStream.hxx>
-#endif
 
 const Handle_Standard_Type& Standard_Boolean_Type_() 
 {
index 15b6baba148fd1354aec7ec29004abe5405ba2ee..7966ed33ba2cc0fa61ce7b1d00b6f13781954342 100644 (file)
 #include <Standard_Character.hxx>
 #include <Standard_Integer.hxx>
 #include <Standard_RangeError.hxx>
-#ifndef _Standard_Stream_HeaderFile
 #include <Standard_Stream.hxx>
-#endif
-#ifndef _Standard_OStream_HeaderFile
 #include <Standard_OStream.hxx>
-#endif
-
 #include <Standard_Type.hxx>
 
 const Handle_Standard_Type& Standard_Character_Type_() 
index 587b59e2211df6b5fb7c11e8360b4bd6de8b1a17..e7c518ed94a6669b70d2ff1462a29615db930cff 100644 (file)
@@ -15,9 +15,7 @@
 #ifndef _Standard_DefineHandle_HeaderFile
 #define _Standard_DefineHandle_HeaderFile
 
-#ifndef _Standard_Macro_HeaderFile
 #include <Standard_Macro.hxx>
-#endif
 
 class Standard_Transient;
 class Standard_Persistent;
index 6aa187d3e69b235702ba88edf68b236c930d2c0f..b47058c6612c9058b1767c54ff0b3b003e56031d 100644 (file)
 #include <Standard_ExtCharacter.hxx>
 #include <Standard_Integer.hxx>
 #include <Standard_RangeError.hxx>
-
 #include <Standard_Type.hxx>
-#ifndef _Standard_Stream_HeaderFile
 #include <Standard_Stream.hxx>
-#endif
-#ifndef _Standard_OStream_HeaderFile
 #include <Standard_OStream.hxx>
-#endif
 
 const Handle_Standard_Type& Standard_ExtCharacter_Type_() 
 {
index d9add9fcebd6b0fd96bfa5606765ba9e6cf9439f..f808fc3305590d4b7d886660b9dcfad5bba36c21 100644 (file)
 #ifndef _Standard_ExtString_HeaderFile
 #define _Standard_ExtString_HeaderFile
 
-
-#ifndef _Standard_TypeDef_HeaderFile
 #include <Standard_TypeDef.hxx>
-#endif
 
 class Handle_Standard_Type;
 
index 0cacd3a402872a8c78401011dc97b7c35a936f9c..a87b03fe385f791ab7f252c0eab068441028338a 100644 (file)
 #ifndef _Standard_IStream_HeaderFile
 #define _Standard_IStream_HeaderFile
 
-#ifndef _Standard_Macro_HeaderFile
 #include <Standard_Macro.hxx>
-#endif
 #include <Standard_Stream.hxx>
 
-
 class Handle_Standard_Type;
 
 __Standard_API const Handle_Standard_Type& Standard_IStream_Type_();
index 2559dd5625e5a0a5549d3960cd7241c89a8c702c..653e31b9ecf1a7fb7f6345585903f7fad068f88b 100644 (file)
 #include <Standard_Integer.hxx>
 #include <Standard_ConstructionError.hxx>
 #include <Standard_RangeError.hxx>
-#ifndef _Standard_Stream_HeaderFile
 #include <Standard_Stream.hxx>
-#endif
-#ifndef _Standard_OStream_HeaderFile
 #include <Standard_OStream.hxx>
-#endif
 
 // ------------------------------------------------------------------
 // CharToInt : Converts a character in an integer value
index 01ba6a08402225551e4225d69031c37feaf19c2d..e0f5df1f2edc0df72a7866c280df5f10d1e8f517 100755 (executable)
 #ifndef _Standard_Integer_HeaderFile
 #define _Standard_Integer_HeaderFile
 
-#ifndef _Standard_TypeDef_HeaderFile
 #include <Standard_TypeDef.hxx>
-#endif
-
-#ifndef _Standard_values_HeaderFile
 # include <Standard_values.h>
-#endif
 
 class Handle_Standard_Type;
 
index 4713cb0cd2690dd201d3c21c290d66f9f9fa36fa..c44688c86871bbd7309675917b3564198eaaa1d5 100644 (file)
 #ifndef _Standard_MMgrOpt_HeaderFile
 #define _Standard_MMgrOpt_HeaderFile
 
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_MMgrRoot_HeaderFile
 #include <Standard_MMgrRoot.hxx>
-#endif
-#ifndef _Standard_Mutex_HeaderFile
 #include <Standard_Mutex.hxx>
-#endif
-#include <Standard_Size.hxx>
 
 /**
 * @brief Open CASCADE memory manager optimized for speed.
@@ -76,7 +59,6 @@
 * blocks is usually less costly than directly by malloc since allocation is made
 * once (when allocating a pool) and overheads induced by malloc are minimized.
 */
-
 class Standard_MMgrOpt : public Standard_MMgrRoot
 {
  public:
@@ -111,13 +93,11 @@ class Standard_MMgrOpt : public Standard_MMgrRoot
   //! Returns number of actually freed blocks
   Standard_EXPORT virtual Standard_Integer Purge(Standard_Boolean isDestroyed);
 
-  //! Declaration of a type pointer to the callback function that
-  //! should accept the following arguments: <br>
-  //! theIsAlloc - true if the data is allocated, false if it is freed; <br>
-  //! theStorage - address of the allocated/freed block <br>
-  //! theRoundSize - the real rounded size of the block <br>
-  //! theSize - the size of the block that was requested by application
-  //!           (this value is correct only if theIsAlloc is true)
+  //! Declaration of a type pointer to the callback function that should accept the following arguments:
+  //! @param theIsAlloc   true if the data is allocated, false if it is freed
+  //! @param theStorage   address of the allocated/freed block
+  //! @param theRoundSize the real rounded size of the block
+  //! @param theSize      the size of the block that was requested by application (this value is correct only if theIsAlloc is true)
   typedef void (*TPCallBackFunc)(const Standard_Boolean theIsAlloc,
                                  const Standard_Address theStorage,
                                  const Standard_Size theRoundSize,
index 946fe4be2238c390fae963b79881606f71564f30..f301372b2d49a3ca35c687cadbe977dc30b84a6b 100644 (file)
 #ifndef _Standard_MMgrRaw_HeaderFile
 #define _Standard_MMgrRaw_HeaderFile
 
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_MMgrRoot_HeaderFile
 #include <Standard_MMgrRoot.hxx>
-#endif
 
 /**
 * Implementation of raw OCC memory manager which uses standard C
index 57e27c028c11462f75f4053a7e791b1be64a32c2..003b7f222d9646d81f461f36f77ac22c875312a8 100644 (file)
 #ifndef _Standard_MMgrRoot_HeaderFile
 #define _Standard_MMgrRoot_HeaderFile
 
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
+#include <Standard_TypeDef.hxx>
 
 /** 
 * Root class for Open CASCADE mmemory managers.
index bd05fb6d66375d0f990bbc1b4a18f933807e2078..3c6ce0854689d110d20a9c2bccae301f61843ebb 100644 (file)
 #ifndef _Standard_MMgrTBBalloc_HeaderFile
 #define _Standard_MMgrTBBalloc_HeaderFile
 
-#ifndef _Standard_Address_HeaderFile
-#include <Standard_Address.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
-#include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_MMgrRoot_HeaderFile
 #include <Standard_MMgrRoot.hxx>
-#endif
 
 //!
 //! Implementation of OCC memory manager which uses Intel TBB
index ca0c0f615e24183720b62f1b69281141ce7e86b8..8efc44dd4a1e3dd9638b926691a2f925cc06660a 100644 (file)
 #ifndef _Standard_OId_HeaderFile
 #define _Standard_OId_HeaderFile
 
-#ifndef _Standard_Integer_HeaderFile
 #include <Standard_Integer.hxx>
-#endif
-
-#ifndef _Standard_OStream_HeaderFile
 #include <Standard_OStream.hxx>
-#endif
 
 class Standard_Persistent;
 typedef Standard_Persistent* Standard_OId;
index c8d7ce100bab241a059637196c22ce420c37d402..056d81cbbfbb5725a8397fd9d24aacb96e82e567 100644 (file)
 #ifndef _Standard_OStream_HeaderFile
 #define _Standard_OStream_HeaderFile
 
-#ifndef _Standard_Macro_HeaderFile
 #include <Standard_TypeDef.hxx>
-#endif
-#ifndef _Standard_Stream_HeaderFile
 #include <Standard_Stream.hxx>
-#endif
 
 class Handle_Standard_Type;
 
index 7e940cc6cf9fb33fd0fb082c1470a59165645408..c9a510845f9af0222160f2121c378784dea9ab1b 100644 (file)
 #ifndef _Standard_Persistent_proto_HeaderFile
 #define _Standard_Persistent_proto_HeaderFile
 
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_DefineAlloc_HeaderFile
-#include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_PrimitiveTypes_HeaderFile
-#include <Standard_PrimitiveTypes.hxx>
-#endif
-#ifndef _Standard_HeaderFile
 #include <Standard.hxx>
-#endif
+#include <Standard_TypeDef.hxx>
+#include <Standard_OStream.hxx>
 
 class Standard_Type;
 class Handle_Standard_Type;
index 2b22908596799b73e048efcfbab89bbe52502487..6e935f636916b164268d6517a71f0dee9e6a227d 100644 (file)
@@ -24,36 +24,17 @@ class Handle_Standard_Type;
 class Handle_Standard_Transient;
 class Standard_Transient;
 
-#ifndef _Standard_Macro_HeaderFile
 #include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
+
 #include <Standard_Boolean.hxx>
-#endif
-#ifndef _Standard_Integer_HeaderFile
 #include <Standard_Integer.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
 #include <Standard_Real.hxx>
-#endif
-#ifndef _Standard_Character_HeaderFile
 #include <Standard_Character.hxx>
-#endif
-#ifndef _Standard_ExtCharacter_HeaderFile
 #include <Standard_ExtCharacter.hxx>
-#endif
-#ifndef _Standard_CString_HeaderFile
 #include <Standard_CString.hxx>
-#endif
-#ifndef _Standard_ExtString_HeaderFile
 #include <Standard_ExtString.hxx>
-#endif
-#ifndef _Standard_Address_HeaderFile
 #include <Standard_Address.hxx>
-#endif
-#ifndef _Standard_Storable_HeaderFile
 #include <Standard_Storable.hxx>
-#endif
 
 __Standard_API Standard_Address ShallowCopy(const Standard_Address, 
                     const Handle_Standard_Type& );
index 7a5dc95571ad28e1997fc60b7412c3868d47ebcd..099365663512bde4ab8bd77ea09797943e15b7c3 100644 (file)
 #include <Standard_RangeError.hxx>
 #include <Standard_NumericError.hxx>
 #include <Standard_NullValue.hxx>
-#ifndef _Standard_Stream_HeaderFile
 #include <Standard_Stream.hxx>
-#endif
-#ifndef _Standard_OStream_HeaderFile
 #include <Standard_OStream.hxx>
-#endif
 
 const Handle_Standard_Type& Standard_Real_Type_() 
 {
index 0521525aaecb0b84a27826f1130f3347017badae..735f5344e804c03819e09867cb1a93f91971c9f3 100644 (file)
 
 #include <float.h>
 #include <math.h>
-#ifndef _Standard_values_HeaderFile
-# include <Standard_values.h>
-#endif
-
-#ifdef WNT
-# include <Standard_math.hxx>
-#endif
-
-#ifndef _Standard_TypeDef_HeaderFile
+#include <Standard_values.h>
+#include <Standard_math.hxx>
 #include <Standard_TypeDef.hxx>
-#endif
 
 class Handle_Standard_Type;
 
index fd91ac47ac569d9faea9a7d9916aeb77b506ddfd..147c0ebecef57cd1ff43897cbca4e76a11743f97 100644 (file)
@@ -17,9 +17,7 @@
 #ifndef _Standard_SStream_HeaderFile
 #define _Standard_SStream_HeaderFile
 
-#ifndef _Standard_Stream_HeaderFile
 #include <Standard_Stream.hxx>
-#endif
 
 #ifdef USE_STL_STREAM
 
index 27af611db7e18980b75b69ad7f90905b533e243f..f6266288521f727b1f8862d0a5a18e7fed003cf9 100644 (file)
 #include <Standard_ShortReal.hxx>
 #include <Standard_RangeError.hxx>
 #include <Standard_NullValue.hxx>
-
-#ifndef _Standard_Stream_HeaderFile
 #include <Standard_Stream.hxx>
-#endif
-#ifndef _Standard_OStream_HeaderFile
 #include <Standard_OStream.hxx>
-#endif
 
 const Handle_Standard_Type& Standard_ShortReal_Type_() 
 {
index 8ec3a41549a2cdc46e0bdb368b7260155d53981c..891f3af36f14466169b993e8bf6588665737819a 100644 (file)
 
 #include <float.h>
 #include <math.h>
-#ifndef _Standard_values_HeaderFile
-# include <Standard_values.h>
-#endif
-
 
-#ifndef _Standard_TypeDef_HeaderFile
+#include <Standard_values.h>
 #include <Standard_TypeDef.hxx>
-#endif
 
 class Handle_Standard_Type;
 
index bce1d9e9ad77f3826fc5303e28c0b76c9fa5e662..0496ebed3f059e4b9a3fade8684265a5aa9b6dbd 100644 (file)
@@ -23,9 +23,7 @@
 #ifndef _Standard_Stream_HeaderFile
 #define _Standard_Stream_HeaderFile
 
-#ifndef _Standard_Macro_HeaderFile
 #include <Standard_Macro.hxx>
-#endif
 
 #ifdef USE_STL_STREAM
 #undef USE_STL_STREAM
index 3c4772c2214bce2ca6f907ddddfbd2f73439708d..2580189450e920070a7613841ffc20c96b892c01 100755 (executable)
@@ -14,9 +14,7 @@
 #ifndef _Standard_Time_HeaderFile
 #define _Standard_Time_HeaderFile
 
-#ifndef _Standard_TypeDef_HeaderFile
 #include <Standard_TypeDef.hxx>
-#endif
 
 class Handle_Standard_Type;
 
index 2d242e9d8ee27ca9d6dafc427c6923570358c9b7..94a7b2c1dab8ee1d7070378e118c585f449dc707 100644 (file)
 #ifndef _Standard_Transient_HeaderFile
 #define _Standard_Transient_HeaderFile
 
-#ifndef _Handle_Standard_Transient_HeaderFile
 #include <Handle_Standard_Transient.hxx>
-#endif
-#ifndef _Standard_PrimitiveTypes_HeaderFile
 #include <Standard_PrimitiveTypes.hxx>
-#endif
-#ifndef _Standard_Transient_proto_HeaderFile
 #include <Standard_Transient_proto.hxx>
-#endif
-#ifndef _Standard_Type_HeaderFile
 #include <Standard_Type.hxx>
-#endif
 
 #endif 
index a437209be46d02d6e27d2e12b53fb3cc2c8f0706..765386fdaf49587ee43fdca062715d6e02f6b7aa 100644 (file)
 #ifndef _Standard_Transient_proto_HeaderFile
 #define _Standard_Transient_proto_HeaderFile
 
-#ifndef _Standard_DefineAlloc_HeaderFile
 #include <Standard_DefineAlloc.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
 #include <Standard_Macro.hxx>
-#endif
-#ifndef _Standard_HeaderFile
 #include <Standard.hxx>
-#endif
 
 class Handle_Standard_Transient;
 class Standard_Type;
index 873d44c7b869e930e578fd5861a6830055cd7e4b..c5792fbc17d7239dacc22543975b0be52007f2ab 100755 (executable)
@@ -52,9 +52,7 @@
 #define Standard_False (Standard_Boolean)0
 #define Standard_True  (Standard_Boolean)1
 
-#ifndef _Standard_Macro_HeaderFile
 #include <Standard_Macro.hxx>
-#endif
 
 typedef int           Standard_Integer;
 typedef double        Standard_Real;
index 1e6080e2b55067e34d5012eec7492b97de182a42..47b4f807baabb3d3642145f96561e3b95a43873d 100644 (file)
 #include <TCollection_BasicMap.hxx>
 
 /**
- *  Optimized Map of integer values. Each block of 32 integers is stored in
- *  8 bytes in memory.
+ * Optimized Map of integer values. Each block of 32 integers is stored in 8 bytes in memory.
  */
-
 class TColStd_PackedMapOfInteger : private TCollection_BasicMap
 {
  public:
@@ -80,25 +78,20 @@ class TColStd_PackedMapOfInteger : private TCollection_BasicMap
 public:
   //!@name Boolean operations with maps as sets of integers
   //!@{
-  
+
   /**
-   * Sets this Map to be the result of union (aka addition, fuse, merge, 
-   * boolean OR) operation between two given Maps.
-   * The new Map contains the values that are contained either in the
-   * first map or in the second map or in both.<br>
-   * All previous contents of this Map is cleared. This map (result of the
-   * boolean operation) can also be passed as one of operands.<br>
+   * Sets this Map to be the result of union (aka addition, fuse, merge, boolean OR) operation between two given Maps.
+   * The new Map contains the values that are contained either in the first map or in the second map or in both.
+   * All previous contents of this Map is cleared. This map (result of the boolean operation) can also be passed as one of operands.
    */
   Standard_EXPORT void Union (const TColStd_PackedMapOfInteger&,
                               const TColStd_PackedMapOfInteger&);
 
   /**
-   * Apply to this Map the boolean operation union (aka addition, fuse, merge,
-   * boolean OR) with another (given) Map.
-   * The result contains the values that were previously contained in
-   * this map or contained in the given (operand) map.<br>
+   * Apply to this Map the boolean operation union (aka addition, fuse, merge, boolean OR) with another (given) Map.
+   * The result contains the values that were previously contained in this map or contained in the given (operand) map.
    * This algorithm is similar to method Union().
-   * Returns True if contents of this map is changed.
+   * @return True if content of this map is changed
    */
   Standard_EXPORT Standard_Boolean Unite (const TColStd_PackedMapOfInteger&);
 
@@ -109,25 +102,19 @@ public:
   { Unite(MM); return *this; }
 
   /**
-   * Sets this Map to be the result of intersection (aka multiplication, common, 
-   * boolean AND) operation between two given Maps.
-   * The new Map contains only the values that are contained in both map
-   * operands.<br>
-   * All previous contents of this Map is cleared. This same map (result of the
-   * boolean operation) can also be used as one of operands.<br>
-   * The order of operands makes no difference; the method minimizes internally
-   * the number of iterations using the smallest map for the loop.
+   * Sets this Map to be the result of intersection (aka multiplication, common, boolean AND) operation between two given Maps.
+   * The new Map contains only the values that are contained in both map operands.
+   * All previous contents of this Map is cleared. This same map (result of the boolean operation) can also be used as one of operands.
+   * The order of operands makes no difference; the method minimizes internally the number of iterations using the smallest map for the loop.
    */
   Standard_EXPORT void Intersection (const TColStd_PackedMapOfInteger&,
                                      const TColStd_PackedMapOfInteger&);
 
   /**
-   * Apply to this Map the intersection operation (aka multiplication, common, 
-   * boolean AND) with another (given) Map.
-   * The result contains only the values that are contained in both this and
-   * the given maps.<br>
+   * Apply to this Map the intersection operation (aka multiplication, common,  boolean AND) with another (given) Map.
+   * The result contains only the values that are contained in both this and the given maps.
    * This algorithm is similar to method Intersection().
-   * Returns True if contents of this map is changed.
+   * @return True if content of this map is changed
    */
   Standard_EXPORT Standard_Boolean Intersect (const TColStd_PackedMapOfInteger&);
 
@@ -138,23 +125,20 @@ public:
   { Intersect(MM); return *this; }
 
   /**
-   * Sets this Map to be the result of subtraction (aka set-theoretic difference, 
-   * relative complement, exclude, cut, boolean NOT) operation between two given Maps.
-   * The new Map contains only the values that are contained in the first map
-   * operands and not contained in the second one.<br>
-   * All previous contents of this Map is cleared. This map (result of the
-   * boolean operation) can also be used as the first operand.<br>
+   * Sets this Map to be the result of subtraction
+   * (aka set-theoretic difference, relative complement, exclude, cut, boolean NOT) operation between two given Maps.
+   * The new Map contains only the values that are contained in the first map operands and not contained in the second one.
+   * All previous contents of this Map is cleared.
+   * This map (result of the boolean operation) can also be used as the first operand.
    */
   Standard_EXPORT void Subtraction (const TColStd_PackedMapOfInteger&,
                                     const TColStd_PackedMapOfInteger&);
 
   /**
-   * Apply to this Map the subtraction (aka set-theoretic difference, relative 
-   * complement, exclude, cut, boolean NOT) operation with another (given) Map.
-   * The result contains only the values that were previously contained in
-   * this map and not contained in this map.<br>
+   * Apply to this Map the subtraction (aka set-theoretic difference, relative complement, exclude, cut, boolean NOT) operation with another (given) Map.
+   * The result contains only the values that were previously contained in this map and not contained in this map.
    * This algorithm is similar to method Subtract() with two operands.
-   * Returns True if contents of this map is changed.
+   * @return True if contents of this map is changed
    */
   Standard_EXPORT Standard_Boolean Subtract (const TColStd_PackedMapOfInteger&);
 
@@ -165,23 +149,19 @@ public:
   { Subtract(MM); return *this; }
 
   /**
-   * Sets this Map to be the result of symmetric difference (aka exclusive 
-   * disjunction, boolean XOR) operation between two given Maps.
-   * The new Map contains the values that are contained only in the 
-   * first or the second operand maps but not in both.<br>
-   * All previous contents of this Map is cleared. This map (result of the
-   * boolean operation) can also be used as one of operands.<br>
+   * Sets this Map to be the result of symmetric difference (aka exclusive disjunction, boolean XOR) operation between two given Maps.
+   * The new Map contains the values that are contained only in the first or the second operand maps but not in both.
+   * All previous contents of this Map is cleared.
+   * This map (result of the boolean operation) can also be used as one of operands.
    */
   Standard_EXPORT void Difference (const TColStd_PackedMapOfInteger&,
                                    const TColStd_PackedMapOfInteger&);
 
   /**
-   * Apply to this Map the symmetric difference (aka exclusive 
-   * disjunction, boolean XOR) operation with another (given) Map.
-   * The result contains the values that are contained only in this
-   * or the operand map, but not in both.<br>
+   * Apply to this Map the symmetric difference (aka exclusive disjunction, boolean XOR) operation with another (given) Map.
+   * The result contains the values that are contained only in this or the operand map, but not in both.
    * This algorithm is similar to method Difference().
-   * Returns True if contents of this map is changed.
+   * @return True if contents of this map is changed
    */
   Standard_EXPORT Standard_Boolean Differ (const TColStd_PackedMapOfInteger&);
 
index dae1020c62dfc7c2ae0252561e02b81173451079..9ba62e353d8d6af75f58cc244758c234a3165c40 100644 (file)
 //Version      Date            Purpose
 //             0.0     Feb 16 1998     Creation
 
-
-#ifndef _TDF_Attribute_HeaderFile
-#include <TDF_Attribute.hxx>
-#endif
-#ifndef _TDF_Label_HeaderFile
-#include <TDF_Label.hxx>
-#endif
-
 #ifndef TDF_AttributeIterator_HeaderFile
 #define TDF_AttributeIterator_HeaderFile
 
-#ifndef _Handle_TDF_Attribute_HeaderFile
 #include <TDF_Attribute.hxx>
-#endif
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-#ifndef _TDF_LabelNodePtr_HeaderFile
+#include <TDF_Label.hxx>
 #include <TDF_LabelNodePtr.hxx>
-#endif
-class TDF_Attribute;
-class TDF_Label;
-
-
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
 
 // This class provides a way to iterates on the
 // up-to-date (current) valid attributes of a label.
index a8c0a1059e0c30670c5acb1a37d53937ba28aaa8..ad24044c7f7140444973d22f14af02acee53f20b 100755 (executable)
@@ -69,13 +69,13 @@ public:
                               Quantity_Parameter& theC,
                               Quantity_Parameter& theD) const;
 
-  //! Returns TRUE when the plane representation is displayed <br>
+  //! Returns TRUE when the plane representation is displayed.
   Standard_EXPORT Standard_Boolean IsDisplayed() const;
 
   //! Use this method to pass clipping plane implementation for
   //! standard clipping workflow.
   //! @return clipping plane implementation handle.
-  Standard_EXPORT const Handle(Graphic3d_ClipPlane)& ClipPlane() const
+  const Handle(Graphic3d_ClipPlane)& ClipPlane() const
   {
     return myPlane;
   }
index ee102a6c7d81de2ece39c57e8c5c5075a960e6c8..f9b8188e5642b9e44644fea72220f0e4be7ae4dd 100755 (executable)
@@ -5,6 +5,3 @@ WNT_WOKUMake.edl
 WNT_Dword.hxx
 WNT_Uint.hxx
 WNT_WindowData.hxx
-WNT_Dword.cxx
-WNT_Uint.cxx
-WNT_WindowData.cxx
diff --git a/src/WNT/WNT_Dword.cxx b/src/WNT/WNT_Dword.cxx
deleted file mode 100644 (file)
index ece729d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// 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 __WNT_Dword_HeaderFile
-# include <WNT_Dword.hxx>
-#endif  // __WNT_Dword_HeaderFile
-
-const Handle( Standard_Type )& STANDARD_TYPE( WNT_Dword ) {
-
- static Handle( Standard_Type ) _aType = new Standard_Type (
-                                              "WNT_Dword", sizeof ( WNT_Dword )
-                                             );
-
- return _aType;
-
-}  // end function
diff --git a/src/WNT/WNT_Uint.cxx b/src/WNT/WNT_Uint.cxx
deleted file mode 100644 (file)
index 1708ec0..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// 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 __WNT_Uint_HeaderFile
-# include <WNT_Uint.hxx>
-#endif  // __WNT_Uint_HeaderFile
-
-const Handle( Standard_Type )& STANDARD_TYPE( WNT_Uint ) {
-
- static Handle( Standard_Type ) _aType = new Standard_Type (
-                                              "WNT_Uint", sizeof ( WNT_Uint )
-                                             );
-
- return _aType;
-
-}  // end function
diff --git a/src/WNT/WNT_WindowData.cxx b/src/WNT/WNT_WindowData.cxx
deleted file mode 100644 (file)
index 8b22a66..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// 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 __WNT_WindowData_HeaderFile
-# include <WNT_WindowData.hxx>
-#endif  // __WNT_WindowData_HeaderFile
-
-const Handle( Standard_Type )& STANDARD_TYPE( WNT_WindowData ) {
-
- static Handle( Standard_Type ) _aType = new Standard_Type (
-                                              "WNT_WindowData",
-                                               sizeof ( WNT_WindowData )
-                                             );
-
- return _aType;
-
-}  // end function