Skip to content

Commit

Permalink
small explanation #2
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 2, 2024
1 parent d53676a commit d04c380
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/netbuild/NBEdgeCont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1516,6 +1516,7 @@ NBEdgeCont::extractRoundabouts() {

double
NBEdgeCont::formFactor(const EdgeVector& loopEdges) {
// A circle (which maximizes area per circumference) has a formfactor of 1, non-circular shapes have a smaller value
PositionVector points;
for (EdgeVector::const_iterator it = loopEdges.begin(); it != loopEdges.end(); ++it) {
points.append((*it)->getGeometry());
Expand Down

0 comments on commit d04c380

Please sign in to comment.