Skip to content

SkeletalTrapezoidation::filterCentral never enter the if #2265

@supermerill

Description

@supermerill

Hello
in SkeletalTrapezoidation.cpp:

void SkeletalTrapezoidation::filterCentral(coord_t max_length)
{
    for (edge_t& edge : graph_.edges)
    {
        if (isEndOfCentral(edge) && edge.to_->isLocalMaximum() && ! edge.to_->isLocalMaximum())
        {
            filterCentral(edge.twin_, 0, max_length);
        }
    }
}

the condition edge.to_->isLocalMaximum() && ! edge.to_->isLocalMaximum() is always false.
One should be with edge.from_ ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions