Public Member Functions | Protected Attributes | Friends
gst_vertex_2d Class Reference

#include <gst_vertex_2d.h>

Inheritance diagram for gst_vertex_2d:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 gst_vertex_2d ()
 gst_vertex_2d (double x, double y)
 gst_vertex_2d (const gst_vertex_2d &v)
 ~gst_vertex_2d ()
double get_x () const
double get_y () const
void set_x (double x)
void set_y (double y)
void set (double x, double y)
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Protected Attributes

double x_
double y_

Friends

bool operator== (const gst_vertex_2d &a, const gst_vertex_2d &b)

Detailed Description

Definition at line 14 of file gst_vertex_2d.h.


Constructor & Destructor Documentation

gst_vertex_2d::gst_vertex_2d ( ) [inline]

Definition at line 19 of file gst_vertex_2d.h.

gst_vertex_2d::gst_vertex_2d ( double  x,
double  y 
) [inline]

Definition at line 22 of file gst_vertex_2d.h.

gst_vertex_2d::gst_vertex_2d ( const gst_vertex_2d v) [inline]

Definition at line 25 of file gst_vertex_2d.h.

gst_vertex_2d::~gst_vertex_2d ( ) [inline]

Definition at line 28 of file gst_vertex_2d.h.


Member Function Documentation

double gst_vertex_2d::get_x ( ) const [inline]

Definition at line 31 of file gst_vertex_2d.h.

double gst_vertex_2d::get_y ( ) const [inline]

Definition at line 32 of file gst_vertex_2d.h.

void gst_vertex_2d::set ( double  x,
double  y 
) [inline]

Definition at line 37 of file gst_vertex_2d.h.

void gst_vertex_2d::set_x ( double  x) [inline]

Definition at line 35 of file gst_vertex_2d.h.

void gst_vertex_2d::set_y ( double  y) [inline]

Definition at line 36 of file gst_vertex_2d.h.


Friends And Related Function Documentation

bool operator== ( const gst_vertex_2d a,
const gst_vertex_2d b 
) [friend]

Definition at line 49 of file gst_vertex_2d.h.


Member Data Documentation

double gst_vertex_2d::x_ [protected]

Definition at line 45 of file gst_vertex_2d.h.

double gst_vertex_2d::y_ [protected]

Definition at line 45 of file gst_vertex_2d.h.


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