CFx SDK Documentation  2022 SP0
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 
OdBrErrorStatus
Definition: BrEnums.h:41
BrValidationLevel
Definition: BrEnums.h:93
#define ODBR_TOOLKIT_EXPORT
Definition: BrExport.h:39
Definition: BrHit.h:39
virtual ~OdBrHit()
OdBrErrorStatus getEntityHit(OdBrEntity *&entityHit) const
bool isNull() const
OdBrErrorStatus getValidationLevel(BrValidationLevel &validationLevel) const
bool isEqualTo(const OdBrHit *pOtherHit) const
OdBrErrorStatus getPoint(OdGePoint3d &point) const
bool m_bIsValidate
Definition: BrHit.h:66
bool brepChanged() const
OdBrHit(const OdBrHit &src)
OdBrErrorStatus getEntityAssociated(OdBrEntity *&entity) const
OdBrErrorStatus getEntityEntered(OdBrEntity *&entityEntered) const
OdBrErrorStatus setValidationLevel(const BrValidationLevel &validationLevel)
void * m_pHitImp
Definition: BrHit.h:65