GeometricObjects CATForeignGeometryData
Usage: you must use this class as is. You should never derive it.
public class CATForeignGeometryData
Base class for the definition of foreign data on CGM objects.
If you want
to create a new class of CGM data, you have to derive this class. By the way, you will
find two kinds of methods:
- Mandatory methods: there is no default implementation, you must re-write them for
your own object.
- Optional methods: they have a default implementation. You can re-write them to
increase the performances or to be more adapted to your own class.
You must provide a default constructor. As in any C++ programmation,
it is also strongly recommended to provide
a copy constructor and an assigment operator.
Constructor and Destructor Index
- o
CATForeignGeometryData()
- Constructs a CATForeignGeometryData.
- o
CATForeignGeometryData(CATForeignGeometryData&)
- Copy constructor.
- o
~CATForeignGeometryData()
- Destructor
Method Index
- o
Clone(CATCloneManager&)
- Constructs a copy of this CATForeignGeometryData.
- o
CloneAndMove3D(CATTransfoManager&)
- Constructs a geometrically transformed copy of this CATForeignGeometryData.
- o
GetSize()
- Returns an estimation of the size in byte of this CATForeignGeometryData.
- o
Move3D(CATTransfoManager&)
- Applies a geometrical transformation to this CATForeignGeometryData.
- o
operator =(CATForeignGeometryData&)
- Assignement operator.
Constructor and Destructor
o CATForeignGeometryData
public CATForeignGeometryData( | ) |
-
Constructs a CATForeignGeometryData.
o CATForeignGeometryData
public CATForeignGeometryData( | const | iToCopy) |
-
Copy constructor.
o ~CATForeignGeometryData
public virtual ~CATForeignGeometryData( | ) |
-
Destructor
Methods
o Clone
public virtual Clone( | | iCloning) |
-
Constructs a copy of this CATForeignGeometryData.
Mandatory method.
- Parameters:
-
- iCloning
- The clone process to be used.
o CloneAndMove3D
public virtual CloneAndMove3D( | | iTransfo) |
-
Constructs a geometrically transformed copy of this CATForeignGeometryData.
Optional method. By default, copies , then transforms.
- Parameters:
-
- iTransfo
- The transformation process to be used.
o GetSize
-
Returns an estimation of the size in byte of this CATForeignGeometryData.
Optional method. No size by default.
- Returns:
- The estimated size.
o Move3D
public virtual Move3D( | | iTransfo) |
-
Applies a geometrical transformation to this CATForeignGeometryData.
Mandatory method.
- Parameters:
-
- iTransfo
- The transformation process to be used.
o operator =
public operator =( | const | iToAssign) |
-
Assignement operator.
This object is included in the file: CATForeignGeometryData.h
If needed, your Imakefile.mk should include the module: CATGeometricObjects
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.