Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
hdicoreSegPoint.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_SEG_POINT__
8 #define __HDI_CORE_SEG_POINT__
9 
10 #include "hdicorePoint.h"
11 
12 namespace hdi
13 {
14  namespace core
15  {
19  class SegPoint
20  {
21  public:
26 
31 
36 
42  SegPoint();
43 
51  SegPoint(const SegPoint& segPt_);
52 
60  SegPoint(const Point& pt_);
61 
71  SegPoint(
72  const Point& p_,
73  const Point& in_,
74  const Point& out_
75  );
76 
82  virtual ~SegPoint();
83 
92  virtual SegPoint& operator=(const SegPoint& rhs_);
93 
102  virtual bool operator==(const SegPoint& rhs_) const;
103 
112  virtual bool operator!=(const SegPoint& rhs_) const;
113 
122  virtual bool curved(const SegPoint& segPt2_) const;
123  };
124 
125  typedef std::auto_ptr<SegPoint> SegPointAP;
126  }
127 }
128 
129 #endif
130 // __HDI_CORE_SEG_POINT__
Point out
Segment "out" control point.
Definition: hdicoreSegPoint.h:35
virtual SegPoint & operator=(const SegPoint &rhs_)
Sets a SegPoint object from another SegPoint object.
virtual bool operator!=(const SegPoint &rhs_) const
Tests whether a given SegPoint object is not the same as another.
Describes a point in the 2-dimensional (x,y) coordinate system, typically in an Illustrator document ...
Definition: hdicorePoint.h:26
virtual bool curved(const SegPoint &segPt2_) const
Gets whether the path formed by two segment points is curved.
Describes a segment point of a bezier path, typically in an Illustrator document view.
Definition: hdicoreSegPoint.h:19
virtual ~SegPoint()
SegPoint destructor.
virtual bool operator==(const SegPoint &rhs_) const
Tests whether a given SegPoint object is the same as another.
Header file for describing 2D points.
Definition: hdicoreaiArray.h:12
SegPoint()
Constructs a SegPoint object with the p, in, and out points at (0,0)
Point in
Segment "in" control point.
Definition: hdicoreSegPoint.h:30
Point p
Anchor point.
Definition: hdicoreSegPoint.h:25