CFx SDK Documentation  2020SP3
BrHit.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 _INC_TDBRBREPHIT_
25 #define _INC_TDBRBREPHIT_
26 
27 #include "Br/BrEntity.h"
28 
29 #include "TD_PackPush.h"
30 
39 {
40 public:
41 
43  OdBrHit( const OdBrHit& src );
44  virtual ~OdBrHit();
45 
46  bool isEqualTo( const OdBrHit* pOtherHit ) const;
47  bool isNull() const;
48 
49  // Topological Containment
50  OdBrErrorStatus getEntityHit( OdBrEntity*& entityHit ) const;
51 
52  OdBrErrorStatus getEntityEntered( OdBrEntity*& entityEntered ) const;
53 
54  // Topology
56 
57  // Geometry
59 
60  // Validation
63  bool brepChanged() const;
64 protected:
65  void *m_pHitImp;
66  bool m_bIsValidate; //The enum has only 2 values.
67  friend class OdBrEntityInternals;
68 };
69 
70 
71 #include "TD_PackPop.h"
72 
73 #endif /* _INC_TDBRBREPHIT_*/
74 
OdBrHit::setValidationLevel
OdBrErrorStatus setValidationLevel(const BrValidationLevel &validationLevel)
OdBrHit::getPoint
OdBrErrorStatus getPoint(OdGePoint3d &point) const
OdBrHit::getEntityEntered
OdBrErrorStatus getEntityEntered(OdBrEntity *&entityEntered) const
OdBrHit::m_bIsValidate
bool m_bIsValidate
Definition: BrHit.h:66
OdBrHit::isEqualTo
bool isEqualTo(const OdBrHit *pOtherHit) const
OdBrHit::isNull
bool isNull() const
TD_PackPop.h
ODBR_TOOLKIT_EXPORT
#define ODBR_TOOLKIT_EXPORT
Definition: BrExport.h:39
OdBrErrorStatus
OdBrErrorStatus
Definition: BrEnums.h:41
OdBrHit::OdBrHit
OdBrHit()
OdBrHit::getEntityAssociated
OdBrErrorStatus getEntityAssociated(OdBrEntity *&entity) const
BrValidationLevel
BrValidationLevel
Definition: BrEnums.h:93
OdBrHit::getValidationLevel
OdBrErrorStatus getValidationLevel(BrValidationLevel &validationLevel) const
OdGePoint3d
Definition: GePoint3d.h:55
OdBrHit
Definition: BrHit.h:39
OdBrHit::m_pHitImp
void * m_pHitImp
Definition: BrHit.h:65
TD_PackPush.h
OdBrEntity
Definition: BrEntity.h:54
OdBrHit::brepChanged
bool brepChanged() const
OdBrHit::~OdBrHit
virtual ~OdBrHit()
BrEntity.h
OdBrHit::getEntityHit
OdBrErrorStatus getEntityHit(OdBrEntity *&entityHit) const
OdBrHit::OdBrHit
OdBrHit(const OdBrHit &src)