a48  2.0.2
a48::AdaptiveFaceT< Traits > Class Template Reference

Base type for an adaptive 4-8 face (assuming a triangle) More...

#include <facet.hh>

Inheritance diagram for a48::AdaptiveFaceT< Traits >:
a48::FaceT< Traits >

List of all members.

Public Types

typedef Traits::vertex_type vertex_type
 vertex definition
typedef Traits::halfedge_type halfedge_type
 halfedge definition

Public Member Functions

 AdaptiveFaceT ()
 Default Constructor.
 AdaptiveFaceT (halfedge_type *_h)
const halfedge_typesplit_halfedge (void) const
halfedge_typesplit_halfedge (void)
 Gets the split halfedge.
const vertex_typeweld_vertex (void) const
vertex_typeweld_vertex (void)
 Gets the weld vertex.
unsigned int level (void) const
 Gets face resolution level.

Detailed Description

template<class Traits>
class a48::AdaptiveFaceT< Traits >

Base type for an adaptive 4-8 face (assuming a triangle)

See also:
AdaptiveMeshT
Template Parameters:
TraitsTemplate argument to access mesh-base definitions
Examples:
example_adaptivemesht.cc, example_adaptivepolicy.cc, example_adaptivetraits.h, example_gl.cc, and example_meshalgorithms.cc.

Definition at line 107 of file facet.hh.


Member Typedef Documentation

template<class Traits >
typedef Traits::vertex_type a48::AdaptiveFaceT< Traits >::vertex_type

vertex definition

Definition at line 111 of file facet.hh.

template<class Traits >
typedef Traits::halfedge_type a48::AdaptiveFaceT< Traits >::halfedge_type

halfedge definition

Reimplemented from a48::FaceT< Traits >.

Definition at line 112 of file facet.hh.


Constructor & Destructor Documentation

template<class Traits >
a48::AdaptiveFaceT< Traits >::AdaptiveFaceT ( ) [inline]

Default Constructor.

Definition at line 115 of file facet.hh.

template<class Traits >
a48::AdaptiveFaceT< Traits >::AdaptiveFaceT ( halfedge_type _h) [inline]

Constructor

Parameters:
[in]_hHalfedge this face will point to

Definition at line 120 of file facet.hh.


Member Function Documentation

template<class Traits >
const halfedge_type * a48::AdaptiveFaceT< Traits >::split_halfedge ( void  ) const [inline]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Returns:
Constant halfedge pointer

Definition at line 128 of file facet.hh.

References a48::FaceT< Traits >::halfedge().

template<class Traits >
halfedge_type* a48::AdaptiveFaceT< Traits >::split_halfedge ( void  ) [inline]

Gets the split halfedge.

The split halfedge is defined to be the halfedge this face points to. Note that when the set_base mesh method is called, the first halfedge defined for each face is this special halfedge.

Returns:
Halfedge pointer

Definition at line 138 of file facet.hh.

References a48::FaceT< Traits >::halfedge().

template<class Traits >
const vertex_type * a48::AdaptiveFaceT< Traits >::weld_vertex ( void  ) const [inline]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Returns:
Vertex pointer

Definition at line 143 of file facet.hh.

References a48::FaceT< Traits >::halfedge().

template<class Traits >
vertex_type* a48::AdaptiveFaceT< Traits >::weld_vertex ( void  ) [inline]

Gets the weld vertex.

The weld vertex is defined as the opposite vertex of the split halfedge. The face is assumed to be a triangular face.

See also:
split_halfedge
Returns:
Vertex pointer

Definition at line 153 of file facet.hh.

References a48::FaceT< Traits >::halfedge().

template<class Traits >
unsigned int a48::AdaptiveFaceT< Traits >::level ( void  ) const [inline]

Gets face resolution level.

Returns:
Max resolution among the three face vertices (assuming a triangle)

Definition at line 158 of file facet.hh.

References a48::FaceT< Traits >::halfedge().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Typedefs