Hot Door CORE
0.7.0
Adobe® Illustrator® Plugin Library

Describes a point on the Illustrator artboard. More...
#include <hdicoreArtboardPoint.h>
Public Types  
typedef std::vector< ArtboardPoint >  ArtboardPointVector 
Public Member Functions  
ArtboardPoint ()  
Default ArtboardPoint constructor, setting the point to (0,0) More...  
ArtboardPoint (const ArtboardPoint &pt_)  
ArtboardPoint copy constructor. More...  
ArtboardPoint (const double x_, const double y_)  
ArtboardPoint constructor, taking x and y arguments. More...  
virtual  ~ArtboardPoint () 
ArtboardPoint destructor. More...  
virtual bool  closeTo (const ArtboardPoint &compare_, const double tol_) const 
Gets whether a given point is within a certain tolerance ("close to") the target point. More...  
virtual double  dotProduct (const ArtboardPoint &p2_) const 
Gets the dot product of two ArtboardPoint objects. More...  
virtual ArtboardPoint  offset (const double tx_, const double ty_) const 
Offsets a point along the x and yaxes by given amounts. More...  
virtual ArtboardPoint  rotate (const ArtboardPoint &origin_, const Angle &angle_) const 
Rotates the point about a given "origin" point by a certain angle. More...  
virtual ArtboardPoint  move (const double length_, const Angle &angle_) const 
"Moves" a point by a given length and angle away from its current position More...  
virtual ArtboardPoint  transform (const TransformMatrix &m_) const 
Transforms a point via a 2dimensional transformation matrix. More...  
virtual bool  insidePolygon (const ArtboardPointVector &points_) const 
Checks if the point is within the provided polygon. More...  
virtual ArtboardPoint &  operator= (const ArtboardPoint &rhs_) 
Allows one ArtboardPoint object to be assigned from another. More...  
virtual bool  operator== (const ArtboardPoint &rhs_) const 
Allows two ArtboardPoint objects to be compared with the == operator. More...  
virtual bool  operator!= (const ArtboardPoint &rhs_) const 
Allows two ArtboardPoint objects to be compared with the != operator. More...  
virtual bool  operator< (const ArtboardPoint &rhs_) const 
Allows two ArtboardPoint objects to be compared with the < operator. More...  
virtual bool  operator<= (const ArtboardPoint &rhs_) const 
Allows two ArtboardPoint objects to be compared with the <= operator. More...  
virtual bool  operator> (const ArtboardPoint &rhs_) const 
Allows two ArtboardPoint objects to be compared with the > operator. More...  
virtual bool  operator>= (const ArtboardPoint &rhs_) const 
Allows two ArtboardPoint objects to be compared with the >= operator. More...  
virtual ArtboardPoint  operator+ (const double rhs_) const 
Allows a value to be added to both this>x and this>y using the + operator. More...  
virtual ArtboardPoint  operator (const double rhs_) const 
Allows a value to be subtracted from both this>x and this>y using the  operator. More...  
virtual ArtboardPoint  operator* (const double rhs_) const 
Allows a value to be multiplied with both this>x and this>y using the * operator. More...  
virtual ArtboardPoint  operator/ (const double rhs_) const 
Allows both this>x and this>y to be divided by a value using the / operator. More...  
virtual ArtboardPoint  operator+ (const ArtboardPoint &rhs_) const 
Allows two points to have their x and y values added using the + operator. More...  
virtual ArtboardPoint  operator (const ArtboardPoint &rhs_) const 
Allows two points to have their x and y values subtracted using the  operator. More...  
virtual ArtboardPoint  operator* (const ArtboardPoint &rhs_) const 
Allows two points to have their x and y values multiplied using the * operator. More...  
virtual ArtboardPoint  operator/ (const ArtboardPoint &rhs_) const 
Allows two points to have their x and y values divided using the / operator. More...  
virtual ArtboardPoint &  operator+= (const double rhs_) 
Allows a value to be added and assigned to both this>x and this>y using the += operator. More...  
virtual ArtboardPoint &  operator= (const double rhs_) 
Allows a value to be subtracted from, and assigned to, both this>x and this>y using the = operator. More...  
virtual ArtboardPoint &  operator*= (const double rhs_) 
Allows a value to be multiplied with, and assigned to, both this>x and this>y using the = operator. More...  
virtual ArtboardPoint &  operator/= (const double rhs_) 
Allows both this>x and this>y to be divided by a value, and assigned, using the /= operator. More...  
virtual ArtboardPoint &  operator+= (const ArtboardPoint &rhs_) 
Allows two points to have their x and y values added and assigned using the += operator. More...  
virtual ArtboardPoint &  operator= (const ArtboardPoint &rhs_) 
Allows two points to have their x and y values subtracted and assigned using the = operator. More...  
virtual ArtboardPoint &  operator*= (const ArtboardPoint &rhs_) 
Allows two points to have their x and y values multiplied and assigned using the *= operator. More...  
virtual ArtboardPoint &  operator/= (const ArtboardPoint &rhs_) 
Allows two points to have their x and y values divided and assigned using the /= operator. More...  
virtual Angle  operator^ (const ArtboardPoint &rhs_) const 
Gets the angle of the vector (this, rhs_), if this were moved to the origin. More...  
virtual double  operator (const ArtboardPoint &rhs_) const 
Gets the distance between this and rhs_. More...  
Static Public Member Functions  
static ArtboardPoint  LengthAngle (const double length_, const Angle &angle_) 
"Named constructor" for a point that is a given length and angle away from the origin More...  
Public Attributes  
double  x 
Position on the xaxis.  
double  y 
Position on the yaxis.  
Friends  
plugin::ArtboardPoint *  __accessImpl (const ArtboardPoint &) 
ArtboardPoint  __accessCtor (const plugin::ArtboardPoint &) 
Describes a point on the Illustrator artboard.
hdi::core::ArtboardPoint::ArtboardPoint  (  ) 
Default ArtboardPoint constructor, setting the point to (0,0)
hdi::core::ArtboardPoint::ArtboardPoint  (  const ArtboardPoint &  pt_  ) 
hdi::core::ArtboardPoint::ArtboardPoint  (  const double  x_, 
const double  y_  
) 
ArtboardPoint constructor, taking x and y arguments.
x_  Location of the item on the xaxis 
y_  Location of the item on the yaxis 

