#include <BTransform.h>

Public Member Functions | |
| BTransform (const BTransform &rhs) | |
| Copy Constructor. | |
| BTransform (bool optimizeFor2D) | |
| Constructs a BTransform that may or may not be optimized to perform two-dimensional transformations. | |
| virtual bool | ConvertSourceToTarget (double &x, double &y) const =0 |
| Performs this BTransform in the forward direction. | |
| virtual BPoint | ConvertSourceToTarget (const BPoint &inPt) const =0 |
| Performs this BTransform in the forward direction. | |
| virtual bool | ConvertTargetToSource (double &x, double &y) const =0 |
| Performs the inverse of this BTransform. | |
| virtual BPoint | ConvertTargetToSource (const BPoint &inPt) const =0 |
| Performs the inverse of this BTransform. | |
| virtual double | ConvertXDistance (double dist, const BPoint &refPt) const |
| Converts a distance parallel to the x-axis, relative to the specified point, according to this BTransform. | |
| virtual double | ConvertXDistanceReverse (double dist, const BPoint &refPt) const |
| Converts a distance parallel to the x-axis, relative to the specified point, according to the inverse of this BTransform. | |
| virtual double | ConvertYDistance (double dist, const BPoint &refPt) const |
| Converts a distance parallel to the y-axis, relative to the specified point, according to this BTransform. | |
| virtual double | ConvertYDistanceReverse (double dist, const BPoint &refPt) const |
| Converts a distance parallel to the y-axis, relative to the specified point, according to the inverse of this BTransform. | |
| virtual bool | GetOptimizeFor2D () const |
| Indicates whether this BTransform is optimized for two-dimensional transformations or not. | |
| virtual ETransformType | GetType () const =0 |
| Indicates the type of this BTransform. | |
| virtual bool | IsValid (void) const =0 |
| Indicates whether or not the BTransform object is valid. | |
| virtual | ~BTransform () |
| Destructor. | |
| BTransform | ( | bool | optimizeFor2D | ) | [inline] |
Constructs a BTransform that may or may not be optimized to perform two-dimensional transformations.
| optimizeFor2D | Indicates if this BTransform will be optimized to perform two-dimensional transformations. |
| BTransform | ( | const BTransform & | rhs | ) | [inline] |
| virtual ~BTransform | ( | ) | [inline, virtual] |
Destructor.
| virtual bool ConvertSourceToTarget | ( | double & | x, | |
| double & | y | |||
| ) | const [pure virtual] |
Performs this BTransform in the forward direction.
| x | The x-coordinate of the input point. When this method returns, this will hold the x-coordinate of the transformed point. | |
| y | The y-coordinate of the input point. When this method returns, this will hold the y-coordinate of the transformed point. |
Implemented in BCoordTransform.
Performs this BTransform in the forward direction.
| inPt | The input point. |
Implemented in BCoordTransform.
| virtual bool ConvertTargetToSource | ( | double & | x, | |
| double & | y | |||
| ) | const [pure virtual] |
Performs the inverse of this BTransform.
| x | The x-coordinate of the input point. When this method returns, this will hold the x-coordinate of the transformed point. | |
| y | The y-coordinate of the input point. When this method returns, this will hold the y-coordinate of the transformed point. |
Implemented in BCoordTransform.
Performs the inverse of this BTransform.
| inPt | The input point. |
Implemented in BCoordTransform.
| virtual double ConvertXDistance | ( | double | dist, | |
| const BPoint & | refPt | |||
| ) | const [inline, virtual] |
Converts a distance parallel to the x-axis, relative to the specified point, according to this BTransform.
| dist | The distance value to be converted. | |
| refPt | The reference point. |
| virtual double ConvertXDistanceReverse | ( | double | dist, | |
| const BPoint & | refPt | |||
| ) | const [inline, virtual] |
Converts a distance parallel to the x-axis, relative to the specified point, according to the inverse of this BTransform.
| dist | The distance value to be converted. | |
| refPt | The reference point. |
| virtual double ConvertYDistance | ( | double | dist, | |
| const BPoint & | refPt | |||
| ) | const [inline, virtual] |
Converts a distance parallel to the y-axis, relative to the specified point, according to this BTransform.
| dist | The distance value to be converted. | |
| refPt | The reference point. |
| virtual double ConvertYDistanceReverse | ( | double | dist, | |
| const BPoint & | refPt | |||
| ) | const [inline, virtual] |
Converts a distance parallel to the y-axis, relative to the specified point, according to the inverse of this BTransform.
| dist | The distance value to be converted. | |
| refPt | The reference point. |
| virtual bool GetOptimizeFor2D | ( | ) | const [inline, virtual] |
Indicates whether this BTransform is optimized for two-dimensional transformations or not.
| virtual ETransformType GetType | ( | ) | const [pure virtual] |
Indicates the type of this BTransform.
Implemented in BCoordTransform.
| virtual bool IsValid | ( | void | ) | const [pure virtual] |
Indicates whether or not the BTransform object is valid.
Implemented in BCoordTransform.