CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
AECSectionSegment.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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
16// license agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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
28#include <Ge/GePoint2d.h>
29
35class AECBASE_API AECSectionSegment : public AECImpObj
36{
38
39 public:
44 {
45 eUnknownComp = 0,
46 eDefiningLine = 1,
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
64 eNormalLinework = 0,
65 eCustomLinework = 1,
66 eOverridenLinework= 2,
67 };
68 public:
73
78
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
152inline bool
155}
156
157inline void
160}
161
162inline bool
165}
166
167inline 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
@ eHidden
bool IsCustomLinework() const
void SetMaintainedDispCompEntId(OdUInt32 nId)
OdUInt32 GetMaintainedDispCompEntId() const
void SetLineworkType(LineworkType type)
void SetIsCustomLinework(bool bCustom)
void SetComponentIndex(Component eComp)
bool IsOverridenComponent() const
void SetStartVertex(const OdGePoint2d &ptVertex)
void SetIsOverridenComponent(bool bOverriden)
Component GetComponentIndex() const
const OdGePoint2d & GetStartVertex() const
void SetEndVertex(const OdGePoint2d &ptVertex)
LineworkType GetLineworkType() const
const OdGePoint2d & GetEndVertex() const
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274