topology Namespace Reference


Detailed Description

Container for the topology domain.

Here, we have implemented structures which are useful for the algorithms, in order to return a result. In this case, we can reuse the result with another algorithm. For instance, in this namespace, we have the structure points and the structure graph of points which are useful in the topology algorithms.


Classes

struct  box3d
 Structure to keep track of the coordinates of the box. More...
struct  point
 The topology point structure. More...
class  point3d
struct  segment
 Structure that defines a segment. More...
struct  vertex
 The vertex structure for meshing implicit surface. More...
struct  point_set
 Structure that defines a point_set. More...
struct  triangle_set
struct  point_complex
 The point complex structure. More...
class  triangle
struct  ltpts
 The order structure for the map. More...
struct  point_graph
 The point graph structure. More...

Functions

template<class C, class R>
int ptcmp (const topology::point< C, R > &p1, const topology::point< C, R > &p2)
template<class C, class R>
std::ostream & operator<< (std::ostream &os, const topology::point< C, R > &P)
template<class C, class R>
std::istream & operator>> (std::istream &is, topology::point< C, R > &P)
template<class C>
bool operator== (const topology::point3d< C > &p1, const topology::point3d< C > &p2)
template<class C>
std::ostream & operator<< (std::ostream &os, const topology::point3d< C > &p)
template<class C, class POINTGRAPH, class MPOL, class MTH>
void assign (POINTGRAPH &g, const MPOL &p0, MTH mth, const C &x0, const C &x1, const C &y0, const C &y1, const C &z0, const C &z1)
template<class C, class U, class CELL, class SLV>
void assign (point_graph< C > &g, const MPol< U > &p1, const MPol< U > &p2, TopSbdCurve3d< C, CELL, SLV > slv, double x0, double x1, double y0, double y1, double z0, double z1)
template<class Point>
std::ostream & operator<< (std::ostream &os, const topology::segment< Point > &s)
template<class Point>
std::istream & operator>> (std::istream &is, topology::segment< Point > &s)
template<class Point>
std::ostream & print (std::ostream &os, const topology::segment< Point > &t)
template<class Point>
bool operator== (const vertex< Point > &v1, const vertex< Point > &v2)
template<class Point>
std::ostream & operator<< (std::ostream &os, const vertex< Point > &v)
template<class C, class R>
std::ostream & print (std::ostream &os, const topology::point_set< C, R > &s)
template<class Point>
std::ostream & operator<< (std::ostream &os, const topology::point_set< Point > &s)
template<class Point>
std::istream & operator>> (std::istream &is, topology::point_set< Point > &s)
template<class Point>
std::ostream & operator<< (std::ostream &os, const topology::triangle_set< Point > &t)
template<class Point>
std::ostream & print (std::ostream &os, const topology::triangle_set< Point > &t)
template<class C, class U>
void assign (point_graph< C > &g, const MPol< U > &eq, TopSweep2d< C > mth)
template<class C, class U>
void assign (point_graph< C > &g, const MPol< U > &P1, const MPol< U > &P2, TopSweep2d< C > mth)
template<class C, class R, class E, class F>
void print (geomview::ostream &out, const point_complex< C, R, E, F > &G, float r=0.0, float g=0.0, float b=0.9, float a=1., float sz=0.01)
template<class C, class R, class E, class F>
geomview::ostream & operator<< (geomview::ostream &os, const point_complex< C, R, E, F > &G)
template<class C, class U>
void assign (point_graph< C > &r, const MPol< U > &s, TopSbdBdg2d< C > mth, C x0, C x1, C y0, C y1, unsigned Z=1)
template<class C, class R>
std::ostream & operator<< (std::ostream &os, const point_graph< C, R > &g)
template<class C, class R, class S>
void print (char *file, const point_graph< C, R, S > &G, float r=0.0, float g=0.0, float b=0.9, float a=1., float sz=0.01)
template<class C, class R, class S>
geomview::ostream & operator<< (geomview::ostream &os, const point_graph< C, R, S > &G)
template<class C, class R, class S>
axel::ostream & operator<< (axel::ostream &os, const point_graph< C, R, S > &G)


