Skip to content

New primitive implementation #792

@JonasBreuling

Description

@JonasBreuling

I'm interested in adding a new primitive to the library. Specifically, a deformed cylinder (with arbitrary oriented caps and possibly different radii; i think this is the convex hull of two oriented disks) as depicted in the figure below.

Image

According to support_functions.cpp and geometric_shapes.h this requires to implement

  • the support function getShapeSupport
  • the support point getShapeSupportSet
  • the class definition DeformedCylinder : public ShapeBase

Open questions:

  • what else has to be implemented?
  • what is cylinder->getSweptSphereRadius(); this is possibly important for a new primitive

If this can be done, I would like to proceed with the convex hull of two oriented rectangles.

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