Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

OArc Class Reference

#include <OArc.hpp>

Inheritance diagram for OArc::

OGraphic List of all members.

Public Methods

OGraphicclone () const
OGraphiccreate () const
 OArc ()
 OArc (OPoint &, OPoint &, OPoint &, bool)
 ~OArc ()
double getRadius ()
bool isLarge ()
double getAngle ()
double getLength ()
bool isSweep ()
bool check ()
void gomo (ostream &)
void gomi (istream &)
void xmlo (ostream &)
void svgo (ostream &)
bool isValid ()
void clear ()
void set (OPoint &, OPoint &, OPoint &)
void setBegin (OPoint &)
void setEnd (OPoint &)
void setCenter (OPoint &)
OPoint getBegin ()
OPoint getEnd ()
OPoint getCenter ()
void setTrigo (bool)
bool isTrigo ()

Protected Methods

double getDAngle ()

Protected Attributes

OPoint c
OPoint b
OPoint e
bool isT

Detailed Description

OArc object
Examples:

PExample.cpp.


Constructor & Destructor Documentation

OArc::OArc  
 

Constructor

OArc::OArc OPoint   b,
OPoint   c,
OPoint   e,
bool    isT = true
 

Constructor

OArc::~OArc  
 

Destructor


Member Function Documentation

bool OArc::check  
 

Check if b-c and e-c are equals, then arc object corresponds to a correct model

void OArc::clear   [inline]
 

OGraphic * OArc::clone   const [inline, virtual]
 

Clone the arc object

Reimplemented from OGraphic.

OGraphic * OArc::create   const [inline, virtual]
 

Create the arc object

Reimplemented from OGraphic.

double OArc::getAngle  
 

Get direct angle

OPoint OArc::getBegin   [inline]
 

OPoint OArc::getCenter   [inline]
 

double OArc::getDAngle   [protected]
 

Get direct angle

OPoint OArc::getEnd   [inline]
 

double OArc::getLength  
 

Get length

double OArc::getRadius  
 

Get radius

void OArc::gomi istream &    is [virtual]
 

GOM input

Reimplemented from OGraphic.

void OArc::gomo ostream &    os [virtual]
 

GOM output

Reimplemented from OGraphic.

bool OArc::isLarge  
 

Is large

bool OArc::isSweep  
 

Is sweep

bool OArc::isTrigo   [inline]
 

bool OArc::isValid   [inline]
 

void OArc::set OPoint   b,
OPoint   c,
OPoint   e
[inline]
 

void OArc::setBegin OPoint   b [inline]
 

void OArc::setCenter OPoint   c [inline]
 

void OArc::setEnd OPoint   e [inline]
 

void OArc::setTrigo bool    isT [inline]
 

void OArc::svgo ostream &    os [virtual]
 

SVG output

Reimplemented from OGraphic.

void OArc::xmlo ostream &    os [virtual]
 

XML output

Reimplemented from OGraphic.


Member Data Documentation

OPoint OArc::b [protected]
 

OPoint OArc::c [protected]
 

OPoint OArc::e [protected]
 

bool OArc::isT [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Jul 30 19:21:02 2004 for GOMLib by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001