#include <CGAL/Direction_2.h>
| |
introduces the direction d of vector .
| |
| |
introduces a direction d passing through the point at
.
|
|
|
returns the i'th value of the slope of d.
Precondition: : . |
|
| returns the value of the slope of d. |
|
| returns the value of the slope of d. |
There is a total order on directions. We compare the angles between the positive -axis and the directions in counterclockwise order.
|
| Test for equality. |
|
| Test for inequality. |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
| ||
| The direction opposite to d. |
|
| returns a vector that has the same direction as d. |
| ||
| ||
returns the direction obtained by applying on d. |