Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# lineOnField Struct Reference

`#include <SegmentationTools.h>`

Inheritance diagram for lineOnField:

[legend]
Collaboration diagram for lineOnField:

[legend]
List of all members.

## Public Member Functions
| lineOnField (point &p1, point &p2)
point | pt1 ()
point | pt2 ()
double | size ()
Geometry::Line | getLine ()
## Public Attributes
point | p1
point | p2

## Constructor & Destructor Documentation

lineOnField::lineOnField | ( | point & | p1,
|  | point & | p2
| ) | `[inline]`

| Definition at line 316 of file SegmentationTools.h.

## Member Function Documentation

point lineOnField::pt1 | ( |  | ) | `[inline]`

| Definition at line 321 of file SegmentationTools.h. References point. Referenced by theta2().

point lineOnField::pt2 | ( |  | ) | `[inline]`

| Definition at line 322 of file SegmentationTools.h. References point. Referenced by theta2().

double lineOnField::size | ( |  | ) | `[inline]`

| Definition at line 323 of file SegmentationTools.h.

Geometry::Line lineOnField::getLine | ( |  | ) | `[inline]`

| Definition at line 325 of file SegmentationTools.h. References Geometry::Line::base, Geometry::Line::direction, Vector2< V >::x, and Vector2< V >::y.

## Member Data Documentation

point lineOnField::p1

| Definition at line 314 of file SegmentationTools.h.

point lineOnField::p2

| Definition at line 314 of file SegmentationTools.h.

The documentation for this struct was generated from the following file:

- Modules/ImageProcessor/ImageProcessorTools/SegmentationTools.h