Mathematics CATMathSetOf3DObjects
Usage: you must use this class as is. You should never derive it.
public class CATMathSetOf3DObjects
Class handling the allocation of sets of CATMathSetOfPoints
and CATMathSetOfVectors.
The size is defined by a number of objects of 3 doubles
NbObjects.
The SetNumberOfElements method enlarges the memory if
needed, while the Compress inherited method releases the free
unused memory.
Constructor and Destructor Index
- o
~CATMathSetOf3DObjects()
- Destructor.
Method Index
- o
GetNumberOfElements()
- Returns the number of objects of a CATMathSetOfObjects.
- o
SetNumberOf3DElements(CATLONG32)
- Modifies the dimension of a CATMathSetOf3DObjects.
- o
SetNumberOfElements(CATLONG32)
-
- o
operator =(CATMathSetOf3DObjects&)
- Defines the affectation operator.
Constructor and Destructor
o ~CATMathSetOf3DObjects
public virtual ~CATMathSetOf3DObjects( | ) |
-
Destructor.
Methods
o GetNumberOfElements
public GetNumberOfElements( | ) |
-
Returns the number of objects of a CATMathSetOfObjects.
o SetNumberOf3DElements
public virtual SetNumberOf3DElements( | | iNbObjects) |
-
Modifies the dimension of a CATMathSetOf3DObjects.
This method re-allocates the memory if necessary.
- Returns:
- E_FAIL if the given number is not positive, S_OK otherwise.
o SetNumberOfElements
public virtual SetNumberOfElements( | | iNbObjects) |
-
- Deprecated:
- V5R20 SetNumberOf3DElements
Modifies the dimension of a CATMathSetOf3DObjects.
This method re-allocates the memory if necessary.
o operator =
public operator =( | const | iSetToCopy) |
-
Defines the affectation operator.
This object is included in the file: CATMathSetOf3DObjects.h
If needed, your Imakefile.mk should include the module: CATMathematics
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.