CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GeCurveCurveInt2d.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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
51{
52public:
53
60
69 const OdGeCurve2d& curve1,
70 const OdGeCurve2d& curve2,
72
87 const OdGeCurve2d& curve1,
88 const OdGeCurve2d& curve2,
89 const OdGeInterval& range1,
90 const OdGeInterval& range2,
92
100
101 // General query functions.
102 //
103
110 const OdGeCurve2d* curve1() const;
111
118 const OdGeCurve2d* curve2() const;
119
127 OdGeInterval& range1,
128 OdGeInterval& range2) const;
129
137
138 // Intersection query methods.
139 //
140
148 int numIntPoints() const;
149
159 int intNum) const;
160
169 int intNum,
170 double& param1,
171 double& param2) const;
172
181 int intNum,
182 OdGePointOnCurve2d& intPnt) const;
183
192 int intNum,
193 OdGePointOnCurve2d& intPnt) const;
194
226 int intNum,
227 OdGe::OdGeXConfig& config1wrt2,
228 OdGe::OdGeXConfig& config2wrt1) const;
229
243 int intNum) const;
244
258 int intNum) const;
259
269 int intNum) const;
270
277 int overlapCount() const;
278
292 bool overlapDirection() const;
293
302 int overlapNum,
303 OdGeInterval& range1,
304 OdGeInterval& range2) const;
305
310
319
328
340 const OdGeCurve2d& curve1,
341 const OdGeCurve2d& curve2,
342 const OdGeTol& tol = OdGeContext::gTol);
343
357 const OdGeCurve2d& curve1,
358 const OdGeCurve2d& curve2,
359 const OdGeInterval& range1,
360 const OdGeInterval& range2,
361 const OdGeTol& tol = OdGeContext::gTol);
362
372 const OdGeCurveCurveInt2d& crvCrvInt);
373
375};
376
377#include "TD_PackPop.h"
378
379#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
OdGeCurveCurveInt2d & orderWrt2()
int overlapCount() const
void getIntParams(int intNum, double &param1, double &param2) const
double intPointTol(int intNum) const
void getIntRanges(OdGeInterval &range1, OdGeInterval &range2) const
OdGeCurveCurveInt2d & orderWrt1()
OdGePoint2d intPoint(int intNum) const
OdGeTol tolerance() const
void getIntConfigs(int intNum, OdGe::OdGeXConfig &config1wrt2, OdGe::OdGeXConfig &config2wrt1) const
bool overlapDirection() const
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 & set(const OdGeCurve2d &curve1, const OdGeCurve2d &curve2, const OdGeTol &tol=OdGeContext::gTol)
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)
const OdGeCurve2d * curve1() const
const OdGeCurve2d * curve2() const
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:65
OdGeXConfig
Definition: Ge.h:330