CFx SDK Documentation  2023 SP0
AECSectionSegment.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 __AECSECTIONSEGMENT_H__
25 #define __AECSECTIONSEGMENT_H__
26 
27 #include "Subobjects/AECImpObj.h"
28 #include <Ge/GePoint2d.h>
29 
35 class AECBASE_API AECSectionSegment : public AECImpObj
36 {
38 
39  public:
43  enum Component
44  {
45  eUnknownComp = 0,
46  eDefiningLine = 1,
47  eHidden = 2,
48  eErased = 3,
49  eSubdivision1 = 4,
50  eSubdivision2 = 5,
51  eSubdivision3 = 6,
52  eSubdivision4 = 7,
53  eSubdivision5 = 8,
54  eSubdivision6 = 9,
55  eSubdivision7 = 10,
56  eSubdivision8 = 11,
57  eSubdivision9 = 12,
58  eSubdivision10 = 13,
59  eOuterShrinkwrap = 14,
60  eInnerShrinkwrap = 15
61  };
62 
63  enum LineworkType {
64  eNormalLinework = 0,
65  eCustomLinework = 1,
66  eOverridenLinework= 2,
67  };
68  public:
73 
78 
82  const OdGePoint2d& GetStartVertex() const;
83 
87  void SetStartVertex( const OdGePoint2d& ptVertex );
88 
92  const OdGePoint2d& GetEndVertex() const;
93 
97  void SetEndVertex( const OdGePoint2d& ptVertex );
98 
106  bool IsCustomLinework() const;
107 
115  void SetIsCustomLinework( bool bCustom );
116 
121  bool IsOverridenComponent() const;
122 
127  void SetIsOverridenComponent( bool bOverriden );
128 
133 
138 
142 
146 };
147 
150 
151 
152 inline bool
155 }
156 
157 inline void
160 }
161 
162 inline bool
165 }
166 
167 inline void
170 }
171 
172 #endif // __AECSECTIONSEGMENT_H__
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
OdSmartPtr< AECSectionSegment > AECSectionSegmentPtr
AECSubPtr< AECSectionSegment > AECSectionSegmentSubPtr
unsigned int OdUInt32
bool IsCustomLinework() const
void SetMaintainedDispCompEntId(OdUInt32 nId)
OdUInt32 GetMaintainedDispCompEntId() const
void SetLineworkType(LineworkType type)
void SetIsCustomLinework(bool bCustom)
const OdGePoint2d & GetStartVertex() const
void SetComponentIndex(Component eComp)
bool IsOverridenComponent() const
const OdGePoint2d & GetEndVertex() const
void SetStartVertex(const OdGePoint2d &ptVertex)
void SetIsOverridenComponent(bool bOverriden)
Component GetComponentIndex() const
void SetEndVertex(const OdGePoint2d &ptVertex)
LineworkType GetLineworkType() const
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274