Points&Forces (core)
Software tools facilitating the task of surveying architecture
Classes | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
a_circle Class Reference

#include <a_circle.h>

+ Inheritance diagram for a_circle:
+ Collaboration diagram for a_circle:

Classes

class  null_circle_error
 

Public Member Functions

 a_circle ()=default
 
virtual const std::string classname ()
 
void centre (const a_point c)
 
a_point centre () const
 
void normal (const a_point n)
 
a_point normal () const
 
void radius (double r)
 
double radius () const
 
void p3 (const a_point p1, const a_point p2, const a_point p3)
 
void p2 (const a_point p1, const a_point p2)
 
bool operator== (const a_circle &p)
 
a_circleoperator= (const a_circle &v)
 
double length () const
 
double area () const
 
virtual void read (std::istream &i)
 
virtual void write (std::ostream &o) const
 
- Public Member Functions inherited from a_base
 a_base ()
 
void read (const std::string &file_in)
 
void write (const std::string &file_out) const
 
void small (double tol)
 
double small () const
 

Static Public Member Functions

static const std::string help ()
 
- Static Public Member Functions inherited from a_geom_base
static const std::string help ()
 
- Static Public Member Functions inherited from a_base
static const std::string help ()
 

Protected Attributes

a_point c_
 
a_point n_ = a_point(1.,0.,0.)
 
double r_ = 0.
 
- Protected Attributes inherited from a_base
double verysmall_
 

Detailed Description

Definition at line 31 of file a_circle.h.

Constructor & Destructor Documentation

◆ a_circle()

a_circle::a_circle ( )
default

Member Function Documentation

◆ area()

double a_circle::area ( ) const
inline

Definition at line 55 of file a_circle.h.

◆ centre() [1/2]

a_point a_circle::centre ( ) const
inline

Definition at line 40 of file a_circle.h.

+ Here is the caller graph for this function:

◆ centre() [2/2]

void a_circle::centre ( const a_point  c)
inline

Definition at line 39 of file a_circle.h.

+ Here is the caller graph for this function:

◆ classname()

virtual const std::string a_circle::classname ( )
inlinevirtual

return class name: should be overridden by children classes

Reimplemented from a_geom_base.

Definition at line 36 of file a_circle.h.

◆ help()

const std::string a_circle::help ( )
static

Definition at line 23 of file a_circle.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ length()

double a_circle::length ( ) const
inline

Definition at line 54 of file a_circle.h.

◆ normal() [1/2]

a_point a_circle::normal ( ) const
inline

Definition at line 43 of file a_circle.h.

+ Here is the caller graph for this function:

◆ normal() [2/2]

void a_circle::normal ( const a_point  n)
inline

Definition at line 42 of file a_circle.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

a_circle & a_circle::operator= ( const a_circle v)

Definition at line 52 of file a_circle.cxx.

+ Here is the call graph for this function:

◆ operator==()

bool a_circle::operator== ( const a_circle p)

Definition at line 47 of file a_circle.cxx.

+ Here is the call graph for this function:

◆ p2()

void a_circle::p2 ( const a_point  p1,
const a_point  p2 
)

Definition at line 72 of file a_circle.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ p3()

void a_circle::p3 ( const a_point  p1,
const a_point  p2,
const a_point  p3 
)

Definition at line 60 of file a_circle.cxx.

+ Here is the call graph for this function:

◆ radius() [1/2]

double a_circle::radius ( ) const
inline

Definition at line 46 of file a_circle.h.

+ Here is the caller graph for this function:

◆ radius() [2/2]

void a_circle::radius ( double  r)
inline

Definition at line 45 of file a_circle.h.

+ Here is the caller graph for this function:

◆ read()

void a_circle::read ( std::istream &  i)
virtual

read object from stream: should be overridden by children classes

Reimplemented from a_base.

Definition at line 85 of file a_circle.cxx.

◆ write()

void a_circle::write ( std::ostream &  o) const
virtual

write object to stream: should be overridden by children classes

Reimplemented from a_base.

Definition at line 92 of file a_circle.cxx.

+ Here is the call graph for this function:

Member Data Documentation

◆ c_

a_point a_circle::c_
protected

Definition at line 65 of file a_circle.h.

◆ n_

a_point a_circle::n_ = a_point(1.,0.,0.)
protected

Definition at line 66 of file a_circle.h.

◆ r_

double a_circle::r_ = 0.
protected

Definition at line 67 of file a_circle.h.


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