IScene3DHullDataSource.DeletePoint

Syntax

DeletePoint(Index: Integer);

Parameters

Index - point index.

Description

The DeletePoint method deletes the point specified by its index.

Example

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

Sub Chart3D;

Var

S : IScene3D;

Hulls : IScene3DConvexHulls;

Hull : IScene3DConvexHull;

Begin

Hulls := S.DisplayedObjects.ConvexHulls;

Hull := Hulls.Item(0);

Hull.DataSource.DeletePoint(4);

s.Refresh;

End Sub Chart3D;

Executing the example deletes the point with the 4 index.

See also:

IScene3DHullDataSource