Skip to content

Something like Line3d.ClipByPlane #69

@luithefirst

Description

@luithefirst

I've found static bool Intersects(this Line3d line, Plane3d plane, out double t, out V3d p), but a more convenient method to directly clip a line (2d and 3d) would be nice. The only questions would be if the negative or positive side should be clipped. I would say we should follow how we have also defined our Hull3d data structure. There negative is "inside", so we would clip the positive side?

Polygons also have a ConvexClipped method: "Returns all parts of the polygon that are at the positive side of the plane" ... well, what do you think?

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