CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GePlane.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_GEPLANE_H
25#define OD_GEPLANE_H
27#include "Ge/GePlanarEnt.h"
28#include "TD_PackPush.h"
29
31class OdGeLine3d;
32class OdGeLineSeg3d;
33
47{
48public:
49
50
51 GE_STATIC_EXPORT static const OdGePlane kXYPlane; // XY *plane*.
52 GE_STATIC_EXPORT static const OdGePlane kYZPlane; // YZ *plane*.
53 GE_STATIC_EXPORT static const OdGePlane kZXPlane; // ZY *plane*.
54
59
69 const OdGePlane& plane);
70
82 const OdGePoint3d& origin,
83 const OdGeVector3d& normal);
84
98 const OdGePoint3d& uPnt,
99 const OdGePoint3d& origin,
100 const OdGePoint3d& vPnt);
101
115 const OdGePoint3d& origin,
116 const OdGeVector3d& uAxis,
117 const OdGeVector3d& vAxis);
118
128 double a,
129 double b,
130 double c,
131 double d);
132
133 //DOM-IGNORE-BEGIN
135 //DOM-IGNORE-END
136
146 const OdGePlane& plane,
147 OdGeLine3d& intLine,
148 const OdGeTol& tol = OdGeContext::gTol) const;
149
159 const OdGeBoundedPlane& plane,
160 OdGeLineSeg3d& intLine,
161 const OdGeTol& tol = OdGeContext::gTol) const;
162
172 const OdGePoint3d& point) const;
173
184 const OdGePoint3d& point,
185 const OdGeVector3d& normal);
186
198 const OdGePoint3d& uPnt,
199 const OdGePoint3d& origin,
200 const OdGePoint3d& vPnt);
201
214 double a,
215 double b,
216 double c,
217 double d);
218
230 const OdGePoint3d& origin,
231 const OdGeVector3d& uAxis,
232 const OdGeVector3d& vAxis);
233
243 const OdGePlane& plane);
244//DOM-IGNORE-BEGIN
245private:
246 OdGePlane(OdGeEntity3dImpl*);
247//DOM-IGNORE-END
248};
249
250#include "TD_PackPop.h"
251
252#endif // OD_GEPLANE_H
253
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
#define GE_STATIC_EXPORT
Definition: GeExport.h:52
OdGePlanarEnt & operator=(const OdGePlanarEnt &plane)
bool intersectWith(const OdGeLinearEnt3d &line, OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGePlane & set(const OdGePoint3d &origin, const OdGeVector3d &uAxis, const OdGeVector3d &vAxis)
OdGePlane & set(const OdGePoint3d &uPnt, const OdGePoint3d &origin, const OdGePoint3d &vPnt)
static GE_STATIC_EXPORT const OdGePlane kYZPlane
Definition: GePlane.h:52
OdGePlane & set(const OdGePoint3d &point, const OdGeVector3d &normal)
OdGePlane(const OdGePoint3d &origin, const OdGeVector3d &normal)
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(double a, double b, double c, double d)
static GE_STATIC_EXPORT const OdGePlane kXYPlane
Definition: GePlane.h:51
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)
static GE_STATIC_EXPORT const OdGePlane kZXPlane
Definition: GePlane.h:53
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:65