CGAL 5.1 - 2D Circular Geometry Kernel
CGAL::Circular_arc_point_2< CircularKernel > Class Template Reference

#include <CGAL/Circular_arc_point_2.h>

Definition

template<typename CircularKernel>
class CGAL::Circular_arc_point_2< CircularKernel >

Is Model Of:
CircularKernel::CircularArcPoint_2
See also
CGAL::Circular_arc_2<CircularKernel>
CGAL::Line_arc_2<CircularKernel>

Related Functions

(Note that these are not member functions.)

bool operator== (const Circular_arc_point_2< CircularKernel > &p, const Circular_arc_point_2< CircularKernel > &q)
 Test for equality. More...
 
bool operator!= (const Circular_arc_point_2< CircularKernel > &p, const Circular_arc_point_2< CircularKernel > &q)
 Test for nonequality. More...
 
bool operator< (const Circular_arc_point_2< CircularKernel > &p, const Circular_arc_point_2< CircularKernel > &q)
 Returns true iff p is lexicographically smaller than q, i.e. either if p.x() < q.x() or if p.x() == q.x() and p.y() < q.y(). More...
 
bool operator> (const Circular_arc_point_2< CircularKernel > &p, const Circular_arc_point_2< CircularKernel > &q)
 Returns true iff p is lexicographically greater than q. More...
 
bool operator<= (const Circular_arc_point_2< CircularKernel > &p, const Circular_arc_point_2< CircularKernel > &q)
 Returns true iff p is lexicographically smaller than or equal to q. More...
 
bool operator>= (const Circular_arc_point_2< CircularKernel > &p, const Circular_arc_point_2< CircularKernel > &q)
 Returns true iff p is lexicographically greater than or equal to q. More...
 
istream & operator>> (std::istream &is, Circular_arc_point_2 &cp)
 
ostream & operator<< (std::ostream &os, const Circular_arc_point_2 &ce)
 

Creation

 Circular_arc_point_2 (const CircularKernel::Point_2 &q)
 
 Circular_arc_point_2 (const CircularKernel::Root_for_circles_2_2 &r)
 

Access Functions

const CircularKernel::Root_of_2x ()
 x-coordinate of the point. More...
 
const CircularKernel::Root_of_2y ()
 y-coordinate of the point. More...
 
Bbox_2 bbox () const
 Returns a bounding box around the point. More...
 

Constructor & Destructor Documentation

◆ Circular_arc_point_2() [1/2]

template<typename CircularKernel >
CGAL::Circular_arc_point_2< CircularKernel >::Circular_arc_point_2 ( const CircularKernel::Point_2 q)

◆ Circular_arc_point_2() [2/2]

Member Function Documentation

◆ bbox()

template<typename CircularKernel >
Bbox_2 CGAL::Circular_arc_point_2< CircularKernel >::bbox ( ) const

Returns a bounding box around the point.

◆ x()

template<typename CircularKernel >
const CircularKernel::Root_of_2& CGAL::Circular_arc_point_2< CircularKernel >::x ( )

x-coordinate of the point.

◆ y()

template<typename CircularKernel >
const CircularKernel::Root_of_2& CGAL::Circular_arc_point_2< CircularKernel >::y ( )

y-coordinate of the point.

Friends And Related Function Documentation

◆ operator!=()

template<typename CircularKernel >
bool operator!= ( const Circular_arc_point_2< CircularKernel > &  p,
const Circular_arc_point_2< CircularKernel > &  q 
)
related

Test for nonequality.

◆ operator<()

template<typename CircularKernel >
bool operator< ( const Circular_arc_point_2< CircularKernel > &  p,
const Circular_arc_point_2< CircularKernel > &  q 
)
related

Returns true iff p is lexicographically smaller than q, i.e. either if p.x() < q.x() or if p.x() == q.x() and p.y() < q.y().

◆ operator<<()

template<typename CircularKernel >
ostream & operator<< ( std::ostream &  os,
const Circular_arc_point_2< CircularKernel > &  ce 
)
related

◆ operator<=()

template<typename CircularKernel >
bool operator<= ( const Circular_arc_point_2< CircularKernel > &  p,
const Circular_arc_point_2< CircularKernel > &  q 
)
related

Returns true iff p is lexicographically smaller than or equal to q.

◆ operator==()

template<typename CircularKernel >
bool operator== ( const Circular_arc_point_2< CircularKernel > &  p,
const Circular_arc_point_2< CircularKernel > &  q 
)
related

Test for equality.

Two points are equal, iff their x and y coordinates are equal.

◆ operator>()

template<typename CircularKernel >
bool operator> ( const Circular_arc_point_2< CircularKernel > &  p,
const Circular_arc_point_2< CircularKernel > &  q 
)
related

Returns true iff p is lexicographically greater than q.

◆ operator>=()

template<typename CircularKernel >
bool operator>= ( const Circular_arc_point_2< CircularKernel > &  p,
const Circular_arc_point_2< CircularKernel > &  q 
)
related

Returns true iff p is lexicographically greater than or equal to q.

◆ operator>>()

template<typename CircularKernel >
istream & operator>> ( std::istream &  is,
Circular_arc_point_2< CircularKernel > &  cp 
)
related