#include <iostream>
#include <string>
#include <cmath>
Go to the source code of this file.
◆ crossZ()
Calculates z-component of the cross product of two points in 2D.
- Parameters
-
| [in] | a | first point |
| [in] | b | second point |
- Returns
- z-component of the cross product
- Warning
- Incorrect result for self-intersection polygons.
Definition at line 66 of file form.h.
◆ dist()
Calculates the Euclidian distance between two points in 2D.
- Parameters
-
| [in] | a | first point |
| [in] | b | second point |
- Returns
- Euclidian distance
Definition at line 53 of file form.h.
◆ euclid_dist() [1/2]
| float euclid_dist |
( |
const Form & |
a, |
|
|
const Form & |
b |
|
) |
| |
|
inline |
◆ euclid_dist() [2/2]
| float euclid_dist |
( |
const Form * |
a, |
|
|
const Form * |
b |
|
) |
| |
|
inline |
◆ kleiner()
| bool kleiner |
( |
const Form * |
a, |
|
|
const Form * |
b |
|
) |
| |
◆ operator<()
| bool operator< |
( |
const Form & |
a, |
|
|
const Form & |
b |
|
) |
| |
◆ operator<<() [1/2]
| std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const Form & |
rhs |
|
) |
| |
◆ operator<<() [2/2]
| std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const Point2D & |
rhs |
|
) |
| |
Output operator for class Point2D.
- Parameters
-
| [in,out] | s | output stream |
| [in] | rhs | class instance |
- Returns
- output stream