Skip to content

consider adding Line.interpolate #108

@ianstormtaylor

Description

@ianstormtaylor

In my case I'm trying to quickly interpolate between two line segments. Ideally it would be as easy as Segment.interpolate(a, b, 0.25).

I thought I might be able to use Polygon.interpolate instead, but the TypeScript types complain about that. And using Point.interpolate for the individual points gets tedious. Maybe I'm doing something wrong or missing an easier approach though!

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