class bloc

A bloc is defined with one rectangle : the road (top) one (the road has a direction) Notice that the resource file format does not define bocs with their top rectangle, but by many front (mrf) ones ! See bloc. More...

Definition#include <src/bloc.h>
Inheritsglsolid [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Private Methods

Private Members


Detailed Description

A bloc is defined with one rectangle : the road (top) one (the road has a direction) Notice that the resource file format does not define bocs with their top rectangle, but by many front (mrf) ones ! See bloc.h in ascii/fixed fond width

 bloc ( const CString &sName, const rectangle &r, const couleur &cside, const rectangle &rbot, bool bShowFront=false, bool bShowRear=false, bool bShowUnder=false, bool bVisible=true)

bloc

void  Translate (const vect &v)

Translate

[virtual]

Reimplemented from glsolid.

void  Render ()

Render

[const virtual]

Reimplemented from glsolid.

glsurface*  Duplicate ()

Duplicate

[const virtual]

Reimplemented from glsolid.

float  PlanSide (const planesurf *face)

PlanSide

[const virtual]

Plan side returns >0 upside the plan = 0 cut or in the plan <0 downside the plan

planesurf*  Collision ( const point &ptStart, const vect &vPath, point* pptInter, glsolid* &pSolid)

Collision

[virtual]

Reimplemented from glsolid.

void  SetColor (const couleur& col)

SetColor

[virtual]

Reimplemented from glsolid.

const vect&  Normal ()

Normal

[const virtual]

point  GPoint ()

GPoint

[const virtual]

This method return the point that is the mass center of the bloc

Reimplemented from glsolid.

bool  IsInside (const point &)

IsInside

[const virtual]

Reimplemented from glsolid.

const vect  Direction ()

Direction

[const]

bool  IsVisible ()

IsVisible

[const]

 bloc (const bloc &cpy)

bloc

[private]

rectangle mrs1

mrs1

[private]

rectangle mrt

mrt

[private]

rectangle mrs2

mrs2

[private]

rectangle mru

mru

[private]

rectangle mrr

mrr

[private]

rectangle mrf

mrf

[private]

bool mbShowFront

mbShowFront

[private]

bool mbShowRear

mbShowRear

[private]

bool mbShowUnder

mbShowUnder

[private]

bool mbVisible

mbVisible

[private]


Generated by: saturn on FrancoisLinux on Sun Feb 3 20:01:44 2002, using kdoc 2.0a53.