a tetrahedron
More...
#include <a_tetrahedron.h>
|
| a_tetrahedron (const a_point &p1, const a_point &p2, const a_point &p3, const a_point &p4) |
|
| a_tetrahedron (const a_tetrahedron &p) |
|
virtual const std::string | classname () |
|
a_point | p1 () const |
|
a_point | p2 () const |
|
a_point | p3 () const |
|
a_point | p4 () const |
|
a_point | operator[] (const int i) const |
|
a_point | p (const int ref) const |
|
void | p1 (const a_point &v) |
|
void | p2 (const a_point &v) |
|
void | p3 (const a_point &v) |
|
void | p4 (const a_point &v) |
|
void | set (const a_point &p1, const a_point &p2, const a_point &p3, const a_point &p4) |
|
a_segment | s (const int ref) const |
| get segment i (0-3) of tetrahedron More...
|
|
a_triangle | f (const int ref) const |
|
a_point | c () const |
| get centre of gravity More...
|
|
a_tetrahedron & | translate (double x, double y, double z) |
|
a_tetrahedron & | rotate (const a_point &x_axis, const a_point &y_axis, const a_point &z_axis) |
|
double | V () const |
| get volume More...
|
|
double | S () const |
| get surface More...
|
|
bool | contains (const a_point &p) const |
| check whether point lies inside triangle More...
|
|
double | quality () const |
| quality: ratio between smaller and bigger segment More...
|
|
bool | operator== (const a_tetrahedron &p) |
|
a_tetrahedron & | operator= (const a_tetrahedron &p) |
|
virtual void | read (std::istream &i) |
|
virtual void | write (std::ostream &o) const |
|
| 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 const std::string | help () |
|
static const std::string | help () |
|
static const std::string | help () |
|
a tetrahedron
- Author
- P.Smars
- Date
- 2016
Definition at line 30 of file a_tetrahedron.h.
◆ a_tetrahedron() [1/2]
◆ a_tetrahedron() [2/2]
◆ c()
◆ classname()
virtual const std::string a_tetrahedron::classname |
( |
| ) |
|
|
inlinevirtual |
◆ contains()
bool a_tetrahedron::contains |
( |
const a_point & |
p | ) |
const |
◆ f()
a_triangle a_tetrahedron::f |
( |
const int |
ref | ) |
const |
◆ help()
const std::string a_tetrahedron::help |
( |
| ) |
|
|
static |
◆ operator=()
◆ operator==()
◆ operator[]()
a_point a_tetrahedron::operator[] |
( |
const int |
i | ) |
const |
|
inline |
◆ p()
a_point a_tetrahedron::p |
( |
const int |
ref | ) |
const |
|
inline |
◆ p1() [1/2]
a_point a_tetrahedron::p1 |
( |
| ) |
const |
|
inline |
◆ p1() [2/2]
void a_tetrahedron::p1 |
( |
const a_point & |
v | ) |
|
|
inline |
◆ p2() [1/2]
a_point a_tetrahedron::p2 |
( |
| ) |
const |
|
inline |
◆ p2() [2/2]
void a_tetrahedron::p2 |
( |
const a_point & |
v | ) |
|
|
inline |
◆ p3() [1/2]
a_point a_tetrahedron::p3 |
( |
| ) |
const |
|
inline |
◆ p3() [2/2]
void a_tetrahedron::p3 |
( |
const a_point & |
v | ) |
|
|
inline |
◆ p4() [1/2]
a_point a_tetrahedron::p4 |
( |
| ) |
const |
|
inline |
◆ p4() [2/2]
void a_tetrahedron::p4 |
( |
const a_point & |
v | ) |
|
|
inline |
◆ quality()
double a_tetrahedron::quality |
( |
| ) |
const |
◆ read()
void a_tetrahedron::read |
( |
std::istream & |
i | ) |
|
|
virtual |
read object from stream: should be overridden by children classes
Reimplemented from a_base.
Definition at line 169 of file a_tetrahedron.cxx.
◆ rotate()
◆ S()
double a_tetrahedron::S |
( |
| ) |
const |
◆ s()
a_segment a_tetrahedron::s |
( |
const int |
ref | ) |
const |
◆ set()
◆ translate()
a_tetrahedron & a_tetrahedron::translate |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
◆ V()
double a_tetrahedron::V |
( |
| ) |
const |
◆ write()
void a_tetrahedron::write |
( |
std::ostream & |
o | ) |
const |
|
virtual |
write object to stream: should be overridden by children classes
Reimplemented from a_base.
Definition at line 175 of file a_tetrahedron.cxx.
◆ p_
The documentation for this class was generated from the following files: