CFx SDK Documentation  2022 SP0
GePlanarEnt.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_GEPLANAR_H
25 #define OD_GEPLANAR_H
27 #include "Ge/GeSurface.h"
28 #include "Ge/GeInterval.h"
29 #include "OdPlatformSettings.h"
30 
31 class OdGeLinearEnt3d;
32 
33 #include "TD_PackPush.h"
34 
62 {
63 public:
64 
65 
75  const OdGeLinearEnt3d& line,
76  OdGePoint3d& point,
77  const OdGeTol& tol = OdGeContext::gTol) const;
78 
88  const OdGeLinearEnt3d& line,
89  OdGePoint3d& pointOnLine,
90  const OdGeTol& tol = OdGeContext::gTol) const;
91 
101  const OdGePlanarEnt& plane,
102  OdGePoint3d& pointOnOtherPlane,
103  const OdGeTol& tol = OdGeContext::gTol) const;
104 
112  const OdGeLinearEnt3d& line,
113  const OdGeTol& tol = OdGeContext::gTol) const;
114 
122  const OdGePlanarEnt& plane,
123  const OdGeTol& tol = OdGeContext::gTol) const;
124 
132  const OdGeLinearEnt3d& line,
133  const OdGeTol& tol = OdGeContext::gTol) const;
134 
142  const OdGePlanarEnt& plane,
143  const OdGeTol& tol = OdGeContext::gTol) const;
144 
153  const OdGePlanarEnt& plane,
154  const OdGeTol& tol = OdGeContext::gTol) const;
155 
169  void get(
170  OdGePoint3d& origin,
171  OdGeVector3d& uAxis,
172  OdGeVector3d& vAxis) const;
173 
187  void get(
188  OdGePoint3d& uPnt,
189  OdGePoint3d& origin,
190  OdGePoint3d& vPnt) const;
191 
196 
201 
216  double& a,
217  double& b,
218  double& c,
219  double& d) const;
220 
239  OdGePoint3d& origin,
240  OdGeVector3d& axis1,
241  OdGeVector3d& axis2) const;
242 
244  const OdGePlanarEnt& plane);
245 
247  // TD Special :
248 
260  bool project(
261  const OdGePoint3d& p,
262  const OdGeVector3d& unitDir,
263  OdGePoint3d& projP,
264  const OdGeTol& tol = OdGeContext::gTol) const;
265 
267 
268 protected:
271 };
272 
273 #include "TD_PackPop.h"
274 
275 #endif // OD_GEPLANAR_H
276 
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)
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:60