Assignments Assignments

Public Member Functions | List of all members
Image::OrientedLineSegmentPairs Class Reference

`#include <lineSegments.h>`

Inheritance diagram for Image::OrientedLineSegmentPairs:

## Public Member Functions
Util::Point2D | getSourcePosition (Util::Point2D destination) const

## Detailed Description

This class represents an ordered list of corresponding line segment pairs.

## Member Function Documentation

## ◆ getSourcePosition()

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.

The documentation for this class was generated from the following files:

- Assignments/Image/lineSegments.h
- Assignments/Image/lineSegments.cpp