CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GePlanarEnt.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_GEPLANAR_H
25#define OD_GEPLANAR_H
26
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:
71
80 const OdGePoint3d& point,
81 const OdGeTol& tol = OdGeContext::gTol) const;
82
92 const OdGeLinearEnt3d& line,
93 OdGePoint3d& point,
94 const OdGeTol& tol = OdGeContext::gTol) const;
95
105 const OdGeLinearEnt3d& line,
106 OdGePoint3d& pointOnLine,
107 const OdGeTol& tol = OdGeContext::gTol) const;
108
118 const OdGePlanarEnt& plane,
119 OdGePoint3d& pointOnOtherPlane,
120 const OdGeTol& tol = OdGeContext::gTol) const;
121
129 const OdGeLinearEnt3d& line,
130 const OdGeTol& tol = OdGeContext::gTol) const;
131
139 const OdGePlanarEnt& plane,
140 const OdGeTol& tol = OdGeContext::gTol) const;
141
149 const OdGeLinearEnt3d& line,
150 const OdGeTol& tol = OdGeContext::gTol) const;
151
159 const OdGePlanarEnt& plane,
160 const OdGeTol& tol = OdGeContext::gTol) const;
161
170 const OdGePlanarEnt& plane,
171 const OdGeTol& tol = OdGeContext::gTol) const;
172
188 void get(
189 OdGePoint3d& origin,
190 OdGeVector3d& uAxis,
191 OdGeVector3d& vAxis) const;
192
208 void get(
209 OdGePoint3d& uPnt,
210 OdGePoint3d& origin,
211 OdGePoint3d& vPnt) const;
212
217
222
232 double& a,
233 double& b,
234 double& c,
235 double& d) const;
236
245 OdGePoint3d& origin,
246 OdGeVector3d& axis1,
247 OdGeVector3d& axis2) const;
248
257 const OdGePlanarEnt& plane);
258
260 // TD Special :
261
262 //DOM-IGNORE-BEGIN
264 //DOM-IGNORE-END
277 const OdGePoint3d& p,
278 const OdGeVector3d& unitDir,
279 OdGePoint3d& projP,
280 const OdGeTol& tol = OdGeContext::gTol) const;
281
283//DOM-IGNORE-BEGIN
284protected:
287//DOM-IGNORE-END
288};
289
290#include "TD_PackPop.h"
291
292#endif // OD_GEPLANAR_H
293
tol
#define GE_TOOLKIT_EXPORT
Definition GeExport.h:35
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
GE_OPERATORS_OVERRIDE_3D(OdGePlanarEnt)
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)
static GE_STATIC_EXPORT OdGeTol gTol
Definition GeGbl.h:67