Skip to content

Should Nodes be Structs #4

@JakeZw

Description

@JakeZw

With Nodes being common in UFF files, and nodes having three coordinates, I am wondering if they should be structs when in a Julia Dataset? Something along the line of:

`julia> struct NodeN{T <: AbstractFloat}
x::T
y::T
z::T
end

julia> n = Node(1.0, 2.3, 5.6)
Node{Float64}(1.0, 2.3, 5.6)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions