CFx SDK Documentation  2023 SP0
AECGridAssemblyEdge.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 __AECGRIDASSEMBLYEDGE_H__
25 #define __AECGRIDASSEMBLYEDGE_H__
26 
27 #include "Subobjects/AECImpObj.h"
28 
29 class AECGaCleanup;
32 
38 class AECBASE_API AECGridAssemblyEdge : public AECImpObj
39 {
41 
42  public:
46  OdUInt32 GetIndex() const;
47 
51  void SetIndex( OdUInt32 iIndex );
52 
56  bool GetCurveParams( OdGePoint2d& ptStart, OdGePoint2d& ptEnd, double& dBulge ) const;
57 
61  void SetCurveParams( const OdGePoint2d& ptStart, const OdGePoint2d& ptEnd, double dBulge );
62 
69  void GetEdgePath( std::vector<OdUInt16>& aPath ) const;
70 
77  void SetEdgePath( const std::vector<OdUInt16>& aPath );
78 
86 
93  void SetEdgeAssignmentIndex( OdUInt16 iEdgeAssignmentIndex );
94 
104  bool GetEdgeDefinitionIndex( OdUInt16& iIndex ) const;
105 
115 
124 
128  void SetProfileDefinition( const OdDbObjectId& hpidProfileOverride );
129 
134 
138  void SetStartCleanup( const AECGaCleanupSubPtr& pCleanup );
139 
144 
148  void SetEndCleanup( const AECGaCleanupSubPtr& pCleanup );
149 
154  bool IsMullion() const;
155 
160  void SetIsMullion( bool bOn );
161 
166 
170  void SetIsCutStartWithStartMiter( bool bOn );
171 
176 
180  void SetIsCutStartWithEndMiter( bool bOn );
181 
186 
190  void SetIsCutEndWithStartMiter( bool bOn );
191 
195  bool IsCutEndWithEndMiter() const;
196 
200  void SetIsCutEndWithEndMiter( bool bOn );
201 };
202 
205 
206 #endif // __AECGRIDASSEMBLYEDGE_H__
OdSmartPtr< AECGridAssemblyEdge > AECGridAssemblyEdgePtr
AECSubPtr< AECGridAssemblyEdge > AECGridAssemblyEdgeSubPtr
OdSmartPtr< AECGaCleanup > AECGaCleanupPtr
AECSubPtr< AECGaCleanup > AECGaCleanupSubPtr
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
unsigned int OdUInt32
unsigned short OdUInt16
AECGaCleanupSubPtr GetEndCleanup() const
bool IsCutEndWithStartMiter() const
void SetProfileDefinition(const OdDbObjectId &hpidProfileOverride)
bool IsMullion() const
bool IsCutEndWithEndMiter() const
void SetIsCutStartWithStartMiter(bool bOn)
void SetEdgePath(const std::vector< OdUInt16 > &aPath)
bool GetEdgeDefinitionIndex(OdUInt16 &iIndex) const
void SetIsMullion(bool bOn)
bool IsCutStartWithStartMiter() const
void SetIndex(OdUInt32 iIndex)
AECGaCleanupSubPtr GetStartCleanup() const
void SetEndCleanup(const AECGaCleanupSubPtr &pCleanup)
void SetEdgeDefinitionIndex(OdUInt16 iIndex)
void SetCurveParams(const OdGePoint2d &ptStart, const OdGePoint2d &ptEnd, double dBulge)
bool GetCurveParams(OdGePoint2d &ptStart, OdGePoint2d &ptEnd, double &dBulge) const
OdDbObjectId GetProfileDefinition() const
void SetIsCutEndWithEndMiter(bool bOn)
bool IsCutStartWithEndMiter() const
void SetEdgeAssignmentIndex(OdUInt16 iEdgeAssignmentIndex)
void SetStartCleanup(const AECGaCleanupSubPtr &pCleanup)
OdUInt32 GetIndex() const
void SetIsCutStartWithEndMiter(bool bOn)
void GetEdgePath(std::vector< OdUInt16 > &aPath) const
void SetIsCutEndWithStartMiter(bool bOn)
OdUInt16 GetEdgeAssignmentIndex() const