A 3D Dynamic Geometry Software

Calques 3D C++



CPointSur3D Class Reference
[Calques 3D - Geometrical Objects]

Inheritance diagram for CPointSur3D:

Inheritance graph
Collaboration diagram for CPointSur3D:

Collaboration graph

List of all members.


Detailed Description

A generic class for every points built on another object.

Public Member Functions

virtual CxSchemeSetGetRedefineSchemes (CxSchemeSet *pSet)
 Retrieve the list of possible redefinition schemes of the object.

Static Public Member Functions

static BOOL IntersectSphereRay (CVector4 raybase, CVector4 raycos, CVector4 center, FCoord radius, FCoord *rin, FCoord *rout)
 Method CPointSur3D::InterSphRay.
static BOOL IntersectCylindreRay (CVector4 raybase, CVector4 raycos, CVector4 base, CVector4 axis, FCoord radius, FCoord *rin, FCoord *rout)
 Method CPointSur3D::IntersectCylindreRay.

Member Function Documentation

CxSchemeSet * GetRedefineSchemes ( CxSchemeSet pSet  )  [virtual]

Retrieve the list of possible redefinition schemes of the object.

Parameters:
pSet A pointer to the current list of schemes to be populated.
Returns:
A pointer to the populated list of schemes.

Reimplemented from CPoint3D.

Reimplemented in CPointSurD3D, and CPointSurP3D.

BOOL IntersectSphereRay ( CVector4  raybase,
CVector4  raycos,
CVector4  center,
FCoord  radius,
FCoord rin,
FCoord rout 
) [static]

Method CPointSur3D::InterSphRay.

Parameters:
raybase (CVector4) Base of the intersection ray
raycos (CVector4) Direction cosines of the ray
center (CVector4) Center of the sphere
radius (FCoord) Radius of the sphere
rin (FCoord) Entering distance
rout (FCoord) Leaving distance
Returns:
TRUE if ray intersects sphere, FALSE otherwise

BOOL IntersectCylindreRay ( CVector4  raybase,
CVector4  raycos,
CVector4  base,
CVector4  axis,
FCoord  radius,
FCoord rin,
FCoord rout 
) [static]

Method CPointSur3D::IntersectCylindreRay.

Parameters:
raybase (CVector4) Base of the intersection ray
raycos (CVector4) Direction cosines of the ray
base (CVector4) Base of the cylinder
axis (CVector4) axis of the cylinder
radius (FCoord) Radius of the cylinder
rin (FCoord) Entering distance
rout (FCoord) Leaving distance
Returns:
TRUE if ray intersects the cylinder, FALSE otherwise