Public Member Functions | Protected Attributes
gtrl_triangle Class Reference

#include <gtrl_triangle.h>

Inheritance diagram for gtrl_triangle:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 gtrl_triangle (gtrl_vertex_sptr p1, gtrl_vertex_sptr p2, gtrl_vertex_sptr p3)
 gtrl_triangle (gtrl_triangle const &t)
gtrl_vertex_sptr p1 () const
gtrl_vertex_sptr p2 () const
gtrl_vertex_sptr p3 () const
gtrl_vertex_sptr mid_point () const
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Protected Attributes

gtrl_vertex_sptr p1_
gtrl_vertex_sptr p2_
gtrl_vertex_sptr p3_
gtrl_vertex_sptr midpoint_

Detailed Description

Definition at line 16 of file gtrl_triangle.h.


Constructor & Destructor Documentation

gtrl_triangle::gtrl_triangle ( gtrl_vertex_sptr  p1,
gtrl_vertex_sptr  p2,
gtrl_vertex_sptr  p3 
)

Definition at line 11 of file gtrl_triangle.cxx.

gtrl_triangle::gtrl_triangle ( gtrl_triangle const &  t) [inline]

Definition at line 21 of file gtrl_triangle.h.


Member Function Documentation

gtrl_vertex_sptr gtrl_triangle::mid_point ( ) const [inline]

Definition at line 27 of file gtrl_triangle.h.

gtrl_vertex_sptr gtrl_triangle::p1 ( ) const [inline]

Definition at line 24 of file gtrl_triangle.h.

gtrl_vertex_sptr gtrl_triangle::p2 ( ) const [inline]

Definition at line 25 of file gtrl_triangle.h.

gtrl_vertex_sptr gtrl_triangle::p3 ( ) const [inline]

Definition at line 26 of file gtrl_triangle.h.


Member Data Documentation

Definition at line 34 of file gtrl_triangle.h.

Definition at line 30 of file gtrl_triangle.h.

Definition at line 31 of file gtrl_triangle.h.

Definition at line 32 of file gtrl_triangle.h.


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