CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GeCurveCurveInt2d.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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
26
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:
54
61
70 const OdGeCurve2d& curve1,
71 const OdGeCurve2d& curve2,
73
88 const OdGeCurve2d& curve1,
89 const OdGeCurve2d& curve2,
90 const OdGeInterval& range1,
91 const OdGeInterval& range2,
93
101
102 // General query functions.
103 //
104
111 const OdGeCurve2d* curve1() const;
112
119 const OdGeCurve2d* curve2() const;
120
128 OdGeInterval& range1,
129 OdGeInterval& range2) const;
130
138
139 // Intersection query methods.
140 //
141
149 int numIntPoints() const;
150
160 int intNum) const;
161
170 int intNum,
171 double& param1,
172 double& param2) const;
173
182 int intNum,
183 OdGePointOnCurve2d& intPnt) const;
184
193 int intNum,
194 OdGePointOnCurve2d& intPnt) const;
195
227 int intNum,
228 OdGe::OdGeXConfig& config1wrt2,
229 OdGe::OdGeXConfig& config2wrt1) const;
230
244 int intNum) const;
245
259 int intNum) const;
260
270 int intNum) const;
271
278 int overlapCount() const;
279
289 bool overlapDirection(int overlapNum) const;
290
299 int overlapNum,
300 OdGeInterval& range1,
301 OdGeInterval& range2) const;
302
307
316
325
337 const OdGeCurve2d& curve1,
338 const OdGeCurve2d& curve2,
339 const OdGeTol& tol = OdGeContext::gTol);
340
354 const OdGeCurve2d& curve1,
355 const OdGeCurve2d& curve2,
356 const OdGeInterval& range1,
357 const OdGeInterval& range2,
358 const OdGeTol& tol = OdGeContext::gTol);
359
369 const OdGeCurveCurveInt2d& crvCrvInt);
370
372};
373
374#include "TD_PackPop.h"
375
376#endif // OD_GE_CURVE_CURVE_INT_2D_H
tol
#define GE_TOOLKIT_EXPORT
Definition GeExport.h:35
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
OdGeCurveCurveInt2d & set(const OdGeCurve2d &curve1, const OdGeCurve2d &curve2, const OdGeInterval &range1, const OdGeInterval &range2, const OdGeTol &tol=OdGeContext::gTol)
GE_OPERATORS_OVERRIDE_2D(OdGeCurveCurveInt2d)
void getPointOnCurve2(int intNum, OdGePointOnCurve2d &intPnt) const
bool overlapDirection(int overlapNum) 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)
GLsizei GLsizei GLchar * source
Definition gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition GeGbl.h:67
OdGeXConfig
Definition Ge.h:332