Project Chrono: chrono::ConvexShapeSphere Class Reference

Public Member Functions | Public Attributes | List of all members
chrono::ConvexShapeSphere Class Reference
Chrono::Engine » Collision detection » Multicore collision detection

## Description

Sphere contact shape.

`#include <ChConvexShape.h>`

Inheritance diagram for chrono::ConvexShapeSphere:
[legend]
Collaboration diagram for chrono::ConvexShapeSphere:
[legend]

## Public Member Functions
| ConvexShapeSphere (real3 p, real r)
int | Type () const override
real3 | A () const override
real | Radius () const override
Public Member Functions inherited from chrono::ConvexBase
virtual quaternion | R () const
virtual int | Size () const
virtual const real3 * | Convex () const
virtual const real3 * | Triangles () const
virtual real3 | Box () const
virtual real4 | Rbox () const
virtual real2 | Capsule () const
virtual real3 | Cylshell () const
virtual uvec4 | TetIndex () const
virtual const real3 * | TetNodes () const

## Public Attributes
real3 | position
real | radius

## Member Function Documentation

## ◆ A()

real3 chrono::ConvexShapeSphere::A | ( |  | ) | const
| inlineoverridevirtual

Reimplemented from chrono::ConvexBase.

## ◆ Radius()

real chrono::ConvexShapeSphere::Radius | ( |  | ) | const
| inlineoverridevirtual

Reimplemented from chrono::ConvexBase.

## ◆ Type()

int chrono::ConvexShapeSphere::Type | ( |  | ) | const
| inlineoverridevirtual

Reimplemented from chrono::ConvexBase.

The documentation for this class was generated from the following file:

- D:/W/B/src/chrono-9.0.1/src/chrono/collision/multicore/ChConvexShape.h