PointCoordinate(Index: Integer): Array;
Index - point index.
The PointCoordinate property determines point coordinates.
This example assumes that there is the S object of the IScene3D type.
Sub Chart3D;
Var
S : IScene3D;
Hulls : IScene3DConvexHulls;
Hull : IScene3DConvexHull;
a : array [0..2] Of Double;
Begin
Hulls := S.DisplayedObjects.ConvexHulls;
Hull := Hulls.Item(0);
a[0] := Math.Rand*100 - Math.Rand*100;
a[1] := Math.Rand*100 - Math.Rand*100;
a[2] := Math.Rand*100 - Math.Rand*100;
Hull.DataSource.PointCoordinate(0) := a;
s.Refresh;
End Sub Chart3D;
After executing the example coordinates of the point with the 0 index are changed.
See also: