#include <soma.h>
Public Member Functions | |
| Soma (const Soma &soma)=default | |
| Soma (const Property::PointLevel &pointProperties) | |
| Soma (const morphio::Soma &soma) | |
| std::vector< Point > & | points () noexcept |
| Return the coordinates (x,y,z) of all soma points. | |
| const std::vector< Point > & | points () const noexcept |
| std::vector< morphio::floatType > & | diameters () noexcept |
| Return the diameters of all soma points. | |
| const std::vector< morphio::floatType > & | diameters () const noexcept |
| const SomaType & | type () const noexcept |
| Return the soma type. | |
| SomaType & | type () noexcept |
| Return the soma type. | |
| Point | center () const |
| floatType | surface () const |
| floatType | maxDistance () const |
| Property::PointLevel & | properties () noexcept |
| const Property::PointLevel & | properties () const noexcept |
Friends | |
| class | Morphology |
Mutable(editable) morphio::Soma
| Point morphio::mut::Soma::center | ( | ) | const |
Return the center of gravity of the soma points
| floatType morphio::mut::Soma::maxDistance | ( | ) | const |
Return the maximum distance between the center of gravity and any of the soma points
| floatType morphio::mut::Soma::surface | ( | ) | const |
Return the soma surface Note: the soma surface computation depends on the soma type