Describes a segment point of a bezier path, typically in an Illustrator document view.
More...
#include <hdicoreSegPoint.h>
|
Point | p |
| Anchor point.
|
|
Point | in |
| Segment "in" control point.
|
|
Point | out |
| Segment "out" control point.
|
|
Describes a segment point of a bezier path, typically in an Illustrator document view.
◆ SegPoint() [1/4]
hdi::core::SegPoint::SegPoint |
( |
| ) |
|
Constructs a SegPoint object with the p, in, and out points at (0,0)
- Author
- GW
- Date
- 07/2014
◆ SegPoint() [2/4]
hdi::core::SegPoint::SegPoint |
( |
const SegPoint & |
segPt_ | ) |
|
SegPoint copy constructor.
- Author
- GW
- Date
- 07/2014
- Parameters
-
segPt_ | Existing SegPoint object to copy values from |
◆ SegPoint() [3/4]
hdi::core::SegPoint::SegPoint |
( |
const Point & |
pt_ | ) |
|
Constructs a SegPoint from a given point for the anchor and both control points.
- Author
- GW
- Date
- 07/2014
- Parameters
-
pt_ | Anchor point, control points |
◆ SegPoint() [4/4]
hdi::core::SegPoint::SegPoint |
( |
const Point & |
p_, |
|
|
const Point & |
in_, |
|
|
const Point & |
out_ |
|
) |
| |
Constructs a SegPoint from given points.
- Author
- GW
- Date
- 07/2014
- Parameters
-
p_ | Anchor point |
in_ | "In" control point |
out_ | "Out" control point |
◆ ~SegPoint()
virtual hdi::core::SegPoint::~SegPoint |
( |
| ) |
|
|
virtual |
SegPoint destructor.
- Author
- GW
- Date
- 07/2014
◆ curved()
virtual bool hdi::core::SegPoint::curved |
( |
const SegPoint & |
segPt2_ | ) |
const |
|
virtual |
Gets whether the path formed by two segment points is curved.
- Author
- GW
- Date
- 07/2014
- Parameters
-
segPt2_ | Second segment point in the path |
- Returns
- true if the path formed by the two points is curved, false otherwise
◆ operator!=()
virtual bool hdi::core::SegPoint::operator!= |
( |
const SegPoint & |
rhs_ | ) |
const |
|
virtual |
Tests whether a given SegPoint object is not the same as another.
- Author
- GW
- Date
- 07/2014
- Parameters
-
rhs_ | SegPoint to compare against (righthand side of inequality operator) |
- Returns
- true for the target and rhs_ being different segment points, false otherwise
◆ operator=()
Sets a SegPoint object from another SegPoint object.
- Author
- GW
- Date
- 07/2014
- Parameters
-
rhs_ | Righthand side of the = operator; the SegPoint to pull values from |
- Returns
- The target SegPoint object, with its values updated
◆ operator==()
virtual bool hdi::core::SegPoint::operator== |
( |
const SegPoint & |
rhs_ | ) |
const |
|
virtual |
Tests whether a given SegPoint object is the same as another.
- Author
- GW
- Date
- 07/2014
- Parameters
-
rhs_ | SegPoint to compare against (righthand side of equality operator) |
- Returns
- true for the target and rhs_ being the same segment point, false otherwise