CapsuleShape

CapsuleShape[{{x1,y1,z1},{x2,y2,z2}},r]

represents the filled capsule between points {xi,yi,zi} and radius r.

Details

Examples

open allclose all

Basic Examples  (2)

The standard capsule centered at the origin:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Volume and centroid:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (19)

Applications  (6)

Properties & Relations  (6)

Neat Examples  (3)

See Also

StadiumShape  Ball  Cylinder  Tube  BoundingRegion

Introduced in 2015
(10.2)