User Tools

Site Tools


api:dk11:delphi:gismatrix.tgis_squarematrix.create_tgis_matrix

Table of Contents

TGIS_SquareMatrix.Create(TGIS_Matrix) constructor

DK for Delphi | GisMatrix.TGIS_SquareMatrix.Create | Overloads | Constructors | Methods | Properties

Creates a square matrix instance from source matrix data.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  constructor Create(
    const _mtr : TGIS_Matrix
  ); overload;
// C++ Builder
Create (
  TGIS_Matrix* const _mtr
);

Parameters

Name Type Description
_mtr TGIS_Matrix The source matrix data.

Remarks

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

2026/07/05 01:46

Page Tools