Skip to content

QuadraticBezier segment length() function gives 'inf' as result #186

@xmarduel

Description

@xmarduel

for the points:
st = (335.43211 + 69.71516199999999j)
end = (335.27971 + 69.86756199999999j)
ctrl = (335.33051+ 69.816762j)
segment= svgpathtools.QuadraticBezier(st, ctrl, end)
len = segment.length() # len is 'inf' !!!

Note that for the points:
st = (335.43211 + 69.715162j)
end = (335.27971 + 69.867562j)
ctrl = (335.33051 + 69.816762j)
the length of the segment is ok : 0.21552614690565985

[python-3.10]

Sincerely,
XM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions