Count: Integer;
The Count property returns the number of points specified for creating a surface.
This example assumes that there is the S object of the IScene3D type.
Sub Chart3D;
Var
S : IScene3D;
Hulls : IScene3DConvexHulls;
Hull : IScene3DConvexHull;
Count : Integer;
Begin
Hulls := S.DisplayedObjects.ConvexHulls;
Hull := Hulls.Item(0);
Count := Hull.DataSource.Count;
s.Refresh;
End Sub Chart3D;
After executing the example the Count variable will store the number of points specified for creating a surface.
See also: