CFx SDK Documentation  2023 SP0
AECDispCompHatch.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 __AECDISPCOMPHATCH_H__
25 #define __AECDISPCOMPHATCH_H__
26 
28 #include <Ge/GeVector2d.h>
29 
35 class AECBASE_API AECDispCompHatch : public AECDispCompEnt
36 {
38 
39  public:
44 
49 
53  const OdString& GetName() const;
54 
58  void SetName( const OdString& strName );
59 
63  double GetAngle() const;
64 
68  void SetAngle( double dAngle );
69 
74 
79 
84  double GetUserDefinedSpacing() const;
85 
90  void SetUserDefinedSpacing( double dScale );
91 
96  double GetCustomSpacing() const;
97 
102  void SetCustomSpacing( double dScale );
103 
107  bool IsDouble() const;
108 
112  void SetIsDouble( bool bDouble );
113 
117  const OdGeVector2d& GetOffset() const;
118 
122  void SetOffset( const OdGeVector2d& vOffset );
123 
124  protected:
125  // Hatch type.
127 
128  // Hatch name. In case of predefined hatch,
129  // this field contains pattern name from predefined ones.
131 
132  // Scale spacing for user defined hatch type..
134 
135  // Hatch angle.
136  double m_dAngle;
137 
138  // Defines how the angle
139  // is counted from (global coordinate system of object coordinate system).
141 
142  // Scale spacing for predefined and custom hatch type.
144 
145  // Double hatch flag.
147 
148  // Offset for hatch pattern.
150 
153 
155  double m_dUnknown02;
156 
158  double m_dUnknown03;
159 };
160 
163 
164 #endif //__AECDISPCOMPHATCH_H__
AECSubPtr< AECDispCompHatch > AECDispCompHatchSubPtr
OdSmartPtr< AECDispCompHatch > AECDispCompHatchPtr
#define AEC_DECLARE_MEMBERS(ClassName)
Definition: AECMacros.h:54
AECDefs::HatchType GetHatchType() const
void SetHatchType(AECDefs::HatchType eType)
double GetCustomSpacing() const
double GetUserDefinedSpacing() const
void SetName(const OdString &strName)
const OdString & GetName() const
void SetUserDefinedSpacing(double dScale)
void SetCustomSpacing(double dScale)
AECDefs::HatchType m_eHatchType
AECDefs::HatchOrientation m_eOrientation
void SetAngle(double dAngle)
void SetOffset(const OdGeVector2d &vOffset)
bool IsDouble() const
void SetOrientation(AECDefs::HatchOrientation eOrientation)
OdGeVector2d m_vOffset
double m_dUnknown03
DOM.
double GetAngle() const
double m_dUnknown02
DOM.
AECDefs::HatchOrientation GetOrientation() const
const OdGeVector2d & GetOffset() const
void SetIsDouble(bool bDouble)
HatchOrientation
Definition: AECBaseDefs.h:120