brepjs API Reference
    Preparing search index...

    Function makeProjectedEdges

    • Project a 3D shape onto a 2D plane using hidden-line removal (HLR).

      Parameters

      • shape: AnyShape
      • camera: Camera

        Camera defining the projection plane.

      • withHiddenLines: boolean = true

        If true, also returns hidden (occluded) edges.

      Returns { hidden: Edge[]; visible: Edge[] }

      Separate arrays of visible and hidden projected edges.