Represents a capsule centered at the local origin and upright along the y-axis.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.9.0.0 (1.9.3.9490)

Syntax

C#
[SerializableAttribute]
public class CapsuleShape : ConvexShape
Visual Basic
<SerializableAttribute> _
Public Class CapsuleShape _
	Inherits ConvexShape
Visual C++
[SerializableAttribute]
public ref class CapsuleShape : public ConvexShape

Remarks

A capsule is like a CylinderShape with spherical caps.

Inheritance Hierarchy

System..::..Object
  DigitalRune.Geometry.Shapes..::..Shape
    DigitalRune.Geometry.Shapes..::..ConvexShape
      DigitalRune.Geometry.Shapes..::..CapsuleShape

See Also