• Extruce a 2D/3D trace using the dip angle, dip-direction and a depth.

    Example:

    const trace = {
    is: "1",
    dip: 35,
    dipDirection: 135,
    depth: 1000,
    rows: 5,
    points: Serie.create({array: [0,0, 0,1, 0,2, 1,3, 2,4], itemSize: 2})
    }
    const surface = extrude(trace)
    console.log(surface.positions, surface.indices)

    Parameters

    • trace: TraceInfo

    Returns SurfaceType