A 3D Dynamic Geometry Software

Calques 3D C++



CPointSurD3D Class Reference
[Calques 3D - Geometrical Objects]

Inheritance diagram for CPointSurD3D:

Inheritance graph
Collaboration diagram for CPointSurD3D:

Collaboration graph

List of all members.


Detailed Description

A point built on a line, ray or segment line.

Public Member Functions

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 BOOL SetParents (CxObject3DSet *pSet)
 Set the parents of the object.
virtual int SetDepth ()
 Update the depth of this object in the dependence graph.
virtual CxSchemeSetGetRedefineSchemes (CxSchemeSet *pSet)
 Retrieve the list of possible redefinition schemes of the object.
virtual UINT GetDefID () const
 Get the resource ID of the string containing the definition of the object.
virtual CString GetObjectDef ()
 Get the definition of the object.
virtual DWORD isA () const
 Get the identifier representing the type of the object.
virtual void CopyPointPosition (CObject3D *)
 Apply - if adequate - the coordinates of the given object to this object.
virtual void CopyPointPosition (CVector4)
 Apply - if adequate - the coordinates of the given object to this object.
virtual UINT CalculConceptuel ()
 Recompute the analytical representation of the object.
virtual CString ExportSymbolic (int nFormat)
 Method CObject3D::ExportSymbolic.
virtual BOOL MoveObject (CVisualParam *, UINT, CPoint, CVector4 &)
 Called by the framework to perform the deformation of the object.

Public Attributes

CDroite3DS
 A pointer to the target line.
FCoord lambda
 The location of the point, relative to the base of the target line.

Member Function Documentation

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.

BOOL SetParents ( CxObject3DSet pSet  )  [virtual]

Set the parents of the object.

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.

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 CPointSur3D.

virtual UINT GetDefID (  )  const [inline, virtual]

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

Reimplemented from CPoint3D.

CString GetObjectDef (  )  [virtual]

Get the definition of the object.

The definition of an object is a string containing a complete description of the object, including references to the objects to which it depends for its construction. Names of the objects and its parents are automatically updated. For example, a segment will be defined by "S is a segment line going through A and B". This definition is mainly used to populate the History view (see CViewHisto) and the status bar when an object is designated (see CViewUniv::OnUpdateObjTooltip).

Reimplemented from CObject3D.

virtual DWORD isA (  )  const [inline, virtual]

Get the identifier representing the type of the object.

See TObject3DClass and others identifiers

Reimplemented from CPoint3D.

void CopyPointPosition ( CObject3D pObj  )  [virtual]

Apply - if adequate - the coordinates of the given object to this object.

Parameters:
pObj A pointer to the object whose coordinates will be duplicated.

Reimplemented from CPoint3D.

void CopyPointPosition ( CVector4  ptLoc  )  [virtual]

Apply - if adequate - the coordinates of the given object to this object.

Parameters:
ptLoc The 3D coordinates to apply to this object.

Reimplemented from CPoint3D.

UINT CalculConceptuel (  )  [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.

CString ExportSymbolic ( int  nFormat  )  [virtual]

Method CObject3D::ExportSymbolic.

Parameters:
nFormat The format to use for exporting the object (see CObject3D::TGraphType)
Returns:
A String containing the symbolic representation of the object

Reimplemented from CPoint3D.

BOOL MoveObject ( CVisualParam pVisual,
UINT  nModKey,
CPoint  pt,
CVector4 loc 
) [virtual]

Called by the framework to perform the deformation of the object.

Parameters:
pVisual A pointer to the visual parameters of the view the deformation is taking place in.
nModKey Indicates whether various virtual keys are down.
pt The location - in view coordinates - of the cursor during deformation
loc A reference to the 3D coordinate corresponding to the new object's location.
Returns:
TRUE if the deformation took place, FALSE otherwise

Reimplemented from CPoint3D.


Member Data Documentation

A pointer to the target line.

The location of the point, relative to the base of the target line.