# ShapeBaseConvex

Engine/source/T3D/shapeBase.h

More...

## Private Types

```Convex
```
```Parent
```

## Public Friends

```class
```
```RigidShape
```
```class
```
```ShapeBase
```
```class
```
```Vehicle
```

## Protected Attributes

```MatrixF *
```
```nodeTransform
```
```ShapeBase *
```
```pShapeBase
```

## Public Attributes

```Box3F
```
```box
```
```U32
```
```hullId
```
```MatrixF *
```
```transform
```

## Public Functions

```ShapeBaseConvex()
```
```ShapeBaseConvex(const ShapeBaseConvex & cv)
```
```void
```
```findNodeTransform()
```
```Box3F
```
```getBoundingBox()
```

Returns the bounding box for the object this is built around in world space.

```Box3F
```
```getBoundingBox(const MatrixF & mat, const Point3F & scale)
```

Returns the object space bounding box for the object this is built around transformed and scaled.

```void
```
```getFeatures(const MatrixF & mat, const VectorF & n, ConvexFeature * cf)
```

This is used by the GJK collision in Vehicle.

```void
```
```getPolyList(AbstractPolyList * list)
```

Builds a collision poly list out of this convex.

```const MatrixF &
```
```getTransform()
```

Returns the transform of the object this is built around.

```Point3F
```
```support(const VectorF & v)
```

Returns the farthest point, along a vector, still bound by the convex.

## Private Types

```typedef Convex Parent
```

## Protected Attributes

```MatrixF * nodeTransform
```
```ShapeBase * pShapeBase
```

## Public Attributes

```Box3F box
```
```U32 hullId
```
```MatrixF * transform
```

## Public Functions

```ShapeBaseConvex()
```

```ShapeBaseConvex(const ShapeBaseConvex & cv)
```

```findNodeTransform()
```

```getBoundingBox()
```

Reimplemented from: Convex

```getBoundingBox(const MatrixF & mat, const Point3F & scale)
```

Reimplemented from: Convex

```getFeatures(const MatrixF & mat, const VectorF & n, ConvexFeature * cf)
```

Reimplemented from: Convex

```getPolyList(AbstractPolyList * list)
```

Reimplemented from: Convex

```getTransform()
```

Reimplemented from: Convex

```support(const VectorF & v)
```

Reimplemented from: Convex