Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

Quad Faces are incorrectly converted to Triangle Faces #169

@sjkelly

Description

@sjkelly

I ran into this while working on meshing.

This is the simplest example:

julia> fcs4 = Face{4,Int}(1,2,3,4)
4-element Face{4,Int64}:
 1
 2
 3
 4

julia> convert(Face{3,Int},fcs4)
3-element Face{3,Int64}:
 1
 2
 3

When converting from Quads to Triangles this should return a tuple of Face{3,Int}(1,2,3),Face{3,Int}(3,4,1)

It is possible I am not calling the conversion correctly. It is these lines here: https://github.com/JuliaGeometry/Meshing.jl/pull/20/files#diff-bf57842023cb186f77b74657fbbe3164R224

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