IScene3DCoordinates.AdditionalAxisValueZ

Syntax

AdditionalAxisValueZ: Double;

Description

The AdditionalAxisValueZ property returns the coordinate of the selected sphere (point) on the Z axis.

Example

This example assumes that there is the S object of the IScene3D type.

Sub Chart3D;

Var

s : IScene3D;

sphere: IScene3DSphere;

Value : Double;

Begin

s.DisplayedObjects.Spheres.Count := 1;

sphere := s.DisplayedObjects.Spheres.Item(0);

sphere.R := 0.1;

sphere.Color := New GxColor.CreateRGB(255,0,0);

sphere.Selected := True;

Value := s.DisplayedObjects.SceneCoordinates.AdditionalAxisValueZ;

End Sub Chart3D;

After executing the example the Value variable contains a coordinate on the Z axis.

See also:

IScene3DCoordinates