Function Documentation

template<class Point>
std::ostream& topology::operator<< ( std::ostream &  os,
const topology::triangle_set< Point > &  t 
)

Output stream.

Definition at line 70 of file triangle_set.h.

References print().

template<class Point>
std::ostream& topology::operator<< ( std::ostream &  os,
const topology::point_set< Point > &  s 
)

Output stream.

Definition at line 86 of file point_set.h.

References print().

template<class Point>
std::ostream& topology::operator<< ( std::ostream &  os,
const vertex< Point > &  v 
)

The operator << .
This operator allows us to display a vertex.

Definition at line 66 of file vertex.h.

template<class Point>
std::ostream& topology::operator<< ( std::ostream &  os,
const topology::segment< Point > &  s 
)

Output stream.

Definition at line 54 of file segment.h.

template<class C>
std::ostream& topology::operator<< ( std::ostream &  os,
const topology::point3d< C > &  p 
)

Output stream.

Definition at line 89 of file point3d.h.

template<class C, class R>
std::ostream& topology::operator<< ( std::ostream &  os,
const topology::point< C, R > &  P 
)

The operator << .
This operator allows us to display a point.

Definition at line 356 of file point.h.

template<class Point>
bool topology::operator== ( const vertex< Point > &  v1,
const vertex< Point > &  v2 
)

Comparison operator.

Definition at line 57 of file vertex.h.

References topology::vertex< Point >::point.

template<class C>
bool topology::operator== ( const topology::point3d< C > &  p1,
const topology::point3d< C > &  p2 
)

Equality operator.

Definition at line 81 of file point3d.h.

References topology::point3d< Typ >::x, topology::point3d< Typ >::y, and topology::point3d< Typ >::z.

template<class Point>
std::istream& topology::operator>> ( std::istream &  is,
topology::point_set< Point > &  s 
)

The operator >> .
This operator allows us to read a point_set.

Definition at line 98 of file point_set.h.

template<class Point>
std::istream& topology::operator>> ( std::istream &  is,
topology::segment< Point > &  s 
)

The operator >> .
This operator allows us to read a segment.

Definition at line 66 of file segment.h.

References topology::segment< Point >::a, and topology::segment< Point >::b.

template<class C, class R>
std::istream& topology::operator>> ( std::istream &  is,
topology::point< C, R > &  P 
)

The operator >> .
This operator allows us to read a point.

Definition at line 375 of file point.h.

References topology::point< C, R >::data.

template<class C, class R>
std::ostream& topology::print ( std::ostream &  os,
const topology::point_set< C, R > &  s 
)

Another output stream for the geomview format.

Definition at line 74 of file point_set.h.

References topology::point_set< C, Point >::begin(), and topology::point_set< C, Point >::end().

Referenced by operator<<(), MPOLDST::print(), and MONOMIAL::print().

template<class Point>
std::ostream& topology::print ( std::ostream &  os,
const topology::segment< Point > &  t 
)

Another output stream for the geomview format.

Definition at line 77 of file segment.h.

References topology::segment< Point >::a, and topology::segment< Point >::b.

Referenced by assign(), and operator<<().

template<class C, class R>
int topology::ptcmp ( const topology::point< C, R > &  p1,
const topology::point< C, R > &  p2 
)

Parameters:
p1 a point.
p2 a point.
Compare the position of two points.
Returns:
  • -1 if p1 is under p2
  • 0 if p1 == p2
  • 1 otherwise

Definition at line 294 of file point.h.

References topology::point< C, R >::data, and topology::point< C, R >::size().

Referenced by topology::point_graph< C, R, E >::access(), topology::point_graph< C, R, E >::insert(), and topology::ltpts< Pt >::operator()().


SYNAPS DOCUMENTATION
logo