class Sp_FaceC

A face is composed by 3 points and used to build a track
The 3 points are defined as pointers

Public Methods

[more] Sp_FaceC(float *p1, float *p2, float *p3)
Constructor
[more]void ReCompute()
This function must be called when a point has changed
[more]Sp_Vecteur Normale() const
Give the normal of this face
[more]Sp_Point Center() const
Give the center of this face
[more]Sp_Plan Plan() const
Give the plan of this face
[more]int IsIn(const Sp_Point &, const Sp_Vecteur &) const
Is this point in the volume defined by face and diretion ?
[more]Sp_Point Project(const Sp_Point &, const Sp_Vecteur &) const
Project a point on the face
[more]Sp_Vecteur Project(const Sp_Vecteur &) const
Project a vecteur on the face
[more]void Print() const
Print information for a face
[more]void AttachToCheckPoint(Sp_CheckPoint *)
Attach this face to a checkpoint
[more]void Touch(int player, long time)
This player is on this face


Documentation

A face is composed by 3 points and used to build a track
The 3 points are defined as pointers. So when points changed you must call the ReCompute() function. Version rewritten
o Sp_FaceC(float *p1, float *p2, float *p3)
Constructor

ovoid ReCompute()
This function must be called when a point has changed

oSp_Vecteur Normale() const
Give the normal of this face

oSp_Point Center() const
Give the center of this face

oSp_Plan Plan() const
Give the plan of this face

oint IsIn(const Sp_Point &, const Sp_Vecteur &) const
Is this point in the volume defined by face and diretion ?

oSp_Point Project(const Sp_Point &, const Sp_Vecteur &) const
Project a point on the face

oSp_Vecteur Project(const Sp_Vecteur &) const
Project a vecteur on the face

ovoid Print() const
Print information for a face

ovoid AttachToCheckPoint(Sp_CheckPoint *)
Attach this face to a checkpoint

ovoid Touch(int player, long time)
This player is on this face


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.