CGAL 6.0 - 2D Arrangements
|
#include <CGAL/Arr_geodesic_arc_on_sphere_traits_2.h>
The Point_2
class nested within the traits is used to represent a point on a sphere centered at the origin.
The point is in fact a not-necessarily normalized 3D direction extended with information that specifies the location of the point pre-image in the parameter space.
Assignable
DefaultConstructible
CopyConstructible
Enumeration types | |
enum | Location_type { NO_BOUNDARY_LOC = 0 , MIN_BOUNDARY_LOC , MID_BOUNDARY_LOC , MAX_BOUNDARY_LOC } |
The location type indicates a location in the parameter space. More... | |
Types | |
typedef Kernel::Direction_3 | Direction_3 |
Creation | |
Point_2 (const Direction_3 &dir, Location_type location) | |
Constructs a point from a direction and a location. | |
Operations | |
void | set_location (Location_type location) |
Set the location of the point pre-image in the parameter space. | |
Location_type | location () const |
Obtain the location of the point. | |
enum CGAL::Arr_geodesic_arc_on_sphere_traits_2::Point_2::Location_type |
The location type indicates a location in the parameter space.
CGAL::Arr_geodesic_arc_on_sphere_traits_2< Kernel, X, Y >::Point_2::Point_2 | ( | const Direction_3 & | dir, |
Location_type | location | ||
) |
Constructs a point from a direction and a location.
[in] | dir | the direction. |
[in] | location | indicates the location of the point pre-image in the parameter space. |
Location_type CGAL::Arr_geodesic_arc_on_sphere_traits_2< Kernel, X, Y >::Point_2::location | ( | ) | const |
Obtain the location of the point.
void CGAL::Arr_geodesic_arc_on_sphere_traits_2< Kernel, X, Y >::Point_2::set_location | ( | Location_type | location | ) |
Set the location of the point pre-image in the parameter space.
[in] | location | the updated location of the point pre-image in the parameter space. |