BWAPI
|
#include <Arr_geodesic_arc_on_sphere_traits_2.h>
Public Types | |
enum | Location_type { NO_BOUNDARY_LOC, MIN_BOUNDARY_LOC, MID_BOUNDARY_LOC, MAX_BOUNDARY_LOC } |
typedef Kernel::FT | FT |
typedef Kernel::Direction_3 | Direction_3 |
Public Member Functions | |
Arr_extended_direction_3 () | |
Arr_extended_direction_3 (const Direction_3 &dir, Location_type location) | |
Arr_extended_direction_3 (const FT &x, const FT &y, const FT &z) | |
Arr_extended_direction_3 (const Direction_3 &dir) | |
void | init (const Direction_3 &dir) |
Arr_extended_direction_3 (const Arr_extended_direction_3 &ed) | |
Arr_extended_direction_3 & | operator= (const Arr_extended_direction_3 &ed) |
Location_type | discontinuity_type () const |
bool | is_no_boundary () const |
bool | is_min_boundary () const |
bool | is_mid_boundary () const |
bool | is_max_boundary () const |
Represent an extended 3D direction that is used in turn to represent a spherical-arc endpoint. The extended data consists of two flags that indicate whether the point is on the x and on a y boundaries, respectively.
typedef Kernel::Direction_3 Arr_extended_direction_3< Kernel >::Direction_3 |
typedef Kernel::FT Arr_extended_direction_3< Kernel >::FT |
enum Arr_extended_direction_3::Location_type |
Arr_extended_direction_3< Kernel >::Arr_extended_direction_3 | ( | ) | [inline] |
Default constructor
Arr_extended_direction_3< Kernel >::Arr_extended_direction_3 | ( | const Direction_3 & | dir, |
Location_type | location | ||
) | [inline] |
Constructor
Arr_extended_direction_3< Kernel >::Arr_extended_direction_3 | ( | const FT & | x, |
const FT & | y, | ||
const FT & | z | ||
) | [inline] |
Constructor
x | the x coordinate |
y | the y coordinate |
z | the z coordinate |
Arr_extended_direction_3< Kernel >::Arr_extended_direction_3 | ( | const Direction_3 & | dir | ) | [inline] |
Constructor from a direction
dir | the direction |
Arr_extended_direction_3< Kernel >::Arr_extended_direction_3 | ( | const Arr_extended_direction_3< Kernel > & | ed | ) | [inline] |
Copy constructor
Location_type Arr_extended_direction_3< Kernel >::discontinuity_type | ( | ) | const [inline] |
Obtain the discontinuity type of the point
void Arr_extended_direction_3< Kernel >::init | ( | const Direction_3 & | dir | ) | [inline] |
Initialize from a direction
dir | the direction |
bool Arr_extended_direction_3< Kernel >::is_max_boundary | ( | ) | const [inline] |
bool Arr_extended_direction_3< Kernel >::is_mid_boundary | ( | ) | const [inline] |
bool Arr_extended_direction_3< Kernel >::is_min_boundary | ( | ) | const [inline] |
bool Arr_extended_direction_3< Kernel >::is_no_boundary | ( | ) | const [inline] |
Arr_extended_direction_3& Arr_extended_direction_3< Kernel >::operator= | ( | const Arr_extended_direction_3< Kernel > & | ed | ) | [inline] |
Assignment operator