FMX.Utils.StringToPoint3D
Delphi
function StringToPoint3D(S: string): TPoint3D;
C++
extern DELPHI_PACKAGE System::Math::Vectors::TPoint3D __fastcall StringToPoint3D(System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Utils.pas FMX.Utils.hpp |
FMX.Utils | FMX.Utils |
Description
Converts the given string to a TPoint3D.
The string should look like:
'(x, y, z)'
where x, y, and z are numbers that represent the coordinates of the 3D point in space.
For instance, calling:
MyPoint3D := StringToPoint3D('(1,1,1)');
results in a 3D point with all its space coordinates set to 1.