CFx SDK Documentation  2022 SP0
DbEntityIntersectionPE.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 
25 #ifndef _OD_DB_INTERSECTIONPE_
26 #define _OD_DB_INTERSECTIONPE_
27 
28 
29 #include "DbEntity.h"
30 
40 {
41 public:
43 
51  const OdDbEntity* pThisEnt, const OdDbEntity* pEnt,
52  OdDb::Intersect intType, OdGePoint3dArray& points,
53  OdGsMarker thisGsMarker = 0, OdGsMarker otherGsMarker = 0) const = 0;
54 
62  const OdDbEntity* pThisEnt, const OdDbEntity* pEnt,
63  OdDb::Intersect intType, const OdGePlane& projPlane, OdGePoint3dArray& points,
64  OdGsMarker thisGsMarker = 0, OdGsMarker otherGsMarker = 0) const = 0;
65 
70  const OdDbEntity* pThisEnt, const OdDbEntity* pEnt,
71  OdDb::Intersect intType, OdGePoint3dArray& points,
72  OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const = 0;
73 
78  const OdDbEntity* pThisEnt, const OdDbEntity* pEnt,
79  OdDb::Intersect intType, const OdGePlane& projPlane, OdGePoint3dArray& points,
80  OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const = 0;
81 };
82 
88 //FELIX_CHANGE_BEGIN
89 // The two required methods from old PE restored in a new class (for binary compatibility with DD).
90 #ifndef DEFINED_OdDbEntityIntersectionExtPE
91 #define DEFINED_OdDbEntityIntersectionExtPE
92 #endif
94 {
95 public:
97 
106  virtual OdResult intersectWith(const OdDbEntity* pThisEnt,
107  const OdDbEntity* pEnt, OdDb::Intersect intType,
108  OdGePoint3dArray& points, OdGsMarker thisGsMarker = 0,
109  OdGsMarker otherGsMarker = 0) const = 0;
110 
111  virtual OdResult intersectWith(const OdDbEntity* pThisEnt,
112  const OdDbEntity* pEnt, OdDb::Intersect intType,
113  const OdGePlane& projPlane, OdGePoint3dArray& points,
114  OdGsMarker thisGsMarker = 0, OdGsMarker otherGsMarker = 0) const = 0;
115 
116 };
117 
123 //FELIX_CHANGE_END
124 #endif //_OD_DB_INTERSECTIONPE_
OdSmartPtr< OdDbEntityIntersectionPE > OdDbEntityIntersectionPEPtr
OdSmartPtr< OdDbEntityIntersectionExtPE > OdDbEntityIntersectionExtPEPtr
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
ptrdiff_t OdGsMarker
#define ODRX_ABSTRACT
OdResult
Definition: OdResult.h:29
virtual OdResult intersectWith(const OdDbEntity *pThisEnt, const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const =0
virtual OdResult intersectWith(const OdDbEntity *pThisEnt, const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const =0
ODRX_DECLARE_MEMBERS(OdDbEntityIntersectionExtPE)
ODRX_DECLARE_MEMBERS(OdDbEntityIntersectionPE)
virtual OdResult intersectWith(const OdDbEntity *pThisEnt, const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const =0
virtual OdResult boundingBoxIntersectWith(const OdDbEntity *pThisEnt, const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const =0
virtual OdResult intersectWith(const OdDbEntity *pThisEnt, const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const =0
virtual OdResult boundingBoxIntersectWith(const OdDbEntity *pThisEnt, const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const =0
Intersect
Definition: OdaDefs.h:470