CFx SDK Documentation  2022 SP0
GePlane.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_GEPLANE_H
25 #define OD_GEPLANE_H
27 #include "Ge/GePlanarEnt.h"
28 #include "TD_PackPush.h"
29 
30 class OdGeBoundedPlane;
31 class OdGeLine3d;
32 class OdGeLineSeg3d;
33 
45 {
46 public:
47 
48 
49  GE_STATIC_EXPORT static const OdGePlane kXYPlane; // XY *plane*.
50  GE_STATIC_EXPORT static const OdGePlane kYZPlane; // YZ *plane*.
51  GE_STATIC_EXPORT static const OdGePlane kZXPlane; // ZY *plane*.
52 
85  const OdGePlane& plane);
87  const OdGePoint3d& origin,
88  const OdGeVector3d& normal);
90  const OdGePoint3d& uPnt,
91  const OdGePoint3d& origin,
92  const OdGePoint3d& vPnt);
94  const OdGePoint3d& origin,
95  const OdGeVector3d& uAxis,
96  const OdGeVector3d& vAxis);
98  double a,
99  double b,
100  double c,
101  double d);
102 
115  const OdGePlane& plane,
116  OdGeLine3d& intLine,
117  const OdGeTol& tol = OdGeContext::gTol) const;
119  const OdGeBoundedPlane& plane,
120  OdGeLineSeg3d& intLine,
121  const OdGeTol& tol = OdGeContext::gTol) const;
122 
129  const OdGePoint3d& point) const;
130 
158  const OdGePoint3d& point,
159  const OdGeVector3d& normal);
160 
190  const OdGePoint3d& uPnt,
191  const OdGePoint3d& origin,
192  const OdGePoint3d& vPnt);
193 
224  double a,
225  double b,
226  double c,
227  double d);
228 
258  const OdGePoint3d& origin,
259  const OdGeVector3d& uAxis,
260  const OdGeVector3d& vAxis);
261 
263  const OdGePlane& plane);
264 
265 private:
266  OdGePlane(OdGeEntity3dImpl*);
267 };
268 
269 GE_TOOLKIT_EXPORT void setPlaneEnvelope( OdGePlane* pPlane, const OdGeInterval& intrvlU, const OdGeInterval& intrvlV );
270 
271 #include "TD_PackPop.h"
272 
273 #endif // OD_GEPLANE_H
274 
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
#define GE_STATIC_EXPORT
Definition: GeExport.h:53
GE_TOOLKIT_EXPORT void setPlaneEnvelope(OdGePlane *pPlane, const OdGeInterval &intrvlU, const OdGeInterval &intrvlV)
OdGePlanarEnt & operator=(const OdGePlanarEnt &plane)
bool intersectWith(const OdGeLinearEnt3d &line, OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
static GE_STATIC_EXPORT const OdGePlane kYZPlane
Definition: GePlane.h:50
OdGePlane(const OdGePoint3d &origin, const OdGeVector3d &normal)
OdGePlane & set(double a, double b, double c, double d)
TD_USING(OdGePlanarEnt::intersectWith)
OdGePlane(const OdGePoint3d &origin, const OdGeVector3d &uAxis, const OdGeVector3d &vAxis)
OdGePlane(const OdGePlane &plane)
double signedDistanceTo(const OdGePoint3d &point) const
OdGePlane & set(const OdGePoint3d &uPnt, const OdGePoint3d &origin, const OdGePoint3d &vPnt)
OdGePlane & set(const OdGePoint3d &origin, const OdGeVector3d &uAxis, const OdGeVector3d &vAxis)
static GE_STATIC_EXPORT const OdGePlane kXYPlane
Definition: GePlane.h:49
bool intersectWith(const OdGeBoundedPlane &plane, OdGeLineSeg3d &intLine, const OdGeTol &tol=OdGeContext::gTol) const
OdGePlane(double a, double b, double c, double d)
OdGePlane(const OdGePoint3d &uPnt, const OdGePoint3d &origin, const OdGePoint3d &vPnt)
OdGePlane & set(const OdGePoint3d &point, const OdGeVector3d &normal)
static GE_STATIC_EXPORT const OdGePlane kZXPlane
Definition: GePlane.h:51
bool intersectWith(const OdGePlane &plane, OdGeLine3d &intLine, const OdGeTol &tol=OdGeContext::gTol) const
Definition: GeTol.h:49
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60