BB.Dsl.Capsule (bb v0.15.0)
View SourceA capsule geometry (cylinder with hemispherical caps).
Capsules are defined by a radius and height. The height is the distance
between the centres of the two hemispherical caps (i.e., the length of
the cylindrical portion). The total extent is height + 2 * radius.
Capsules are commonly used for collision detection because they have simpler intersection algorithms than cylinders and better approximate robot limbs.
Summary
Types
@type t() :: %BB.Dsl.Capsule{ __identifier__: any(), __spark_metadata__: Spark.Dsl.Entity.spark_meta(), height: Cldr.Unit.t(), radius: Cldr.Unit.t() }