CFx SDK Documentation  2023 SP0
GeCurveCurveInt2d.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef OD_GE_CURVE_CURVE_INT_2D_H
25 #define OD_GE_CURVE_CURVE_INT_2D_H
27 #include "Ge/GeEntity2d.h"
28 #include "Ge/GeInterval.h"
29 #include "Ge/GeCurve2d.h"
30 #include "Ge/GePointOnCurve2d.h"
31 
32 #include "TD_PackPush.h"
33 
50 {
51 public:
52 
53 
69  const OdGeCurve2d& curve1,
70  const OdGeCurve2d& curve2,
71  const OdGeTol& tol = OdGeContext::gTol);
73  const OdGeCurve2d& curve1,
74  const OdGeCurve2d& curve2,
75  const OdGeInterval& range1,
76  const OdGeInterval& range2,
77  const OdGeTol& tol = OdGeContext::gTol);
80 
81  // General query functions.
82  //
83 
90  const OdGeCurve2d *curve1() const;
91 
98  const OdGeCurve2d *curve2() const;
99 
110  OdGeInterval& range1,
111  OdGeInterval& range2) const;
112 
120 
121  // Intersection query methods.
122  //
123 
130  int numIntPoints() const;
131 
141  int intNum) const;
142 
154  int intNum,
155  double& param1,
156  double& param2) const;
157 
168  int intNum,
169  OdGePointOnCurve2d& intPnt) const;
170 
181  int intNum,
182  OdGePointOnCurve2d& intPnt) const;
183 
216  int intNum,
217  OdGe::OdGeXConfig& config1wrt2,
218  OdGe::OdGeXConfig& config2wrt1) const;
219 
229  int intNum) const;
230 
240  int intNum) const;
241 
250  double intPointTol(
251  int intNum) const;
252 
259  int overlapCount() const;
260 
271  bool overlapDirection() const;
272 
284  int overlapNum,
285  OdGeInterval& range1,
286  OdGeInterval& range2) const;
287 
295 
304 
313 
326  const OdGeCurve2d& curve1,
327  const OdGeCurve2d& curve2,
328  const OdGeTol& tol = OdGeContext::gTol);
329 
344  const OdGeCurve2d& curve1,
345  const OdGeCurve2d& curve2,
346  const OdGeInterval& range1,
347  const OdGeInterval& range2,
348  const OdGeTol& tol = OdGeContext::gTol);
349 
358  const OdGeCurveCurveInt2d& crvCrvInt);
359 
361 };
362 
363 #include "TD_PackPop.h"
364 
365 #endif // OD_GE_CURVE_CURVE_INT_2D_H
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
void getPointOnCurve1(int intNum, OdGePointOnCurve2d &intPnt) const
int overlapCount() const
void getIntParams(int intNum, double &param1, double &param2) const
double intPointTol(int intNum) const
const OdGeCurve2d * curve1() const
void getIntRanges(OdGeInterval &range1, OdGeInterval &range2) const
OdGeCurveCurveInt2d & orderWrt2()
const OdGeCurve2d * curve2() const
OdGePoint2d intPoint(int intNum) const
OdGeCurveCurveInt2d & set(const OdGeCurve2d &curve1, const OdGeCurve2d &curve2, const OdGeTol &tol=OdGeContext::gTol)
OdGeTol tolerance() const
void getIntConfigs(int intNum, OdGe::OdGeXConfig &config1wrt2, OdGe::OdGeXConfig &config2wrt1) const
bool overlapDirection() const
OdGeCurveCurveInt2d & orderWrt1()
OdGeCurveCurveInt2d & set(const OdGeCurve2d &curve1, const OdGeCurve2d &curve2, const OdGeInterval &range1, const OdGeInterval &range2, const OdGeTol &tol=OdGeContext::gTol)
void getPointOnCurve2(int intNum, OdGePointOnCurve2d &intPnt) const
OdGeCurveCurveInt2d(const OdGeCurve2d &curve1, const OdGeCurve2d &curve2, const OdGeTol &tol=OdGeContext::gTol)
bool isTangential(int intNum) const
OdGeCurveCurveInt2d(const OdGeCurve2d &curve1, const OdGeCurve2d &curve2, const OdGeInterval &range1, const OdGeInterval &range2, const OdGeTol &tol=OdGeContext::gTol)
OdGeCurveCurveInt2d(const OdGeCurveCurveInt2d &source)
int numIntPoints() const
void getOverlapRanges(int overlapNum, OdGeInterval &range1, OdGeInterval &range2) const
bool isTransversal(int intNum) const
OdGeEntity2d & operator=(const OdGeEntity2d &entity)
Definition: GeTol.h:49
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60
OdGeXConfig
Definition: Ge.h:185