Skip to content

Visualization of Line #534

Open
Open
@Antoinemarteau

Description

@Antoinemarteau

Small bug : seems the infinite long line is not possible to discretize ?

using Meshes, MeshViz
using CairoMakie: activate!; activate!()
ln = Line(Point(1,1,1), Point(0,0,0))
viz(ln)

yields StackOverflowError

Stacktrace:
[1] simplexify(geometry::Line{3, Float64})
@ Meshes ~/.julia/packages/Meshes/1Iszy/src/discretization.jl:135
[2] discretize(geometry::Line{3, Float64})
@ Meshes ~/.julia/packages/Meshes/1Iszy/src/discretization.jl:103
--- the last 2 lines are repeated 39990 more times ---
[79983] simplexify(geometry::Line{3, Float64})
@ Meshes ~/.julia/packages/Meshes/1Iszy/src/discretization.jl:135

Got the same with GLMakie backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurehelp wantedExtra attention is neededvizIssue with visualization recipes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions