CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
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
39{
43 odbrWrongObjectType = eWrongObjectType,
45 odbrInvalidObject = eUnrecoverableErrors,
50 odbrInvalidInput = eInvalidInput,
56 odbrOutOfMemory = eOutOfMemory,
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,
84 odbrWrongDatabase = eWrongDatabase,
85 odbrNotInDatabase = eNotInDatabase,
87};
88
102
114
124
138
146 kDoubleSide = 0x001,
148 kVisible = 0x002,
150 kInvisible = 0x004,
152 kHighlight = 0x008,
158 kBimRvEdgeJoint = 0x02000000,
159};
160
181
182#define BR_THROW(n) throw OdBrException(n)
183
184#endif // ODBRENUMS_H
OdBrErrorStatus
Definition BrEnums.h:39
@ odbrNullSubentityId
Definition BrEnums.h:68
@ odbrInvalidInput
Definition BrEnums.h:50
@ odbrWrongSubentityType
Definition BrEnums.h:66
@ odbrMissingSubentity
Definition BrEnums.h:78
@ odbrDegenerateTopology
Definition BrEnums.h:52
@ odbrBrepChanged
Definition BrEnums.h:58
@ odbrWrongDatabase
Definition BrEnums.h:84
@ odbrUnsuitableGeometry
Definition BrEnums.h:76
@ odbrTopologyMismatch
Definition BrEnums.h:74
@ odbrUnrecoverableErrors
Definition BrEnums.h:82
@ odbrOutOfMemory
Definition BrEnums.h:56
@ odbrWrongObjectType
Definition BrEnums.h:43
@ odbrMissingTopology
Definition BrEnums.h:83
@ odbrObjectIdMismatch
Definition BrEnums.h:72
@ odbrNotImplementedYet
Definition BrEnums.h:60
@ odbrDegenerateGeometry
Definition BrEnums.h:86
@ odbrUnsuitableTopology
Definition BrEnums.h:46
@ odbrOK
Definition BrEnums.h:41
@ odbrNotApplicable
Definition BrEnums.h:64
@ odbrMissingGeometry
Definition BrEnums.h:48
@ odbrNullObjectPointer
Definition BrEnums.h:70
@ odbrInvalidObject
Definition BrEnums.h:45
@ odbrAmbiguousOutput
Definition BrEnums.h:80
@ odbrUninitialisedObject
Definition BrEnums.h:54
@ odbrNotInDatabase
Definition BrEnums.h:85
@ odbrNullObjectId
Definition BrEnums.h:62
Element2dShape
Definition BrEnums.h:128
@ kAllPolygons
Definition BrEnums.h:132
@ kDefault
Definition BrEnums.h:130
@ kAllQuadrilaterals
Definition BrEnums.h:134
@ kAllTriangles
Definition BrEnums.h:136
BrEntityFlags
Definition BrEnums.h:142
@ kInvisible
Definition BrEnums.h:150
@ kVisible
Definition BrEnums.h:148
@ kDoubleSide
Definition BrEnums.h:146
@ kNoFlags
Definition BrEnums.h:144
@ kSelectionIgnore
Definition BrEnums.h:154
@ kBimRvEdgeSwapFaces
Definition BrEnums.h:156
@ kBimRvEdgeJoint
Definition BrEnums.h:158
@ kHighlight
Definition BrEnums.h:152
BrLoopType
Definition BrEnums.h:92
@ odbrLoopExterior
Definition BrEnums.h:96
@ odbrLoopInterior
Definition BrEnums.h:98
@ odbrLoopWinding
Definition BrEnums.h:100
@ odbrLoopUnclassified
Definition BrEnums.h:94
BrValidationLevel
Definition BrEnums.h:118
@ odbrFullValidation
Definition BrEnums.h:120
@ odbrNoValidation
Definition BrEnums.h:122
BrShellType
Definition BrEnums.h:106
@ odbrShellExterior
Definition BrEnums.h:110
@ odbrShellInterior
Definition BrEnums.h:112
@ odbrShellUnclassified
Definition BrEnums.h:108
#define ODBR_TOOLKIT_EXPORT
Definition BrExport.h:39
@ eDegenerateGeometry
Definition FxBIM.h:50
@ eOk
Definition FxBIM.h:41
OdBrErrorStatus getErrorStatus() const
OdBrException(OdBrErrorStatus errorStatus)
OdError(OdResult code)