gegblabb.h 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2015 Autodesk, Inc. All rights reserved.
  4. //
  5. // Use of this software is subject to the terms of the Autodesk license
  6. // agreement provided at the time of installation or download, or which
  7. // otherwise accompanies this software in either electronic or hard copy form.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. //
  11. // DESCRIPTION:
  12. //
  13. // Using the fully qualified names from the `AcGe' struct can be
  14. // cumbersome. If there are no global name conflicts use the
  15. // following synonyms for convenience.
  16. //
  17. // Note: All interface descriptions must use fully qualified names.
  18. // That is, header files MUST NOT include this file and MUST
  19. // NOT use these abbreviations.
  20. //
  21. // Note: If any of the following abbreviations cause conflicts and
  22. // this file cannot be included, then the acceptable abbreviations
  23. // (those that do not cause conflicts) will have to be manually
  24. // introduced, or another abbreviation header file will have to
  25. // be created containing only the acceptable abbreviations.
  26. //
  27. // Note: When this file is included in a source file, it MUST BE
  28. // included AFTER all other include files (except possibly
  29. // other abbreviation include files).
  30. // For example:
  31. // #include "foo.h"
  32. // #include "bar.h"
  33. // #include "gegblabb.h" // <- Must be last!
  34. #ifndef AC_GEGBLABB_H
  35. #define AC_GEGBLABB_H
  36. #include "gegbl.h"
  37. const int eGood = AcGe::eGood;
  38. const int eBad = AcGe::eBad;
  39. typedef AcGe::EntityId EntityId;
  40. const AcGe::EntityId kEntity2d = AcGe::kEntity2d;
  41. const AcGe::EntityId kEntity3d = AcGe::kEntity3d;
  42. const AcGe::EntityId kPointEnt2d = AcGe::kPointEnt2d;
  43. const AcGe::EntityId kPointEnt3d = AcGe::kPointEnt3d;
  44. const AcGe::EntityId kPosition2d = AcGe::kPosition2d;
  45. const AcGe::EntityId kPosition3d = AcGe::kPosition3d;
  46. const AcGe::EntityId kPointOnCurve2d = AcGe::kPointOnCurve2d;
  47. const AcGe::EntityId kPointOnCurve3d = AcGe::kPointOnCurve3d;
  48. const AcGe::EntityId kBoundedPlane = AcGe::kBoundedPlane;
  49. const AcGe::EntityId kCircArc2d = AcGe::kCircArc2d;
  50. const AcGe::EntityId kCircArc3d = AcGe::kCircArc3d;
  51. const AcGe::EntityId kConic2d = AcGe::kConic2d;
  52. const AcGe::EntityId kConic3d = AcGe::kConic3d;
  53. const AcGe::EntityId kCurve2d = AcGe::kCurve2d;
  54. const AcGe::EntityId kCurve3d = AcGe::kCurve3d;
  55. const AcGe::EntityId kEllipArc2d = AcGe::kEllipArc2d;
  56. const AcGe::EntityId kEllipArc3d = AcGe::kEllipArc3d;
  57. const AcGe::EntityId kHelix = AcGe::kHelix;
  58. const AcGe::EntityId kLine2d = AcGe::kLine2d;
  59. const AcGe::EntityId kLine3d = AcGe::kLine3d;
  60. const AcGe::EntityId kLinearEnt2d = AcGe::kLinearEnt2d;
  61. const AcGe::EntityId kLinearEnt3d = AcGe::kLinearEnt3d;
  62. const AcGe::EntityId kLineSeg2d = AcGe::kLineSeg2d;
  63. const AcGe::EntityId kLineSeg3d = AcGe::kLineSeg3d;
  64. const AcGe::EntityId kPlanarEnt = AcGe::kPlanarEnt;
  65. const AcGe::EntityId kExternalCurve3d = AcGe::kExternalCurve3d;
  66. const AcGe::EntityId kExternalCurve2d = AcGe::kExternalCurve2d;
  67. const AcGe::EntityId kPlane = AcGe::kPlane;
  68. const AcGe::EntityId kRay2d = AcGe::kRay2d;
  69. const AcGe::EntityId kRay3d = AcGe::kRay3d;
  70. const AcGe::EntityId kSurface = AcGe::kSurface;
  71. const AcGe::EntityId kSphere = AcGe::kSphere;
  72. const AcGe::EntityId kCone = AcGe::kCone;
  73. const AcGe::EntityId kTorus = AcGe::kTorus;
  74. const AcGe::EntityId kCylinder = AcGe::kCylinder;
  75. const AcGe::EntityId kSplineEnt2d = AcGe::kSplineEnt2d;
  76. const AcGe::EntityId kSurfaceCurve2dTo3d = AcGe::kSurfaceCurve2dTo3d;
  77. const AcGe::EntityId kSurfaceCurve3dTo2d = AcGe::kSurfaceCurve3dTo2d;
  78. const AcGe::EntityId kPolyline2d = AcGe::kPolyline2d;
  79. const AcGe::EntityId kAugPolyline2d = AcGe::kAugPolyline2d;
  80. const AcGe::EntityId kNurbCurve2d = AcGe::kNurbCurve2d;
  81. const AcGe::EntityId kDSpline2d = AcGe::kDSpline2d;
  82. const AcGe::EntityId kCubicSplineCurve2d = AcGe::kCubicSplineCurve2d;
  83. const AcGe::EntityId kSplineEnt3d = AcGe::kSplineEnt3d;
  84. const AcGe::EntityId kPolyline3d = AcGe::kPolyline3d;
  85. const AcGe::EntityId kAugPolyline3d = AcGe::kAugPolyline3d;
  86. const AcGe::EntityId kNurbCurve3d = AcGe::kNurbCurve3d;
  87. const AcGe::EntityId kDSpline3d = AcGe::kDSpline3d;
  88. const AcGe::EntityId kCubicSplineCurve3d = AcGe::kCubicSplineCurve3d;
  89. const AcGe::EntityId kTrimmedCrv2d = AcGe::kTrimmedCrv2d;
  90. const AcGe::EntityId kCompositeCrv2d = AcGe::kCompositeCrv2d;
  91. const AcGe::EntityId kCompositeCrv3d = AcGe::kCompositeCrv3d;
  92. const AcGe::EntityId kEnvelope2d = AcGe::kEnvelope2d;
  93. const AcGe::EntityId kExternalSurface = AcGe::kExternalSurface;
  94. const AcGe::EntityId kNurbSurface = AcGe::kNurbSurface;
  95. const AcGe::EntityId kOffsetSurface = AcGe::kOffsetSurface;
  96. const AcGe::EntityId kTrimmedSurface = AcGe::kTrimmedSurface;
  97. const AcGe::EntityId kCurveBoundedSurface = AcGe::kCurveBoundedSurface;
  98. const AcGe::EntityId kPointOnSurface = AcGe::kPointOnSurface;
  99. const AcGe::EntityId kExternalBoundedSurface = AcGe::kExternalBoundedSurface;
  100. const AcGe::EntityId kCurveCurveInt2d = AcGe::kCurveCurveInt2d;
  101. const AcGe::EntityId kCurveCurveInt3d = AcGe::kCurveCurveInt3d;
  102. const AcGe::EntityId kBoundBlock2d = AcGe::kBoundBlock2d;
  103. const AcGe::EntityId kBoundBlock3d = AcGe::kBoundBlock3d;
  104. const AcGe::EntityId kOffsetCurve2d = AcGe::kOffsetCurve2d;
  105. const AcGe::EntityId kOffsetCurve3d = AcGe::kOffsetCurve3d;
  106. const AcGe::EntityId kPolynomCurve3d = AcGe::kPolynomCurve3d;
  107. const AcGe::EntityId kBezierCurve3d = AcGe::kBezierCurve3d;
  108. const AcGe::EntityId kObject = AcGe::kObject;
  109. const AcGe::EntityId kFitData3d = AcGe::kFitData3d;
  110. const AcGe::EntityId kHatch = AcGe::kHatch;
  111. const AcGe::EntityId kTrimmedCurve2d = AcGe::kTrimmedCurve2d;
  112. const AcGe::EntityId kTrimmedCurve3d = AcGe::kTrimmedCurve3d;
  113. const AcGe::EntityId kCurveSampleData = AcGe::kCurveSampleData;
  114. const AcGe::EntityId kEllipCone = AcGe::kEllipCone;
  115. const AcGe::EntityId kEllipCylinder = AcGe::kEllipCylinder;
  116. const AcGe::EntityId kIntervalBoundBlock = AcGe::kIntervalBoundBlock;
  117. const AcGe::EntityId kClipBoundary2d = AcGe::kClipBoundary2d;
  118. const AcGe::EntityId kExternalObject = AcGe::kExternalObject;
  119. const AcGe::EntityId kCurveSurfaceInt = AcGe::kCurveSurfaceInt;
  120. const AcGe::EntityId kSurfaceSurfaceInt = AcGe::kSurfaceSurfaceInt;
  121. typedef AcGe::ExternalEntityKind ExternalEntityKind;
  122. const AcGe::ExternalEntityKind kAcisEntity = AcGe::kAcisEntity;
  123. const AcGe::ExternalEntityKind kExternalEntityUndefined
  124. = AcGe::kExternalEntityUndefined;
  125. typedef AcGe::NurbSurfaceProperties NurbSurfaceProperties;
  126. const AcGe::NurbSurfaceProperties kOpen = AcGe::kOpen;
  127. const AcGe::NurbSurfaceProperties kClosed = AcGe::kClosed;
  128. const AcGe::NurbSurfaceProperties kPeriodic = AcGe::kPeriodic;
  129. const AcGe::NurbSurfaceProperties kRational = AcGe::kRational;
  130. const AcGe::NurbSurfaceProperties kNoPoles= AcGe::kNoPoles;
  131. const AcGe::NurbSurfaceProperties kPoleAtMin = AcGe::kPoleAtMin;
  132. const AcGe::NurbSurfaceProperties kPoleAtMax = AcGe::kPoleAtMax;
  133. const AcGe::NurbSurfaceProperties kPoleAtBoth = AcGe::kPoleAtBoth;
  134. typedef AcGe::PointContainment PointContainment;
  135. const AcGe::PointContainment kInside = AcGe::kInside;
  136. const AcGe::PointContainment kOutside = AcGe::kOutside;
  137. const AcGe::PointContainment kOnBoundary = AcGe::kOnBoundary;
  138. typedef AcGe::AcGeXConfig AcGeXConfig;
  139. const AcGe::AcGeXConfig kNotDefined = AcGe::kNotDefined;
  140. const AcGe::AcGeXConfig kUnknown = AcGe::kUnknown;
  141. const AcGe::AcGeXConfig kLeftRight = AcGe::kLeftRight;
  142. const AcGe::AcGeXConfig kRightLeft = AcGe::kRightLeft;
  143. const AcGe::AcGeXConfig kLeftLeft = AcGe::kLeftLeft;
  144. const AcGe::AcGeXConfig kRightRight = AcGe::kRightRight;
  145. const AcGe::AcGeXConfig kPointLeft = AcGe::kPointLeft;
  146. const AcGe::AcGeXConfig kPointRight = AcGe::kPointRight;
  147. const AcGe::AcGeXConfig kLeftOverlap = AcGe::kLeftOverlap;
  148. const AcGe::AcGeXConfig kOverlapLeft = AcGe::kOverlapLeft;
  149. const AcGe::AcGeXConfig kRightOverlap = AcGe::kRightOverlap;
  150. const AcGe::AcGeXConfig kOverlapRight = AcGe::kOverlapRight;
  151. const AcGe::AcGeXConfig kOverlapStart = AcGe::kOverlapStart;
  152. const AcGe::AcGeXConfig kOverlapEnd = AcGe::kOverlapEnd;
  153. const AcGe::AcGeXConfig kOverlapOverlap = AcGe::kOverlapOverlap;
  154. typedef AcGe::ErrorCondition AcGeError;
  155. const AcGe::ErrorCondition kOk = AcGe::kOk;
  156. const AcGe::ErrorCondition k0This = AcGe::k0This;
  157. const AcGe::ErrorCondition k0Arg1 = AcGe::k0Arg1;
  158. const AcGe::ErrorCondition k0Arg2 = AcGe::k0Arg2;
  159. const AcGe::ErrorCondition kPerpendicularArg1Arg2 = AcGe::kPerpendicularArg1Arg2;
  160. const AcGe::ErrorCondition kEqualArg1Arg2 = AcGe::kEqualArg1Arg2;
  161. const AcGe::ErrorCondition kEqualArg1Arg3 = AcGe::kEqualArg1Arg3;
  162. const AcGe::ErrorCondition kEqualArg2Arg3 = AcGe::kEqualArg2Arg3;
  163. const AcGe::ErrorCondition kLinearlyDependentArg1Arg2Arg3 = AcGe::kLinearlyDependentArg1Arg2Arg3;
  164. const AcGe::ErrorCondition kArg1TooBig = AcGe::kArg1TooBig;
  165. const AcGe::ErrorCondition kArg1OnThis = AcGe::kArg1OnThis;
  166. const AcGe::ErrorCondition kArg1InsideThis = AcGe::kArg1InsideThis;
  167. typedef AcGe::AcGeIntersectError AcGeIntersectError;
  168. const AcGe::AcGeIntersectError kXXOk = AcGe::kXXOk;
  169. const AcGe::AcGeIntersectError kXXIndexOutOfRange = AcGe::kXXIndexOutOfRange;
  170. const AcGe::AcGeIntersectError kXXWrongDimensionAtIndex = AcGe::kXXWrongDimensionAtIndex;
  171. const AcGe::AcGeIntersectError kXXUnknown = AcGe::kXXUnknown;
  172. typedef AcGe::KnotParameterization KnotParameterization;
  173. const AcGe::KnotParameterization kChord = AcGe::kChord;
  174. const AcGe::KnotParameterization kSqrtChord = AcGe::kSqrtChord;
  175. const AcGe::KnotParameterization kUniform = AcGe::kUniform;
  176. const AcGe::KnotParameterization kCustomParameterization = AcGe::kCustomParameterization;
  177. const AcGe::KnotParameterization kNotDefinedKnotParam = AcGe::kNotDefinedKnotParam;
  178. #endif