Inheritance diagram for NdSubspace:

Definition at line 46 of file Subspace.H.
Public Member Functions | |
| NdSubspace (const int dimension) | |
| NdSubspace (const NdSubspace &subspace) | |
| NdSubspace & | operator= (const NdSubspace &subspace) |
| bool | operator== (const NdSubspace &subspace) const |
Topological queries. | |
| virtual bool | interior (const RnPoint &point) const =0 |
| virtual bool | boundary (const RnPoint &point) const =0 |
| virtual bool | closure (const RnPoint &point) const =0 |
Dimension | |
| int | n () const |
| |
Gnuplot drawing interface | |
| virtual void | drawGnuplot (const char *const filename, const int di=0, const int dj=1) const |
| virtual void | drawGnuplot (std::ostream &out, const int di=0, const int dj=1) const=0 |
Private Attributes | |
| int | m_dimension |
| NdSubspace | ( | const int | dimension | ) | [inline, explicit] |
Allocate a subspace of the given dimension.
| [in] | dimension | The dimension of the subspace. |
Definition at line 50 of file Subspace.H.
| NdSubspace | ( | const NdSubspace< T > & | subspace | ) | [inline] |
Allocate a copy of a subspace.
| [in] | subspace | The instance to copy. |
Definition at line 55 of file Subspace.H.
| NdSubspace& operator= | ( | const NdSubspace< T > & | subspace | ) | [inline] |
Assign one subspace to another.
| [in] | subspace | The subspace to copy from. |
Definition at line 61 of file Subspace.H.
| bool operator== | ( | const NdSubspace< T > & | subspace | ) | const [inline] |
Equality comparison operator.
| [in] | subspace | The subspace to check against. |
Definition at line 67 of file Subspace.H.
| virtual bool interior | ( | const RnPoint & | point | ) | const [pure virtual] |
Check if a point lies in the interior of the subspace.
| [in] | point | The point to check. |
Implemented in Rectangle.
| virtual bool boundary | ( | const RnPoint & | point | ) | const [pure virtual] |
Check if a point lies on the subspace boundary.
| [in] | point | The point to check. |
Implemented in Rectangle.
| virtual bool closure | ( | const RnPoint & | point | ) | const [pure virtual] |
Check if a point lies in the subspace closure, e.g., the interior or the boundary.
| [in] | point | The point to check. |
Implemented in Rectangle.
| int n | ( | ) | const [inline] |
Definition at line 93 of file Subspace.H.
Referenced by Rectangle::boundary(), Rectangle::closure(), Rectangle::interior(), NdSubspace< double >::operator=(), Rectangle::operator=(), NdSubspace< double >::operator==(), Rectangle::Rectangle(), Rectangle::valid(), and Rectangle::volume().
| virtual void drawGnuplot | ( | const char *const | filename, | |
| const int | di = 0, |
|||
| const int | dj = 1 | |||
| ) | const [inline, virtual] |
Draw the subspace projected down to two dimensions.
| [in] | file | The output file. |
| [in] | di | The first projection dimension. |
| [in] | dj | The second projection dimension. |
Definition at line 102 of file Subspace.H.
Referenced by NdSubspace< double >::drawGnuplot().
| virtual void drawGnuplot | ( | std::ostream & | out, | |
| const int | di = 0, |
|||
| const int | dj = 1 | |||
| ) | const [pure virtual] |
Draw the subspace projected down to two dimensions.
| [in] | out | The output stream. |
| [in] | di | The first projection dimension. |
| [in] | dj | The second projection dimension. |
Implemented in Rectangle.
int m_dimension [private] |
Definition at line 116 of file Subspace.H.
Referenced by NdSubspace< double >::n(), NdSubspace< double >::operator=(), and NdSubspace< double >::operator==().
1.5.1