![]() |
VPTissue Reference Manual
|
#include <Node.h>


Public Member Functions | |
| unsigned int | GetIndex () const |
| bool | IsAtBoundary () const |
| operator const std::array< double, 3 > () const | |
| operator std::array< double, 3 > () | |
| std::array< double, 3 > | operator+ (const Node &n) const |
| Node & | operator+= (const std::array< double, 3 > &a) |
| std::array< double, 3 > | operator- (const Node &n) const |
| Node & | operator-= (const std::array< double, 3 > &a) |
| double & | operator[] (size_t i) |
| double | operator[] (size_t i) const |
| std::ostream & | Print (std::ostream &os) const |
| virtual void | ReadPtree (const boost::property_tree::ptree &node_pt) |
| Read the given ptree into the attributes. | |
| void | SetAtBoundary (bool b) |
| virtual boost::property_tree::ptree | ToPtree () const |
| Convert the node to a ptree. More... | |
Public Member Functions inherited from SimPT_Sim::NodeAttributes | |
| bool | IsFixed () const |
| bool | IsSam () const |
| void | SetFixed (bool b) |
| void | SetSam (bool b) |
Friends | |
| class | Mesh |
| class | SimPT_Editor::EditableMesh |
| template<typename T , size_t N> | |
| class | SimPT_Sim::Container::SegmentedVector |
|
virtual |
Convert the node to a ptree.
The format of a node ptree is as follows:
<id>[the index of the node]</id> <x>[the x-coordinate of the node's position]</x> <y>[the y-coordinate of the node's position]</y> <boundary>[true if the node is at the boundary of the mesh]</boundary> <attributes> NodeAttributes::ToPtree() </attributes>
Reimplemented from SimPT_Sim::NodeAttributes.