User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shape.transform_tgis_point3d_double_double_double_double_ac1c95414ee429c98c013cfe4bbccbe4

TGIS_Shape.Transform(TGIS_Point3D, double, double, double, double, double, double, double, double, double, double, double, double) method

DK11 for .NET | TatukGIS.NDK.TGIS_Shape.Transform | Overloads | Constructors | Fields | Methods | Properties

Transform shape by provided matrix [_m11.._m33] and translation vector [_dx,_dy,-dz].

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public TGIS_Shape Transform(
  TGIS_Point3D _origin,
  double _m11,
  double _m12,
  double _m13,
  double _m21,
  double _m22,
  double _m23,
  double _m31,
  double _m32,
  double _m33,
  double _dx,
  double _dy,
  double _dz
);
' VisualBasic
Public Function Transform(
  ByVal _origin As TGIS_Point3D,
  ByVal _m11 As Double,
  ByVal _m12 As Double,
  ByVal _m13 As Double,
  ByVal _m21 As Double,
  ByVal _m22 As Double,
  ByVal _m23 As Double,
  ByVal _m31 As Double,
  ByVal _m32 As Double,
  ByVal _m33 As Double,
  ByVal _dx As Double,
  ByVal _dy As Double,
  ByVal _dz As Double
) As TGIS_Shape
// Oxygene
public
  function Transform(
    _origin : TGIS_Point3D;
    _m11 : Double;
    _m12 : Double;
    _m13 : Double;
    _m21 : Double;
    _m22 : Double;
    _m23 : Double;
    _m31 : Double;
    _m32 : Double;
    _m33 : Double;
    _dx : Double;
    _dy : Double;
    _dz : Double
  ) : TGIS_Shape;

Parameters

Name Type Description
_origin TGIS_Point3D origin point of the transformation
_m11 double
Double
element [1,1] of the transformation matrix
_m12 double
Double
element [1,2] of the transformation matrix
_m13 double
Double
element [1,3] of the transformation matrix
_m21 double
Double
element [2,1] of the transformation matrix
_m22 double
Double
element [2,2] of the transformation matrix
_m23 double
Double
element [2,3] of the transformation matrix
_m31 double
Double
element [3,1] of the transformation matrix
_m32 double
Double
element [3,2] of the transformation matrix
_m33 double
Double
element [3,2] of the transformation matrix
_dx double
Double
x translation element of translation vector
_dy double
Double
y translation element of translation vector
_dz double
Double
z translation element of translation vector

Result

Type Description
TGIS_Shape Newly created transformed shape.

Example

Rotate shape by 30 degrees

References

2020/05/07 01:18

Page Tools