7#ifndef __HDI_CORE_SEG_POINT__
8#define __HDI_CORE_SEG_POINT__
125 typedef std::unique_ptr<SegPoint> SegPointUP;
126 typedef std::shared_ptr<SegPoint> SegPointSP;
127 typedef std::weak_ptr<SegPoint> SegPointWP;
Describes a point in the 2-dimensional (x,y) coordinate system, typically in an Illustrator document ...
Definition: hdicorePoint.h:38
Describes a segment point of a bezier path, typically in an Illustrator document view.
Definition: hdicoreSegPoint.h:20
virtual ~SegPoint()
SegPoint destructor.
Point p
Anchor point.
Definition: hdicoreSegPoint.h:25
SegPoint(const Point &p_, const Point &in_, const Point &out_)
Constructs a SegPoint from given points.
virtual bool operator==(const SegPoint &rhs_) const
Tests whether a given SegPoint object is the same as another.
Point out
Segment "out" control point.
Definition: hdicoreSegPoint.h:35
Point in
Segment "in" control point.
Definition: hdicoreSegPoint.h:30
virtual bool curved(const SegPoint &segPt2_) const
Gets whether the path formed by two segment points is curved.
SegPoint()
Constructs a SegPoint object with the p, in, and out points at (0,0)
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.
SegPoint(const SegPoint &segPt_)
SegPoint copy constructor.
SegPoint(const Point &pt_)
Constructs a SegPoint from a given point for the anchor and both control points.
Header file for describing 2D points.