Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Segment_3< R, T > Class Template Reference

#include <cartesian_classes.h>

Inheritance diagram for Segment_3< R, T >:
Collaboration diagram for Segment_3< R, T >:

Public Types

typedef R_ R
 
typedef R::RT RT
 
typedef R::FT FT
 
typedef R::Segment_3_base RSegment_3
 

Public Member Functions

 Segment_3 ()
 
 Segment_3 (const CGAL::Segment_3< R > &s)
 
 Segment_3 (const CGAL::Point_3< R > &sp, const CGAL::Point_3< R > &ep)
 
 Segment_3 (const RSegment_3 &s)
 
bool has_on (const CGAL::Point_3< R > &p) const
 
bool operator== (const CGAL::Segment_3< R > &s) const
 
bool operator!= (const CGAL::Segment_3< R > &s) const
 
CGAL::Point_3< Rstart () const
 
CGAL::Point_3< Rend () const
 
CGAL::Point_3< Rsource () const
 
CGAL::Point_3< Rtarget () const
 
CGAL::Point_3< Rmin () const
 
CGAL::Point_3< Rmax () const
 
CGAL::Point_3< Rvertex (int i) const
 
CGAL::Point_3< Roperator[] (int i) const
 
FT squared_length () const
 
CGAL::Direction_3< Rdirection () const
 
CGAL::Segment_3< Ropposite () const
 
CGAL::Segment_3< Rtransform (const CGAL::Aff_transformation_3< R > &t) const
 
CGAL::Line_3< Rsupporting_line () const
 
bool is_degenerate () const
 
Bbox_3 bbox () const
 

Detailed Description

template<class R, class T = typename R::Rep_tag>
class Segment_3< R, T >

Definition at line 83 of file cartesian_classes.h.

Member Typedef Documentation

typedef R::FT FT

Definition at line 87 of file Segment_3.h.

typedef R_ R

Definition at line 85 of file Segment_3.h.

typedef R::Segment_3_base RSegment_3

Definition at line 88 of file Segment_3.h.

typedef R::RT RT

Definition at line 86 of file Segment_3.h.

Constructor & Destructor Documentation

Segment_3 ( )
inline

Definition at line 90 of file Segment_3.h.

90  : RSegment_3()
91  {}
R::Segment_3_base RSegment_3
Definition: Segment_3.h:88
Segment_3 ( const CGAL::Segment_3< R > &  s)
inline

Definition at line 92 of file Segment_3.h.

92  : RSegment_3(s)
93  {}
double s
Definition: blastest.C:80
R::Segment_3_base RSegment_3
Definition: Segment_3.h:88
Segment_3 ( const CGAL::Point_3< R > &  sp,
const CGAL::Point_3< R > &  ep 
)
inline

Definition at line 94 of file Segment_3.h.

95  : RSegment_3(sp,ep)
96  {}
R::Segment_3_base RSegment_3
Definition: Segment_3.h:88
Segment_3 ( const RSegment_3< R, T > &  s)
inline

Definition at line 97 of file Segment_3.h.

97  : RSegment_3(s)
98  {}
double s
Definition: blastest.C:80
R::Segment_3_base RSegment_3
Definition: Segment_3.h:88

Member Function Documentation

Bbox_3 bbox ( ) const
inline

Definition at line 134 of file Segment_3.h.

References Segment_3< R, T >::source(), and Segment_3< R, T >::target().

135  { return source().bbox() + target().bbox(); }
CGAL::Point_3< R > target() const
Definition: Segment_3.h:112
CGAL::Point_3< R > source() const
Definition: Segment_3.h:110

Here is the call graph for this function:

CGAL::Direction_3<R> direction ( ) const
inline

Definition at line 124 of file Segment_3.h.

125  { return RSegment_3::direction(); }
CGAL::Point_3<R> end ( ) const
inline

Definition at line 108 of file Segment_3.h.

109  { return RSegment_3::end(); }
bool has_on ( const CGAL::Point_3< R > &  p) const
inline

Definition at line 100 of file Segment_3.h.

101  { return RSegment_3::has_on(p); }
bool is_degenerate ( ) const
inline

Definition at line 132 of file Segment_3.h.

133  { return RSegment_3::is_degenerate(); }
CGAL::Point_3<R> max ( ) const
inline

Definition at line 116 of file Segment_3.h.

References max().

117  { return RSegment_3::max(); }
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
Definition: Vector_n.h:354

Here is the call graph for this function:

CGAL::Point_3<R> min ( ) const
inline

Definition at line 114 of file Segment_3.h.

References min().

115  { return RSegment_3::min(); }
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
Definition: Vector_n.h:346

Here is the call graph for this function:

bool operator!= ( const CGAL::Segment_3< R > &  s) const
inline

Definition at line 104 of file Segment_3.h.

References s.

105  { return !(*this == s); }
double s
Definition: blastest.C:80
bool operator== ( const CGAL::Segment_3< R > &  s) const
inline

Definition at line 102 of file Segment_3.h.

References operator==().

103  { return RSegment_3::operator==(s); }
CGAL_END_NAMESPACE CGAL_BEGIN_NAMESPACE bool operator==(const Origin &o, const Point_2< R > &p)
Definition: Point_2.h:239
double s
Definition: blastest.C:80

Here is the call graph for this function:

CGAL::Point_3<R> operator[] ( int  i) const
inline

Definition at line 120 of file Segment_3.h.

References Segment_3< R, T >::vertex().

121  { return vertex(i); }
CGAL::Point_3< R > vertex(int i) const
Definition: Segment_3.h:118
blockLoc i
Definition: read.cpp:79

Here is the call graph for this function:

CGAL::Segment_3<R> opposite ( ) const
inline

Definition at line 126 of file Segment_3.h.

References Segment_3< R, T >::source(), and Segment_3< R, T >::target().

127  { return CGAL::Segment_3<R>(target(),source()); }
CGAL::Point_3< R > target() const
Definition: Segment_3.h:112
CGAL::Point_3< R > source() const
Definition: Segment_3.h:110

Here is the call graph for this function:

CGAL::Point_3<R> source ( ) const
inline

Definition at line 110 of file Segment_3.h.

Referenced by Segment_3< R, T >::bbox(), and Segment_3< R, T >::opposite().

111  { return RSegment_3::source(); }

Here is the caller graph for this function:

FT squared_length ( ) const
inline

Definition at line 122 of file Segment_3.h.

123  { return RSegment_3::squared_length(); }
CGAL::Point_3<R> start ( ) const
inline

Definition at line 106 of file Segment_3.h.

107  { return RSegment_3::start(); }
CGAL::Line_3<R> supporting_line ( ) const
inline

Definition at line 130 of file Segment_3.h.

131  { return RSegment_3::supporting_line(); }
CGAL::Point_3<R> target ( ) const
inline

Definition at line 112 of file Segment_3.h.

Referenced by Segment_3< R, T >::bbox(), and Segment_3< R, T >::opposite().

113  { return RSegment_3::target(); }

Here is the caller graph for this function:

CGAL::Segment_3<R> transform ( const CGAL::Aff_transformation_3< R > &  t) const
inline

Definition at line 128 of file Segment_3.h.

129  { return RSegment_3::transform(t); }
CGAL::Point_3<R> vertex ( int  i) const
inline

Definition at line 118 of file Segment_3.h.

Referenced by Segment_3< R, T >::operator[]().

119  { return RSegment_3::vertex(i); }
blockLoc i
Definition: read.cpp:79

Here is the caller graph for this function:


The documentation for this class was generated from the following files: