OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::Vertex Class Reference

Class representing vertex. More...

#include <geotoolbox.h>

+ Collaboration diagram for oofem::Vertex:

Public Member Functions

 Vertex (double x=0, double y=0)
 
 Vertex (double c[2])
 
 Vertex (const Vertex &src)
 
Vertexoperator= (const Vertex &src)
 
void setCoords (double x, double y)
 
const FloatArraygetCoords () const
 

Public Attributes

FloatArray coords
 

Detailed Description

Class representing vertex.

The attributes of a vertex are its coordinates. This class is a part of geometry toolbox.

Definition at line 60 of file geotoolbox.h.

Constructor & Destructor Documentation

oofem::Vertex::Vertex ( double  x = 0,
double  y = 0 
)
inline

Definition at line 64 of file geotoolbox.h.

oofem::Vertex::Vertex ( double  c[2])
inline

Definition at line 68 of file geotoolbox.h.

oofem::Vertex::Vertex ( const Vertex src)
inline

Definition at line 72 of file geotoolbox.h.

Member Function Documentation

const FloatArray* oofem::Vertex::getCoords ( ) const
inline
Vertex& oofem::Vertex::operator= ( const Vertex src)
inline

Definition at line 73 of file geotoolbox.h.

References coords.

Member Data Documentation


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:43 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011