CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GePlane.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_GEPLANE_H
25#define OD_GEPLANE_H
26
27#include "Ge/GePlanarEnt.h"
28#include "TD_PackPush.h"
29
31class OdGeLine3d;
32class OdGeLineSeg3d;
33
47{
48public:
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
66 const OdGePlane& plane);
67
79 const OdGePoint3d& origin,
80 const OdGeVector3d& normal);
81
95 const OdGePoint3d& uPnt,
96 const OdGePoint3d& origin,
97 const OdGePoint3d& vPnt);
98
112 const OdGePoint3d& origin,
113 const OdGeVector3d& uAxis,
114 const OdGeVector3d& vAxis);
115
125 double a,
126 double b,
127 double c,
128 double d);
129
130 //DOM-IGNORE-BEGIN
132 //DOM-IGNORE-END
133
143 const OdGePlane& plane,
144 OdGeLine3d& intLine,
145 const OdGeTol& tol = OdGeContext::gTol) const;
146
156 const OdGeBoundedPlane& plane,
157 OdGeLineSeg3d& intLine,
158 const OdGeTol& tol = OdGeContext::gTol) const;
159
169 const OdGePoint3d& point) const;
170
181 const OdGePoint3d& point,
182 const OdGeVector3d& normal);
183
195 const OdGePoint3d& uPnt,
196 const OdGePoint3d& origin,
197 const OdGePoint3d& vPnt);
198
211 double a,
212 double b,
213 double c,
214 double d);
215
227 const OdGePoint3d& origin,
228 const OdGeVector3d& uAxis,
229 const OdGeVector3d& vAxis);
230
240 const OdGePlane& plane);
241//DOM-IGNORE-BEGIN
242private:
244//DOM-IGNORE-END
245};
246
247#include "TD_PackPop.h"
248
249#endif // OD_GEPLANE_H
250
tol
#define GE_TOOLKIT_EXPORT
Definition GeExport.h:35
#define GE_STATIC_EXPORT
Definition GeExport.h:52
friend class OdGeEntity3dImpl
Definition GeEntity3d.h:199
OdGePlanarEnt & operator=(const OdGePlanarEnt &plane)
OdGeVector3d normal() const
bool intersectWith(const OdGeLinearEnt3d &line, OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
OdGePlane & set(const OdGePoint3d &origin, const OdGeVector3d &uAxis, const OdGeVector3d &vAxis)
GE_OPERATORS_OVERRIDE_3D(OdGePlane)
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
static GE_STATIC_EXPORT OdGeTol gTol
Definition GeGbl.h:67