ContRap-Libraries
|
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 |
Class Triplet2D is a lightweight equivalent of a triangle to store triangle structures over an initialized point sets.
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.
a | Index of the first point |
b | Index of the second point |
c | Index of the third point |
Points.