CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GePlanarEnt.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_GEPLANAR_H
25#define OD_GEPLANAR_H
27#include "Ge/GeSurface.h"
28#include "Ge/GeInterval.h"
29#include "OdPlatformSettings.h"
30
31class OdGeLinearEnt3d;
32
33#include "TD_PackPush.h"
34
68{
69public:
78 const OdGePoint3d& point,
79 const OdGeTol& tol = OdGeContext::gTol) const;
80
90 const OdGeLinearEnt3d& line,
91 OdGePoint3d& point,
92 const OdGeTol& tol = OdGeContext::gTol) const;
93
103 const OdGeLinearEnt3d& line,
104 OdGePoint3d& pointOnLine,
105 const OdGeTol& tol = OdGeContext::gTol) const;
106
116 const OdGePlanarEnt& plane,
117 OdGePoint3d& pointOnOtherPlane,
118 const OdGeTol& tol = OdGeContext::gTol) const;
119
127 const OdGeLinearEnt3d& line,
128 const OdGeTol& tol = OdGeContext::gTol) const;
129
137 const OdGePlanarEnt& plane,
138 const OdGeTol& tol = OdGeContext::gTol) const;
139
147 const OdGeLinearEnt3d& line,
148 const OdGeTol& tol = OdGeContext::gTol) const;
149
157 const OdGePlanarEnt& plane,
158 const OdGeTol& tol = OdGeContext::gTol) const;
159
168 const OdGePlanarEnt& plane,
169 const OdGeTol& tol = OdGeContext::gTol) const;
170
186 void get(
187 OdGePoint3d& origin,
188 OdGeVector3d& uAxis,
189 OdGeVector3d& vAxis) const;
190
206 void get(
207 OdGePoint3d& uPnt,
208 OdGePoint3d& origin,
209 OdGePoint3d& vPnt) const;
210
215
220
230 double& a,
231 double& b,
232 double& c,
233 double& d) const;
234
243 OdGePoint3d& origin,
244 OdGeVector3d& axis1,
245 OdGeVector3d& axis2) const;
246
255 const OdGePlanarEnt& plane);
256
258 // TD Special :
259
260 //DOM-IGNORE-BEGIN
262 //DOM-IGNORE-END
275 const OdGePoint3d& p,
276 const OdGeVector3d& unitDir,
277 OdGePoint3d& projP,
278 const OdGeTol& tol = OdGeContext::gTol) const;
279
281//DOM-IGNORE-BEGIN
282protected:
285//DOM-IGNORE-END
286};
287
288#include "TD_PackPop.h"
289
290#endif // OD_GEPLANAR_H
291
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
bool isParallelTo(const OdGeLinearEnt3d &line, const OdGeTol &tol=OdGeContext::gTol) const
void get(OdGePoint3d &uPnt, OdGePoint3d &origin, OdGePoint3d &vPnt) const
OdGePlanarEnt(const OdGePlanarEnt &plane)
OdGePoint3d pointOnPlane() const
bool isCoplanarTo(const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
bool isPerpendicularTo(const OdGeLinearEnt3d &line, const OdGeTol &tol=OdGeContext::gTol) const
TD_USING(OdGeSurface::project)
bool isOnPlane(const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector3d normal() const
OdGePoint3d closestPointToPlanarEnt(const OdGePlanarEnt &plane, OdGePoint3d &pointOnOtherPlane, const OdGeTol &tol=OdGeContext::gTol) const
void getCoordSystem(OdGePoint3d &origin, OdGeVector3d &axis1, OdGeVector3d &axis2) const
void getCoefficients(double &a, double &b, double &c, double &d) const
OdGePoint3d closestPointToLinearEnt(const OdGeLinearEnt3d &line, OdGePoint3d &pointOnLine, const OdGeTol &tol=OdGeContext::gTol) const
bool project(const OdGePoint3d &p, const OdGeVector3d &unitDir, OdGePoint3d &projP, const OdGeTol &tol=OdGeContext::gTol) const
bool isPerpendicularTo(const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
bool intersectWith(const OdGeLinearEnt3d &line, OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
bool isParallelTo(const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
void get(OdGePoint3d &origin, OdGeVector3d &uAxis, OdGeVector3d &vAxis) const
bool project(const OdGePoint3d &p, OdGePoint3d &projP, const OdGeTol &tol=OdGeContext::gTol) const
OdGeSurface & operator=(const OdGeSurface &surf)
Definition: GeTol.h:49
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:65