Triangle in a three-dimensionnal space.
More...
#include <Triangle.hpp>
Triangle in a three-dimensionnal space.
◆ Triangle() [1/2]
| RAY::Drawables::Drawables3D::Triangle::Triangle |
( |
const Vector3 & |
positionA, |
|
|
const Vector3 & |
positionB, |
|
|
const Vector3 & |
positionC, |
|
|
const Color & |
color |
|
) |
| |
Triangle constructor.
- Parameters
-
| positionA | position of A point
|
| positionB | position of B point |
| positionC | position of C point
|
| Color | Color of the circle
|
◆ Triangle() [2/2]
| RAY::Drawables::Drawables3D::Triangle::Triangle |
( |
const Triangle & |
| ) |
|
|
default |
A default copy constructor.
◆ ~Triangle()
| RAY::Drawables::Drawables3D::Triangle::~Triangle |
( |
| ) |
|
|
overridedefault |
◆ drawOn()
| void RAY::Drawables::Drawables3D::Triangle::drawOn |
( |
RAY::Window & |
| ) |
|
|
overridevirtual |
◆ getPositionA()
| const RAY::Vector3 & RAY::Drawables::Drawables3D::Triangle::getPositionA |
( |
void |
| ) |
const |
- Returns
- the position of A of the Triangle
◆ getPositionB()
| const RAY::Vector3 & RAY::Drawables::Drawables3D::Triangle::getPositionB |
( |
void |
| ) |
const |
- Returns
- the position of B of the Triangle
◆ getPositionC()
| const RAY::Vector3 & RAY::Drawables::Drawables3D::Triangle::getPositionC |
( |
void |
| ) |
const |
- Returns
- the position of C of the Triangle
◆ operator=()
◆ setPositionA()
| Triangle & RAY::Drawables::Drawables3D::Triangle::setPositionA |
( |
const Vector3 & |
position | ) |
|
◆ setPositionB()
| Triangle & RAY::Drawables::Drawables3D::Triangle::setPositionB |
( |
const Vector3 & |
position | ) |
|
◆ setPositionC()
| Triangle & RAY::Drawables::Drawables3D::Triangle::setPositionC |
( |
const Vector3 & |
position | ) |
|
◆ _posB
| Vector3 RAY::Drawables::Drawables3D::Triangle::_posB |
|
private |
◆ _posC
| Vector3 RAY::Drawables::Drawables3D::Triangle::_posC |
|
private |
The documentation for this class was generated from the following files: