Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

_point2d_list< L, P, V > Class Template Reference

#include <point2d.H>

Inherits ARRAY< P >.

List of all members.

Public Methods

 _point2d_list (int m=16)
 _point2d_list (const ARRAY< P > &p)
int contains (const TPLIST &list) const
int contains (const P &p) const
bool ray_intersect (const P &p, const V &d, P &hit, int loop=0) const
ray_intersect (const P &p, const V &d, int k0, int k1) const
Greal dist_to_seg (const P &p, int k) const
Greal avg_dist_to_seg (const P &p, int k) const
int nearest_point (const P &p) const
average () const
void closest (const P &p, P &, Greal &, int &) const
Greal closest (const P &p, P &, int &) const
closest (const P &p) const
void update_length ()
Greal partial_length (int i) const
Greal length () const
Greal segment_length (int i) const
get_tangent (Greal s) const
interpolate (Greal s, V *tan=0, int *segp=0, Greal *tp=0) const
void interpolate_length (Greal s, int &seg, Greal &t) const
Greal invert (const P &p) const
Greal invert (const P &p, int seg) const
L * clone_piece (int k1, int k2) const
void append (TPLIST *poly)
void prepend (TPLIST *poly)

Protected Attributes

ARRAY< Greal_partial_length
Greal _length

template<class L, class P, class V>
class _point2d_list< L, P, V >


Constructor & Destructor Documentation

template<class L, class P, class V>
_point2d_list< L, P, V >::_point2d_list int    m = 16 [inline]
 

template<class L, class P, class V>
_point2d_list< L, P, V >::_point2d_list const ARRAY< P > &    p [inline]
 


Member Function Documentation

template<class L, class P, class V>
void _point2d_list< L, P, V >::append TPLIST *    poly
 

template<class L, class P, class V>
TEMPLATE_INLINE P _point2d_list< L, P, V >::average  
 

template<class L, class P, class V>
TEMPLATE_INLINE Greal _point2d_list< L, P, V >::avg_dist_to_seg const P &    p,
int    k
const
 

template<class L, class P, class V>
TEMPLATE_INLINE L * _point2d_list< L, P, V >::clone_piece int    k1,
int    k2
const
 

template<class L, class P, class V>
TEMPLATE_INLINE P _point2d_list< L, P, V >::closest const P &    p const
 

template<class L, class P, class V>
TEMPLATE_INLINE Greal _point2d_list< L, P, V >::closest const P &    p,
P &   ,
int &   
const
 

template<class L, class P, class V>
TEMPLATE_INLINE void _point2d_list< L, P, V >::closest const P &    p,
P &   ,
Greal  ,
int &   
const
 

template<class L, class P, class V>
TEMPLATE_INLINE int _point2d_list< L, P, V >::contains const P &    p const
 

Reimplemented from ARRAY< P >.

template<class L, class P, class V>
int _point2d_list< L, P, V >::contains const TPLIST &    list const
 

template<class L, class P, class V>
TEMPLATE_INLINE Greal _point2d_list< L, P, V >::dist_to_seg const P &    p,
int    k
const
 

template<class L, class P, class V>
TEMPLATE_INLINE V _point2d_list< L, P, V >::get_tangent Greal    s const
 

template<class L, class P, class V>
TEMPLATE_INLINE P _point2d_list< L, P, V >::interpolate Greal    s,
V *    tan = 0,
int *    segp = 0,
Greal   tp = 0
const
 

template<class L, class P, class V>
TEMPLATE_INLINE void _point2d_list< L, P, V >::interpolate_length Greal    s,
int &    seg,
Greal   t
const
 

template<class L, class P, class V>
TEMPLATE_INLINE Greal _point2d_list< L, P, V >::invert const P &    p,
int    seg
const
 

template<class L, class P, class V>
TEMPLATE_INLINE Greal _point2d_list< L, P, V >::invert const P &    p const
 

template<class L, class P, class V>
Greal _point2d_list< L, P, V >::length   const [inline]
 

template<class L, class P, class V>
TEMPLATE_INLINE int _point2d_list< L, P, V >::nearest_point const P &    p const
 

template<class L, class P, class V>
Greal _point2d_list< L, P, V >::partial_length int    i const [inline]
 

template<class L, class P, class V>
void _point2d_list< L, P, V >::prepend TPLIST *    poly
 

template<class L, class P, class V>
TEMPLATE_INLINE P _point2d_list< L, P, V >::ray_intersect const P &    p,
const V &    d,
int    k0,
int    k1
const
 

template<class L, class P, class V>
TEMPLATE_INLINE bool _point2d_list< L, P, V >::ray_intersect const P &    p,
const V &    d,
P &    hit,
int    loop = 0
const
 

template<class L, class P, class V>
Greal _point2d_list< L, P, V >::segment_length int    i const [inline]
 

template<class L, class P, class V>
TEMPLATE_INLINE void _point2d_list< L, P, V >::update_length  
 


Member Data Documentation

template<class L, class P, class V>
Greal _point2d_list< L, P, V >::_length [protected]
 

template<class L, class P, class V>
ARRAY<Greal> _point2d_list< L, P, V >::_partial_length [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 15 16:25:58 2003 for gluebase by doxygen1.2.18