Circle2 Class Reference

#include <composite2.hh>

Public Member Functions

 Circle2 ()
 Circle2 (const Circle2 &c)
 Circle2 (const Vec2 &center, Real radius)
void SetCenter (const Vec2 &center)
void SetRadius (Real r)
Vec2 GetCenter () const
Real GetRadius () const
Real GetCircumference () const
Real GetArea () const

Protected Attributes

Vec2 center_
Real radius_

Detailed Description

Definition at line 141 of file composite2.hh.


Constructor & Destructor Documentation

Circle2 (  ) 
Circle2 ( const Circle2 c  ) 
Circle2 ( const Vec2 center,
Real  radius 
)

Member Function Documentation

Real GetArea (  )  const
Vec2 GetCenter (  )  const
Real GetCircumference (  )  const
Real GetRadius (  )  const
void SetCenter ( const Vec2 center  ) 
void SetRadius ( Real  r  ) 

Field Documentation

Vec2 center_ [protected]

Definition at line 154 of file composite2.hh.

Real radius_ [protected]

Definition at line 155 of file composite2.hh.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 20 Jun 2016 for OpenStructure by  doxygen 1.6.1