CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Br
BrEnums.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
25
26
// OdBrEnums.h -- declaration of enumerated types used in the
27
// OdBr B-Rep and traverser classes.
28
29
#ifndef ODBRENUMS_H
30
#define ODBRENUMS_H
31
#include "
OdError.h
"
32
#include "
BrExport.h
"
33
#include "
Gi/Gi.h
"
34
38
enum
OdBrErrorStatus
39
{
41
odbrOK
=
::eOk
,
43
odbrWrongObjectType
= eWrongObjectType,
45
odbrInvalidObject
= eUnrecoverableErrors,
46
odbrUnsuitableTopology
= 0XBC5,
48
odbrMissingGeometry
=
eDegenerateGeometry
,
50
odbrInvalidInput
= eInvalidInput,
52
odbrDegenerateTopology
= 0XBCC,
54
odbrUninitialisedObject
= 0xBCD,
56
odbrOutOfMemory
= eOutOfMemory,
58
odbrBrepChanged
= 0xBC0,
60
odbrNotImplementedYet
= ::eNotImplementedYet,
62
odbrNullObjectId
= eNullObjectId,
64
odbrNotApplicable
= eNotApplicable,
66
odbrWrongSubentityType
= eWrongSubentityType,
68
odbrNullSubentityId
= eInvalidIndex,
70
odbrNullObjectPointer
= eUnrecoverableErrors,
72
odbrObjectIdMismatch
= eWrongDatabase,
74
odbrTopologyMismatch
= eWrongDatabase,
76
odbrUnsuitableGeometry
= eAmbiguousOutput,
78
odbrMissingSubentity
= eNotInDatabase,
80
odbrAmbiguousOutput
= eAmbiguousOutput,
81
82
odbrUnrecoverableErrors
= eUnrecoverableErrors,
83
odbrMissingTopology
=
odbrDegenerateTopology
,
84
odbrWrongDatabase
= eWrongDatabase,
85
odbrNotInDatabase
= eNotInDatabase,
86
odbrDegenerateGeometry
=
eDegenerateGeometry
87
};
88
92
enum
BrLoopType
{
94
odbrLoopUnclassified
= 0,
96
odbrLoopExterior
= 1,
98
odbrLoopInterior
= 2,
100
odbrLoopWinding
= 3
101
};
102
106
enum
BrShellType
{
108
odbrShellUnclassified
= 0,
110
odbrShellExterior
= 1,
112
odbrShellInterior
= 2
113
};
114
118
enum
BrValidationLevel
{
120
odbrFullValidation
= 0,
122
odbrNoValidation
= 1
123
};
124
128
enum
Element2dShape
{
130
kDefault
= 0,
132
kAllPolygons
= 1,
134
kAllQuadrilaterals
= 2,
136
kAllTriangles
= 3
137
};
138
142
enum
BrEntityFlags
{
144
kNoFlags
= 0,
146
kDoubleSide
= 0x001,
148
kVisible
= 0x002,
150
kInvisible
= 0x004,
152
kHighlight
= 0x008,
154
kSelectionIgnore
= 0x010,
156
kBimRvEdgeSwapFaces
= 0x01000000,
158
kBimRvEdgeJoint
= 0x02000000,
159
};
160
166
class
ODBR_TOOLKIT_EXPORT
OdBrException
:
public
OdError
167
{
168
public
:
174
OdBrException
(
OdBrErrorStatus
errorStatus);
175
179
OdBrErrorStatus
getErrorStatus
()
const
;
180
};
181
182
#define BR_THROW(n) throw OdBrException(n)
183
184
#endif
// ODBRENUMS_H
OdBrErrorStatus
OdBrErrorStatus
Definition
BrEnums.h:39
odbrNullSubentityId
@ odbrNullSubentityId
Definition
BrEnums.h:68
odbrInvalidInput
@ odbrInvalidInput
Definition
BrEnums.h:50
odbrWrongSubentityType
@ odbrWrongSubentityType
Definition
BrEnums.h:66
odbrMissingSubentity
@ odbrMissingSubentity
Definition
BrEnums.h:78
odbrDegenerateTopology
@ odbrDegenerateTopology
Definition
BrEnums.h:52
odbrBrepChanged
@ odbrBrepChanged
Definition
BrEnums.h:58
odbrWrongDatabase
@ odbrWrongDatabase
Definition
BrEnums.h:84
odbrUnsuitableGeometry
@ odbrUnsuitableGeometry
Definition
BrEnums.h:76
odbrTopologyMismatch
@ odbrTopologyMismatch
Definition
BrEnums.h:74
odbrUnrecoverableErrors
@ odbrUnrecoverableErrors
Definition
BrEnums.h:82
odbrOutOfMemory
@ odbrOutOfMemory
Definition
BrEnums.h:56
odbrWrongObjectType
@ odbrWrongObjectType
Definition
BrEnums.h:43
odbrMissingTopology
@ odbrMissingTopology
Definition
BrEnums.h:83
odbrObjectIdMismatch
@ odbrObjectIdMismatch
Definition
BrEnums.h:72
odbrNotImplementedYet
@ odbrNotImplementedYet
Definition
BrEnums.h:60
odbrDegenerateGeometry
@ odbrDegenerateGeometry
Definition
BrEnums.h:86
odbrUnsuitableTopology
@ odbrUnsuitableTopology
Definition
BrEnums.h:46
odbrOK
@ odbrOK
Definition
BrEnums.h:41
odbrNotApplicable
@ odbrNotApplicable
Definition
BrEnums.h:64
odbrMissingGeometry
@ odbrMissingGeometry
Definition
BrEnums.h:48
odbrNullObjectPointer
@ odbrNullObjectPointer
Definition
BrEnums.h:70
odbrInvalidObject
@ odbrInvalidObject
Definition
BrEnums.h:45
odbrAmbiguousOutput
@ odbrAmbiguousOutput
Definition
BrEnums.h:80
odbrUninitialisedObject
@ odbrUninitialisedObject
Definition
BrEnums.h:54
odbrNotInDatabase
@ odbrNotInDatabase
Definition
BrEnums.h:85
odbrNullObjectId
@ odbrNullObjectId
Definition
BrEnums.h:62
Element2dShape
Element2dShape
Definition
BrEnums.h:128
kAllPolygons
@ kAllPolygons
Definition
BrEnums.h:132
kDefault
@ kDefault
Definition
BrEnums.h:130
kAllQuadrilaterals
@ kAllQuadrilaterals
Definition
BrEnums.h:134
kAllTriangles
@ kAllTriangles
Definition
BrEnums.h:136
BrEntityFlags
BrEntityFlags
Definition
BrEnums.h:142
kInvisible
@ kInvisible
Definition
BrEnums.h:150
kVisible
@ kVisible
Definition
BrEnums.h:148
kDoubleSide
@ kDoubleSide
Definition
BrEnums.h:146
kNoFlags
@ kNoFlags
Definition
BrEnums.h:144
kSelectionIgnore
@ kSelectionIgnore
Definition
BrEnums.h:154
kBimRvEdgeSwapFaces
@ kBimRvEdgeSwapFaces
Definition
BrEnums.h:156
kBimRvEdgeJoint
@ kBimRvEdgeJoint
Definition
BrEnums.h:158
kHighlight
@ kHighlight
Definition
BrEnums.h:152
BrLoopType
BrLoopType
Definition
BrEnums.h:92
odbrLoopExterior
@ odbrLoopExterior
Definition
BrEnums.h:96
odbrLoopInterior
@ odbrLoopInterior
Definition
BrEnums.h:98
odbrLoopWinding
@ odbrLoopWinding
Definition
BrEnums.h:100
odbrLoopUnclassified
@ odbrLoopUnclassified
Definition
BrEnums.h:94
BrValidationLevel
BrValidationLevel
Definition
BrEnums.h:118
odbrFullValidation
@ odbrFullValidation
Definition
BrEnums.h:120
odbrNoValidation
@ odbrNoValidation
Definition
BrEnums.h:122
BrShellType
BrShellType
Definition
BrEnums.h:106
odbrShellExterior
@ odbrShellExterior
Definition
BrEnums.h:110
odbrShellInterior
@ odbrShellInterior
Definition
BrEnums.h:112
odbrShellUnclassified
@ odbrShellUnclassified
Definition
BrEnums.h:108
BrExport.h
ODBR_TOOLKIT_EXPORT
#define ODBR_TOOLKIT_EXPORT
Definition
BrExport.h:39
Error::eDegenerateGeometry
@ eDegenerateGeometry
Definition
FxBIM.h:50
Error::eOk
@ eOk
Definition
FxBIM.h:41
Gi.h
OdError.h
OdBrException::getErrorStatus
OdBrErrorStatus getErrorStatus() const
OdBrException::OdBrException
OdBrException(OdBrErrorStatus errorStatus)
OdError::OdError
OdError(OdResult code)
Generated on Tue Apr 15 2025 11:29:58