csTriangle 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
csTriangle Struct Reference
Geometry utilities

A triangle. More...

`#include <csgeom/tri.h>`

Inheritance diagram for csTriangle:

List of all members.

## Public Member Functions
| csTriangle (int _a, int _b, int _c)
| Convenience constructor, builds a triangle with initializers.
| csTriangle (const CS::TriangleT< int > &t)
| Copy constructor.

## Detailed Description

A triangle.

Note that this structure is only valid if used in combination with a vertex or edge table. 'a', 'b', and 'c' are then indices in that table (either vertices or edges).

Definition at line 111 of file tri.h.

## Constructor & Destructor Documentation

csTriangle::csTriangle | ( | int | _a,
|  | int | _b,
|  | int | _c
| ) |  | `[inline]`

Convenience constructor, builds a triangle with initializers.

Definition at line 116 of file tri.h.

csTriangle::csTriangle | ( | const CS::TriangleT< int > & | t | ) | `[inline]`

Copy constructor.

Definition at line 119 of file tri.h.

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

- csgeom/tri.h