FMX.Utils.StringToPoint3D

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function StringToPoint3D(S: string): TPoint3D;

C++

extern DELPHI_PACKAGE System::Math::Vectors::TPoint3D __fastcall StringToPoint3D(System::UnicodeString S);

プロパティ

種類 可視性 ソース ユニット
function public
FMX.Utils.pas
FMX.Utils.hpp
FMX.Utils FMX.Utils

説明

指定された文字列を TPoint3D に変換します。

文字列は次のようなものでなければなりません。

 '(x, y, z)'

この x、y、z は、空間内の 3D の点の座標を表す数値です。

たとえば次のように呼び出すと、

 MyPoint3D := StringToPoint3D('(1,1,1)');

結果は、空間座標がすべて 1 に設定された 3D の点になります。

関連項目