Public Methods | |
oaPoint () | |
oaPoint (oaCoord xValIn, oaCoord yValIn) | |
oaPoint (const oaPoint &point, const oaTransform &xform) | |
oaCoord & | x () |
oaCoord & | y () |
oaCoord | x () const |
oaCoord | y () const |
void | set (oaCoord x, oaCoord y) |
void | transform (const oaTransform &xform, oaPoint &result) const |
void | transform (const oaTransform &xform) |
void | transform (oaDouble scale, oaDouble angle, oaPoint &result) const |
void | transform (oaDouble scale, oaDouble angle) |
oaDouble | distanceFrom2 (const oaPoint &point) const |
oaPoint & | operator+= (const oaPoint &pt) |
oaPoint & | operator-= (const oaPoint &pt) |
oaPoint | operator- () const |
oaPoint | operator- (const oaPoint &pt) const |
oaPoint | operator+ (const oaPoint &pt) const |
oaBoolean | operator== (const oaPoint &pt) const |
oaBoolean | operator!= (const oaPoint &pt) const |
Friends | |
class | oaChecker< oaPoint > |
A sequence of oaPoints is often specified with the oaPointArray class.
|
This function constructs an uninitialized oaPoint object. Accessing the coordinates at this point has indeterminate results. |
|
This function constructs an oaPoint object containing the specified X,Y coordinates.
|
|
This function constructs an oaPoint object that is a transformed copy of the specified point.
|
|
This function returns the square of the distance from this point to the specified point.
|
|
This operator compares this oaPoint with the specified oaPoint pt, and returns true if the points are not equal. |
|
This operator increments this point by the specified oaPoint pt and returns a new point with the result. |
|
This operator increments the point by the specified value.
|
|
This operator decrements this oaPoint by the specified oaPoint pt, and returns a new point with the result. |
|
This operator returns the negative of this oaPoint. |
|
This operator decrements the point by the specified value.
|
|
This operator compares this oaPoint with the specified oaPoint pt, and returns true if the specified points are equal. |
|
This function sets both coordinates of the point at once.
|
|
This function transforms this point by the specified scale factor and rotation angle. The point is rotated about the origin. |
|
This function transforms this point by the specified scale factor and rotation angle. The point is rotated about the origin. The result is stored in 'result', which can be the same point. |
|
This function transforms a point by the specified transform value and replaces the original point with the result.
|
|
This function transforms this point with the specified transform. The result is stored in result, which can be the same point.
|
|
This function returns the X value of this point. |
|
This function returns the reference of the X value of this point. |
|
This function returns the Y value of this point. |
|
This function returns the reference of the Y value of this point. |
|
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.