virtual 
ArtboardPoint destructor.

virtual 
Gets whether a given point is within a certain tolerance ("close to") the target point.
compare_  Point to compare with 
tol_  Tolerance between the points; a definition of what constitutes "close" 

virtual 
Gets the dot product of two ArtboardPoint objects.
p2_  Second ArtboardPoint object with which the dot product is calculated 

virtual 
Checks if the point is within the provided polygon.
points_[]  Points that describe the polygon 

static 
"Named constructor" for a point that is a given length and angle away from the origin
length_  Length away from the origin 
angle_  Angle that the point is rotated about the origin and away from the xaxis 

virtual 
"Moves" a point by a given length and angle away from its current position
length_  Length away from the current position 
angle_  Angle that the point is moved from the current position 

virtual 
Offsets a point along the x and yaxes by given amounts.
tx_  Amount to offset along the xaxis 
ty_  Amount to offset along the yaxis 

virtual 
Allows two ArtboardPoint objects to be compared with the != operator.
rhs_  Righthand side of the != operator 

virtual 
Allows a value to be multiplied with both this>x and this>y using the * operator.
rhs_  Righthand side of the * operator 

virtual 
Allows two points to have their x and y values multiplied using the * operator.
rhs_  Righthand side of the * operator 

virtual 
Allows a value to be multiplied with, and assigned to, both this>x and this>y using the = operator.
rhs_  Righthand side of the *= operator 

virtual 
Allows two points to have their x and y values multiplied and assigned using the *= operator.
rhs_  Righthand side of the *= operator 

virtual 
Allows a value to be added to both this>x and this>y using the + operator.
rhs_  Righthand side of the + operator 

virtual 
Allows two points to have their x and y values added using the + operator.
rhs_  Righthand side of the + operator 

virtual 
Allows a value to be added and assigned to both this>x and this>y using the += operator.
rhs_  Righthand side of the += operator 

virtual 
Allows two points to have their x and y values added and assigned using the += operator.
rhs_  Righthand side of the += operator 

virtual 
Allows a value to be subtracted from both this>x and this>y using the  operator.
rhs_  Righthand side of the  operator 

virtual 
Allows two points to have their x and y values subtracted using the  operator.
rhs_  Righthand side of the  operator 

virtual 
Allows a value to be subtracted from, and assigned to, both this>x and this>y using the = operator.
rhs_  Righthand side of the = operator 

virtual 
Allows two points to have their x and y values subtracted and assigned using the = operator.
rhs_  Righthand side of the = operator 

virtual 
Allows both this>x and this>y to be divided by a value using the / operator.
rhs_  Righthand side of the / operator 

virtual 
Allows two points to have their x and y values divided using the / operator.
rhs_  Righthand side of the / operator 

virtual 
Allows both this>x and this>y to be divided by a value, and assigned, using the /= operator.
rhs_  Righthand side of the /= operator 

virtual 
Allows two points to have their x and y values divided and assigned using the /= operator.
rhs_  Righthand side of the /= operator 

virtual 
Allows two ArtboardPoint objects to be compared with the < operator.
rhs_  Righthand side of the < operator 

virtual 
Allows two ArtboardPoint objects to be compared with the <= operator.
rhs_  Righthand side of the <= operator 

virtual 
Allows one ArtboardPoint object to be assigned from another.
rhs_  Righthand side of the = operator; the object to copy values from 

virtual 
Allows two ArtboardPoint objects to be compared with the == operator.
rhs_  Righthand side of the == operator 

virtual 
Allows two ArtboardPoint objects to be compared with the > operator.
rhs_  Righthand side of the > operator 

virtual 
Allows two ArtboardPoint objects to be compared with the >= operator.
rhs_  Righthand side of the >= operator 

virtual 
Gets the angle of the vector (this, rhs_), if this were moved to the origin.
rhs_  Righthand side of the ^ operator (called the angle operator in this case) 

virtual 
Gets the distance between this and rhs_.
rhs_  Righthand side of the  operator (called the length operator in this case) 

virtual 
Rotates the point about a given "origin" point by a certain angle.
origin_  New "origin" to rotate around 
angle_  Angle to rotate by 

virtual 
Transforms a point via a 2dimensional transformation matrix.
m_  Transformation matrix to apply to the point 