CFx SDK Documentation  2022 SP0
GeCurveCurveInt3d.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_GECINT3D_H
25 #define OD_GECINT3D_H
27 #include "Ge/GeEntity3d.h"
28 #include "Ge/GeInterval.h"
29 
30 #include "TD_PackPush.h"
31 
32 class OdGeCurve3d;
33 class OdGeInterval;
34 class OdGePointOnCurve3d;
35 
52 {
53 public:
54 
55 
73  const OdGeCurve3d& curve1,
74  const OdGeCurve3d& curve2,
75  const OdGeVector3d& planeNormal = OdGeVector3d::kIdentity,
76  const OdGeTol& tol = OdGeContext::gTol);
78  const OdGeCurve3d& curve1,
79  const OdGeCurve3d& curve2,
80  const OdGeInterval& range1,
81  const OdGeInterval& range2,
82  const OdGeVector3d& planeNormal = OdGeVector3d::kIdentity,
83  const OdGeTol& tol = OdGeContext::gTol);
86 
93  const OdGeCurve3d *curve1() const;
94 
101  const OdGeCurve3d *curve2() const;
102 
113  OdGeInterval& range1,
114  OdGeInterval& range2) const;
115 
123 
131 
138  int numIntPoints() const;
139 
149  int intNum) const;
150 
162  int intNum,
163  double& param1,
164  double& param2) const;
165 
176  int intNum,
177  OdGePointOnCurve3d& intPnt) const;
178 
189  int intNum,
190  OdGePointOnCurve3d& intPnt) const;
191 
226  int intNum,
227  OdGe::OdGeXConfig& config1wrt2,
228  OdGe::OdGeXConfig& config2wrt1) const;
229 
239  int intNum) const;
240 
250  int intNum) const;
251 
260  double intPointTol(
261  int intNum) const;
262 
269  int overlapCount() const;
270 
281  bool overlapDirection() const;
282 
294  int overlapNum,
295  OdGeInterval& range1,
296  OdGeInterval& range2) const;
297 
305 
314 
323 
341  const OdGeCurve3d& curve1,
342  const OdGeCurve3d& curve2,
343  const OdGeVector3d& planeNormal = OdGeVector3d::kIdentity,
344  const OdGeTol& tol = OdGeContext::gTol);
345 
365  const OdGeCurve3d& curve1,
366  const OdGeCurve3d& curve2,
367  const OdGeInterval& range1,
368  const OdGeInterval& range2,
369  const OdGeVector3d& planeNormal = OdGeVector3d::kIdentity,
370  const OdGeTol& tol = OdGeContext::gTol);
371 
373  const OdGeCurveCurveInt3d& crvCrvInt);
374 
376 
377 };
378 
379 #include "TD_PackPop.h"
380 
381 #endif // OD_GECINT3D_H
382 
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeCurveCurveInt3d & orderWrt1()
void getIntParams(int intNum, double &param1, double &param2) const
bool overlapDirection() const
int overlapCount() const
OdGePoint3d intPoint(int intNum) const
OdGeCurveCurveInt3d(const OdGeCurve3d &curve1, const OdGeCurve3d &curve2, const OdGeVector3d &planeNormal=OdGeVector3d::kIdentity, const OdGeTol &tol=OdGeContext::gTol)
int numIntPoints() const
OdGeVector3d planeNormal() const
bool isTangential(int intNum) const
void getPointOnCurve2(int intNum, OdGePointOnCurve3d &intPnt) const
const OdGeCurve3d * curve1() const
const OdGeCurve3d * curve2() const
void getIntConfigs(int intNum, OdGe::OdGeXConfig &config1wrt2, OdGe::OdGeXConfig &config2wrt1) const
OdGeCurveCurveInt3d(const OdGeCurve3d &curve1, const OdGeCurve3d &curve2, const OdGeInterval &range1, const OdGeInterval &range2, const OdGeVector3d &planeNormal=OdGeVector3d::kIdentity, const OdGeTol &tol=OdGeContext::gTol)
OdGeCurveCurveInt3d & set(const OdGeCurve3d &curve1, const OdGeCurve3d &curve2, const OdGeInterval &range1, const OdGeInterval &range2, const OdGeVector3d &planeNormal=OdGeVector3d::kIdentity, const OdGeTol &tol=OdGeContext::gTol)
OdGeCurveCurveInt3d & orderWrt2()
bool isTransversal(int intNum) const
OdGeTol tolerance() const
void getOverlapRanges(int overlapNum, OdGeInterval &range1, OdGeInterval &range2) const
void getPointOnCurve1(int intNum, OdGePointOnCurve3d &intPnt) const
OdGeCurveCurveInt3d(const OdGeCurveCurveInt3d &source)
OdGeCurveCurveInt3d & set(const OdGeCurve3d &curve1, const OdGeCurve3d &curve2, const OdGeVector3d &planeNormal=OdGeVector3d::kIdentity, const OdGeTol &tol=OdGeContext::gTol)
double intPointTol(int intNum) const
void getIntRanges(OdGeInterval &range1, OdGeInterval &range2) const
OdGeEntity3d & operator=(const OdGeEntity3d &entity)
Definition: GeTol.h:49
static GE_STATIC_EXPORT const OdGeVector3d kIdentity
Definition: GeVector3d.h:88
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60
OdGeXConfig
Definition: Ge.h:184