CFx SDK Documentation  2020SP3
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
OdGeCurveCurveInt2d::intPointTol
double intPointTol(int intNum) const
OdGeCurveCurveInt2d::OdGeCurveCurveInt2d
OdGeCurveCurveInt2d(const OdGeCurve2d &curve1, const OdGeCurve2d &curve2, const OdGeTol &tol=OdGeContext::gTol)
tol
tol
Definition: DimVarDefs.h:2287
OdGeCurveCurveInt2d::set
OdGeCurveCurveInt2d & set(const OdGeCurve2d &curve1, const OdGeCurve2d &curve2, const OdGeInterval &range1, const OdGeInterval &range2, const OdGeTol &tol=OdGeContext::gTol)
OdGeCurveCurveInt2d::curve1
const OdGeCurve2d * curve1() const
OdGeCurveCurveInt2d::getPointOnCurve2
void getPointOnCurve2(int intNum, OdGePointOnCurve2d &intPnt) const
OdGeCurveCurveInt2d::curve2
const OdGeCurve2d * curve2() const
OdGeCurveCurveInt2d::getIntParams
void getIntParams(int intNum, double &param1, double &param2) const
OdGeCurve2d
Definition: GeCurve2d.h:53
source
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
OdGeCurveCurveInt2d::tolerance
OdGeTol tolerance() const
OdGePointOnCurve2d
Definition: GePointOnCurve2d.h:48
TD_PackPop.h
OdGeCurveCurveInt2d::isTangential
bool isTangential(int intNum) const
OdGeCurveCurveInt2d
Definition: GeCurveCurveInt2d.h:50
OdGeCurveCurveInt2d::getIntConfigs
void getIntConfigs(int intNum, OdGe::OdGeXConfig &config1wrt2, OdGe::OdGeXConfig &config2wrt1) const
OdGeCurveCurveInt2d::getOverlapRanges
void getOverlapRanges(int overlapNum, OdGeInterval &range1, OdGeInterval &range2) const
GeInterval.h
OdGeCurveCurveInt2d::set
OdGeCurveCurveInt2d & set(const OdGeCurve2d &curve1, const OdGeCurve2d &curve2, const OdGeTol &tol=OdGeContext::gTol)
OdGeEntity2d::operator=
OdGeEntity2d & operator=(const OdGeEntity2d &entity)
OdGeCurveCurveInt2d::overlapDirection
bool overlapDirection() const
OdGeCurveCurveInt2d::orderWrt1
OdGeCurveCurveInt2d & orderWrt1()
OdGeCurveCurveInt2d::orderWrt2
OdGeCurveCurveInt2d & orderWrt2()
OdGeCurveCurveInt2d::overlapCount
int overlapCount() const
OdGeCurveCurveInt2d::getIntRanges
void getIntRanges(OdGeInterval &range1, OdGeInterval &range2) const
OdGeCurveCurveInt2d::OdGeCurveCurveInt2d
OdGeCurveCurveInt2d(const OdGeCurveCurveInt2d &source)
OdGeEntity2d
Definition: GeEntity2d.h:44
OdGeCurveCurveInt2d::intPoint
OdGePoint2d intPoint(int intNum) const
TD_PackPush.h
GePointOnCurve2d.h
OdGe::OdGeXConfig
OdGeXConfig
Definition: Ge.h:184
OdGeCurveCurveInt2d::getPointOnCurve1
void getPointOnCurve1(int intNum, OdGePointOnCurve2d &intPnt) const
GeCurve2d.h
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeInterval
Definition: GeInterval.h:40
OdGeCurveCurveInt2d::numIntPoints
int numIntPoints() const
OdGeTol
Definition: GeTol.h:49
OdGeCurveCurveInt2d::isTransversal
bool isTransversal(int intNum) const
OdGeCurveCurveInt2d::OdGeCurveCurveInt2d
OdGeCurveCurveInt2d()
OdGeCurveCurveInt2d::OdGeCurveCurveInt2d
OdGeCurveCurveInt2d(const OdGeCurve2d &curve1, const OdGeCurve2d &curve2, const OdGeInterval &range1, const OdGeInterval &range2, const OdGeTol &tol=OdGeContext::gTol)
OdGeCurveCurveInt2d::changeCurveOrder
void changeCurveOrder()
OdGePoint2d
Definition: GePoint2d.h:60