WIL説明書(C++)  3.0.0
FvLineSegment.h
[詳解]
1 // $Revision: 1.1 $
2 /*
3  @file FvLineSegment.h
4  @brief FVCL::Data::CFvLineSegment class interface
5  @author FAST Corporation
6 */
7 
8 #ifndef _FV_LINESEGMENT_H
9 #define _FV_LINESEGMENT_H
10 
11 #include "FvDataObject.h"
12 #include "FvPoint.h"
13 #include "FvLine.h"
14 
15 #pragma pack(push,_FVCL_PACKING)
16 
17 namespace FVCL
18 {
19 
20 struct tagSGMT
21 {
24 };
25 
26 struct tagDSGMT
27 {
30 };
31 
32 namespace Data
33 {
35 {
36 private:
37  void _Constructor();
38 
39 public:
42  CFvLineSegment( DOUBLE xs, DOUBLE ys, DOUBLE xe, DOUBLE ye );
44  CFvLineSegment( const tagSGMT& src );
45  CFvLineSegment( const tagDSGMT& src );
46  CFvLineSegment( const SGMT_T& src );
47  CFvLineSegment( const DSGMT_T& src );
48  virtual ~CFvLineSegment();
49 
50  enum { DataID = 13 };
51 
52  virtual INT GetDataID() const;
53  virtual bool GetPointer( INT id, void** val ) const;
54 
55  bool GetLine( CFvLine* line ) const;
56 
57  // operator overload
58  virtual CFvLineSegment& operator = ( const FVCL::Data::CFvLineSegment& src );
59  virtual CFvLineSegment& operator = ( const tagSGMT& src );
60  virtual CFvLineSegment& operator = ( const tagDSGMT& src );
61  virtual CFvLineSegment& operator = ( const SGMT_T& src );
62  virtual CFvLineSegment& operator = ( const DSGMT_T& src );
63 
64  virtual bool operator == ( const FVCL::Data::CFvLineSegment& src ) const;
65  virtual bool operator != ( const FVCL::Data::CFvLineSegment& src ) const;
66 
67  virtual operator tagSGMT() const;
68  virtual operator tagDSGMT() const;
69  virtual operator SGMT_T() const;
70  virtual operator DSGMT_T() const;
71 
72  CFvLine ToCFvLine() const;
73  SGMT_T ToSGMT_T() const;
74  DSGMT_T ToDSGMT_T() const;
75 
76  void GetStructure( tagSGMT* data ) const;
77  void GetStructure( tagDSGMT* data ) const;
78  void GetStructure( SGMT_T* data ) const;
79  void GetStructure( DSGMT_T* data ) const;
80 
81 public:
82  // value
85 };
86 
87 } // Data
88 
89 } // FVCL
90 
91 #pragma pack(pop)
92 
93 #endif // _FV_LINESEGMENT_H
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
FVCL::Data::CFvPoint st
始点
Definition: FvLineSegment.h:83
tagPNT st
始点
Definition: FvLineSegment.h:22
点構造クラス
Definition: FvPoint.h:38
FVCL::Data::CFvPoint ed
終点
Definition: FvLineSegment.h:84
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
点構造体
Definition: FvPoint.h:18
tagDPNT st
始点
Definition: FvLineSegment.h:28
int INT
整数型(32ビット)
Definition: FvDefs.h:36
点構造体
Definition: FvPoint.h:30
データオブジェクトの基本クラス
Definition: FvDataObject.h:20
double DOUBLE
倍精度浮動小数点型(64ビット)
Definition: FvDefs.h:62
線分構造体
Definition: FvLineSegment.h:26
点構造クラスのインターフェース
tagDPNT ed
始点
Definition: FvLineSegment.h:29
tagPNT ed
始点
Definition: FvLineSegment.h:23
線分構造クラス
Definition: FvLineSegment.h:34
線分構造体
Definition: FvLineSegment.h:20
直線構造クラス
Definition: FvLine.h:34
データオブジェクトの基本クラスのインターフェース
直線構造クラスのインターフェース

Documentation copyright © 2007 FAST Corporation. [B-001864]
Generated on 2023年11月02日(木) 10時12分53秒 for WIL説明書(C++) by doxygen 1.8.11