Skip to content

Segment-Segment intersection #31368

@TheBlek

Description

@TheBlek

Description

Ability to calculate intersection point of two line segments. Recently needed to hand-roll it, so I wonder if its a useful addition

Solution

Method intersectLine on Line3. Interface and behavior could be the same as Plane's intersectLine

Alternatives

I wrote it myself with guidance of https://en.wikipedia.org/wiki/Line%E2%80%93line_intersection

Additional context

I could create a PR if the feature it deemed useful

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions