CS::Geometry::Primitive Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
CS::Geometry::Primitive Struct Reference

Superclass for all primitives. More...

`#include <cstool/genmeshbuilder.h>`

Inheritance diagram for CS::Geometry::Primitive:

List of all members.

## Public Member Functions
virtual void | Append (iGeneralFactoryState *factory)=0
| Append this primitive to the given factory.
virtual bool | Append (iMeshFactoryWrapper *factory)
| Append this primitive to the given factory.

## Detailed Description

Superclass for all primitives.

Definition at line 45 of file genmeshbuilder.h.

## Member Function Documentation

virtual void CS::Geometry::Primitive::Append | ( | iGeneralFactoryState * | factory | ) | `[pure virtual]`

Append this primitive to the given factory.

Implemented in CS::Geometry::Cone, CS::Geometry::Sphere, CS::Geometry::Capsule, CS::Geometry::Box, CS::Geometry::TesselatedBox, and CS::Geometry::TesselatedQuad.

virtual bool CS::Geometry::Primitive::Append | ( | iMeshFactoryWrapper * | factory | ) | `[inline, virtual]`

Append this primitive to the given factory.

Returns false if the primitive is not a genmesh.

Reimplemented in CS::Geometry::Cone, CS::Geometry::Sphere, CS::Geometry::Capsule, CS::Geometry::Box, CS::Geometry::TesselatedBox, and CS::Geometry::TesselatedQuad.

Definition at line 57 of file genmeshbuilder.h.

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

- cstool/genmeshbuilder.h