Skip to content

Define length for cylinders #265

Description

@SeSodesa

Many basic shapes do not have an unambiguous length. However, cylinders are kinds of line segments with an additional radius or thickness, and since line segments have a rather unambiguous length, it would make sense to add a method Base.length(::GeometryBasics.Cylinder), defined as the norm of the vector LinearAlgebra.norm(c.extermity - c.origin) for a c::GeometryBasics.Cylinder.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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