• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

BlueBrain / MorphIO / 6533524408

16 Oct 2023 12:24PM UTC coverage: 76.051% (-0.02%) from 76.073%
6533524408

push

github

mgeplf
fix test_root_node_split

1972 of 2593 relevant lines covered (76.05%)

903.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

27.27
/src/mut/soma.cpp
1
/* Copyright (c) 2013-2023, EPFL/Blue Brain Project
2
 *
3
 * SPDX-License-Identifier: Apache-2.0
4
 */
5
#include <morphio/mut/soma.h>
6
#include <morphio/soma.h>
7

8
#include "../point_utils.h"     // centerOfGRavity, maxDistanceToCenterOfGravity
9
#include "../shared_utils.hpp"  // _somaSurface
10

11
namespace morphio {
12
namespace mut {
13
Soma::Soma(const Property::PointLevel& point_properties)
×
14
    : point_properties_(point_properties) {}
×
15

16
Soma::Soma(const morphio::Soma& soma)
70✔
17
    : soma_type_(soma.type())
70✔
18
    , point_properties_(soma.properties_->_somaLevel) {}
70✔
19

20
Point Soma::center() const {
×
21
    return centerOfGravity(points());
×
22
}
23

24
floatType Soma::surface() const {
×
25
    return _somaSurface(type(), diameters(), points());
×
26
}
27

28
floatType Soma::maxDistance() const {
×
29
    return maxDistanceToCenterOfGravity(point_properties_._points);
×
30
}
31

32
}  // end namespace mut
33
}  // end namespace morphio
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc