DK for Delphi | GisMatrix.TGIS_SquareMatrix.Create | Overloads | Constructors | Methods | Properties
Creates a square matrix instance from source matrix data.
// Delphi public constructor Create( const _mtr : TGIS_Matrix ); overload;
// C++ Builder Create ( TGIS_Matrix* const _mtr );
| Name | Type | Description |
|---|---|---|
| _mtr | TGIS_Matrix | The source matrix data. |
PURPOSE: Builds a square matrix from an existing matrix value.
BEHAVIOR: Copies source values into the new square matrix. If the source matrix is not square, data is truncated to the smaller source dimension.
USAGE: Use this overload to initialize a square matrix from existing matrix data.
matrix = TGIS_SquareMatrix(sourceMatrix) size = matrix.Dimension