Skip to content

[DEVELOPMENT] PlanePlot #19

Description

@marnec

Brief explanation
an api to easily draw a Plane from 3 points

Details
PlanePlot should be a class implementing Frameable that draws a semitransparent plane. The intended usage of the plot is to section the 3d space (e.g. to visually separate groups of points).

Later I intend to offer an api to draw more elaborate surfaces, but the aim of the PlanePlot is to offer the simplest possible interface to draw a plane.

Simplicity is also the reason of the name: PlanPlot is lame but it is immediately obvious what this plot is for. I'll go for clarity above all, I vastly prefer when apis are self-explanatory

Notes
Required parameters to draw the PlanePlot ideally are 3 points, as they are the minimum defintion of a plane in 3d space.

const plane = new THREE.Plane();
plane.setFromCoplanarPoints(v1,v2,v3);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions