ContRap-Libraries
Public Member Functions | Data Fields

crp::Triplet2D Class Reference

Class Triplet2D is a lightweight equivalent of a triangle to store triangle structures over an initialized point sets. More...

#include <primitives.h>

Public Member Functions

 Triplet2D (int a=0, int b=0, int c=0)
 Creates a new triplet.

Data Fields

int a
 Points.
int b
int c

Detailed Description

Class Triplet2D is a lightweight equivalent of a triangle to store triangle structures over an initialized point sets.


Constructor & Destructor Documentation

crp::Triplet2D::Triplet2D ( int  a = 0,
int  b = 0,
int  c = 0 
) [inline]

Creates a new triplet.

The original points can not be deallocated during the life time of the triplet.

Parameters:
aIndex of the first point
bIndex of the second point
cIndex of the third point

Field Documentation

Points.


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