CFx SDK Documentation  2023 SP0
GeLinearEnt3d.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_GELENT3D_H
25 #define OD_GELENT3D_H
27 class OdGeLine3d;
28 class OdGeCircArc3d;
29 class OdGePlanarEnt;
30 
31 #include "OdPlatform.h"
32 #include "Ge/GeCurve3d.h"
33 
34 #include "TD_PackPush.h"
35 
44 {
45 public:
46 
48 
58  const OdGeLinearEnt3d& line,
59  OdGePoint3d& intPt,
60  const OdGeTol& tol = OdGeContext::gTol) const;
61 
71  const OdGePlanarEnt& plane,
72  OdGePoint3d& intPnt,
73  const OdGeTol& tol = OdGeContext::gTol) const;
74 
88  const OdGeLinearEnt3d& line,
89  const OdGeVector3d& projDir,
90  OdGePoint3d& pntOnThisLine,
91  OdGePoint3d& pntOnOtherLine,
92  const OdGeTol& tol = OdGeContext::gTol) const;
93 
102  bool overlap(
103  const OdGeLinearEnt3d& line,
104  OdGeLinearEnt3d*& overlap,
105  const OdGeTol& tol = OdGeContext::gTol) const;
106 
108  bool isOn(
109  const OdGePlane& plane,
110  const OdGeTol& tol = OdGeContext::gTol) const;
111 
120  const OdGeLinearEnt3d& line,
121  const OdGeTol& tol = OdGeContext::gTol) const;
122 
131  const OdGePlanarEnt& plane,
132  const OdGeTol& tol = OdGeContext::gTol) const;
133 
142  const OdGeLinearEnt3d& line,
143  const OdGeTol& tol = OdGeContext::gTol) const;
144 
153  const OdGePlanarEnt& plane,
154  const OdGeTol& tol = OdGeContext::gTol) const;
155 
163  const OdGeLinearEnt3d& line,
164  const OdGeTol& tol = OdGeContext::gTol) const;
165 
176  const OdGePoint3d& point,
177  OdGePlane& plane) const;
178 
183 
189 
195  void getLine(OdGeLine3d& line) const;
196 
198  const OdGeLinearEnt3d& line);
199 protected:
202  const OdGeLinearEnt3d& source);
203 };
204 
205 #include "TD_PackPop.h"
206 
207 #endif // OD_GELENT3D_H
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeCurve3d & operator=(const OdGeCurve3d &curve)
bool isOn(const OdGePoint3d &point, double &param, const OdGeTol &tol=OdGeContext::gTol) const
OdGeLinearEnt3d(const OdGeLinearEnt3d &source)
void getLine(OdGeLine3d &line) const
bool projIntersectWith(const OdGeLinearEnt3d &line, const OdGeVector3d &projDir, OdGePoint3d &pntOnThisLine, OdGePoint3d &pntOnOtherLine, const OdGeTol &tol=OdGeContext::gTol) const
bool isOn(const OdGePlane &plane, const OdGeTol &tol=OdGeContext::gTol) const
bool isColinearTo(const OdGeLinearEnt3d &line, const OdGeTol &tol=OdGeContext::gTol) const
bool intersectWith(const OdGeLinearEnt3d &line, OdGePoint3d &intPt, const OdGeTol &tol=OdGeContext::gTol) const
bool isParallelTo(const OdGeLinearEnt3d &line, const OdGeTol &tol=OdGeContext::gTol) const
bool intersectWith(const OdGePlanarEnt &plane, OdGePoint3d &intPnt, const OdGeTol &tol=OdGeContext::gTol) const
bool isPerpendicularTo(const OdGeLinearEnt3d &line, const OdGeTol &tol=OdGeContext::gTol) const
void getPerpPlane(const OdGePoint3d &point, OdGePlane &plane) const
bool isParallelTo(const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
bool isPerpendicularTo(const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d direction() const
bool overlap(const OdGeLinearEnt3d &line, OdGeLinearEnt3d *&overlap, const OdGeTol &tol=OdGeContext::gTol) const
TD_USING(OdGeCurve3d::isOn)
OdGePoint3d pointOnLine() const
Definition: GeTol.h:49
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60