Summary

A capsule object, defined by 2 points and a radius. A capsule is a cylinder with round ends (inset half spheres on each end).

Fields

CenterA Position of point A.
CenterB Position of point B.
Radius Radius of a capsule.

Properties

RandomPointInside Returns a random point within this capsule.
RandomPointOnEdge Returns a random point on the edge of this capsule.

Static Methods

FromHeightAndRadius
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.