CFx SDK Documentation  2020SP3
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 
OdGeSurface
Definition: GeSurface.h:48
OdGePlanarEnt::normal
OdGeVector3d normal() const
OdGeVector3d
Definition: GeVector3d.h:54
OdGePlanarEnt::isPerpendicularTo
bool isPerpendicularTo(const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
tol
tol
Definition: DimVarDefs.h:2287
OdGePlanarEnt::pointOnPlane
OdGePoint3d pointOnPlane() const
OdGeSurface::operator=
OdGeSurface & operator=(const OdGeSurface &surf)
OdGePlanarEnt::isParallelTo
bool isParallelTo(const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
TD_PackPop.h
OdGePlanarEnt::isCoplanarTo
bool isCoplanarTo(const OdGePlanarEnt &plane, const OdGeTol &tol=OdGeContext::gTol) const
OdGePlanarEnt::isPerpendicularTo
bool isPerpendicularTo(const OdGeLinearEnt3d &line, const OdGeTol &tol=OdGeContext::gTol) const
OdGePlanarEnt::closestPointToPlanarEnt
OdGePoint3d closestPointToPlanarEnt(const OdGePlanarEnt &plane, OdGePoint3d &pointOnOtherPlane, const OdGeTol &tol=OdGeContext::gTol) const
OdGePlanarEnt::getCoordSystem
void getCoordSystem(OdGePoint3d &origin, OdGeVector3d &axis1, OdGeVector3d &axis2) const
OdGePlanarEnt::get
void get(OdGePoint3d &origin, OdGeVector3d &uAxis, OdGeVector3d &vAxis) const
OdGePlanarEnt::closestPointToLinearEnt
OdGePoint3d closestPointToLinearEnt(const OdGeLinearEnt3d &line, OdGePoint3d &pointOnLine, const OdGeTol &tol=OdGeContext::gTol) const
GeInterval.h
OdGePlanarEnt
Definition: GePlanarEnt.h:62
OdGePlanarEnt::intersectWith
bool intersectWith(const OdGeLinearEnt3d &line, OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGePoint3d
Definition: GePoint3d.h:55
OdGePlanarEnt::getCoefficients
void getCoefficients(double &a, double &b, double &c, double &d) const
OdPlatformSettings.h
OdGePlanarEnt::get
void get(OdGePoint3d &uPnt, OdGePoint3d &origin, OdGePoint3d &vPnt) const
TD_PackPush.h
OdGePlanarEnt::project
bool project(const OdGePoint3d &p, const OdGeVector3d &unitDir, OdGePoint3d &projP, const OdGeTol &tol=OdGeContext::gTol) const
OdGePlanarEnt::OdGePlanarEnt
OdGePlanarEnt()
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGePlanarEnt::TD_USING
TD_USING(OdGeSurface::project)
OdGeSurface::project
bool project(const OdGePoint3d &p, OdGePoint3d &projP, const OdGeTol &tol=OdGeContext::gTol) const
OdGeLinearEnt3d
Definition: GeLinearEnt3d.h:44
OdGeTol
Definition: GeTol.h:49
OdGePlanarEnt::OdGePlanarEnt
OdGePlanarEnt(const OdGePlanarEnt &plane)
OdGePlanarEnt::isParallelTo
bool isParallelTo(const OdGeLinearEnt3d &line, const OdGeTol &tol=OdGeContext::gTol) const