#include <section.h>
Public Member Functions | |
Section (const Section §ion)=default | |
Section & | operator= (const Section §ion) |
Section (uint32_t id, const std::shared_ptr< property::Properties > &morphology) | |
bool | operator== (const Section §ion) const |
bool | operator!= (const Section §ion) const |
bool | operator< (const Section &other) const |
std::vector< Section > | predecessors () const |
std::vector< Section > | successors () const |
std::vector< Section > | neighbors () const |
uint32_t | id () const noexcept |
floatType | length () const |
graph_iterator | begin () const |
graph_iterator | end () const |
range< const Point > | points () const |
range< const floatType > | diameters () const |
VascularSectionType | type () const |
Protected Member Functions | |
template<typename Property > | |
range< const typename Property::Type > | get () const |
Protected Attributes | |
uint32_t | id_ |
SectionRange | range_ |
std::shared_ptr< property::Properties > | properties_ |
Vasculature section
range<const floatType> morphio::vasculature::Section::diameters | ( | ) | const |
Return a view (https://github.com/isocpp/CppCoreGuidelines/blob/master/docs/gsl-intro.md#gslspan-what-is-gslspan-and-what-is-it-for) to this section's point diameters
|
noexcept |
Return the ID of this section.
floatType morphio::vasculature::Section::length | ( | ) | const |
Euclidian distance between first and last point of the section
std::vector<Section> morphio::vasculature::Section::neighbors | ( | ) | const |
Returns a list of all neighbors of the section
range<const Point> morphio::vasculature::Section::points | ( | ) | const |
Return a view (https://github.com/isocpp/CppCoreGuidelines/blob/master/docs/gsl-intro.md#gslspan-what-is-gslspan-and-what-is-it-for) to this section's point coordinates
std::vector<Section> morphio::vasculature::Section::predecessors | ( | ) | const |
Returns a list of predecessors or parents of the section
std::vector<Section> morphio::vasculature::Section::successors | ( | ) | const |
Returns a list of successors or children of the section
VascularSectionType morphio::vasculature::Section::type | ( | ) | const |
Return the morphological type of this section (artery, vein, capillary, ...)