A 3D Dynamic Geometry Software

Calques 3D C++



CPointCalc3D Class Reference
[Calques 3D - Geometrical Objects]

Inheritance diagram for CPointCalc3D:

Inheritance graph
Collaboration diagram for CPointCalc3D:

Collaboration graph

List of all members.


Detailed Description

A point whose coordinates are calculated internally by another object.

Usually used in composite objects such a bi-point intersections.


Public Member Functions

virtual UINT GetDefID () const
 Get the resource ID of the string containing the definition of the object.
virtual CxSchemeSetGetRedefineSchemes (CxSchemeSet *pSet)
 Retrieve the list of possible redefinition schemes of the object.
virtual BOOL SetParents (CxObject3DSet *pSet)
 Set the parents of the object.
virtual CObject3DCopyObject ()
 Create a clone of this object.
virtual CxObject3DSetGetParents ()
 Get all the parents of this object from the dependence graph.
virtual void Serialize (CArchive &ar)
 Store and load the object into and from an archive.
virtual int SetDepth ()
 Update the depth of this object in the dependence graph.
virtual DWORD isA () const
 Get the identifier representing the type of the object.
virtual void HandleObjectError (int, BOOL bShow=FALSE)
 
Parameters:
errNo The error code generated by previous function calls.

virtual UINT CalculConceptuel ()
 Recompute the analytical representation of the object.

Public Attributes

CObject3DpSource
 Pointer to the object responsible for the calculation.

Member Function Documentation

virtual UINT GetDefID (  )  const [inline, virtual]

Get the resource ID of the string containing the definition of the object.

Reimplemented from CPoint3D.

virtual CxSchemeSet* GetRedefineSchemes ( CxSchemeSet pSet  )  [inline, 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.

virtual BOOL SetParents ( CxObject3DSet pSet  )  [inline, virtual]

Set the parents of the object.

Reimplemented from CPoint3D.

CObject3D * CopyObject (  )  [virtual]

Create a clone of this object.

Returns:
A pointer to the clone of this object.

Reimplemented from CPoint3D.

CxObject3DSet * GetParents (  )  [virtual]

Get all the parents of this object from the dependence graph.

Returns:
A pointer to a list containing the parents, NULL if no parents.

Reimplemented from CObject3D.

void Serialize ( CArchive &  ar  )  [virtual]

Store and load the object into and from an archive.

Parameters:
ar A CArchive object to serialize to or from.

Reimplemented from CPoint3D.

int SetDepth (  )  [virtual]

Update the depth of this object in the dependence graph.

Basically, the depth of an object is either 0 if it has no parents or the maximum of its parents' depth +1.

Returns:
The current depth of this object

Reimplemented from CPoint3D.

virtual DWORD isA (  )  const [inline, virtual]

Get the identifier representing the type of the object.

See TObject3DClass and others identifiers

Reimplemented from CPoint3D.

void HandleObjectError ( int  errNo,
BOOL  bShow = FALSE 
) [virtual]

Parameters:
errNo The error code generated by previous function calls.

Parameters:
bShow TRUE if the error message is to be displayed, FALSE otherwise
See also:
Description of all Error Codes

Reimplemented from CObject3D.

virtual UINT CalculConceptuel (  )  [inline, virtual]

Recompute the analytical representation of the object.

Returns:
0 if the computation is correct, an error code otherwise.
See also:
Description of all Error Codes

Reimplemented from CPoint3D.


Member Data Documentation

Pointer to the object responsible for the calculation.