Assignments
Assignments
|
#include <lineSegments.h>
Public Member Functions | |
Util::Point2D | getSourcePosition (Util::Point2D destination) const |
This class represents an ordered list of corresponding line segment pairs.
Point2D OrientedLineSegmentPairs::getSourcePosition | ( | Util::Point2D | destination | ) | const |
This method sets the value of the source pixel position (sourceX,sourceY), given the destination pixel position. It computes the source position prescribed by each of the line segment pairs and sets the final source position as the weighted average.