User Tools

Site Tools


api:dk11:delphi:gistopology.tgis_topology.makebuffer_tgis_shape_double

TGIS_Topology.MakeBuffer(TGIS_Shape; Double) method

DK for Delphi | GisTopology.TGIS_Topology.MakeBuffer | Overloads | Constructors | Methods | Properties | Events

Compute a buffer around a shape to a given distance. Uses 9 vertices to create a curve.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  function MakeBuffer(
    const _shp : TGIS_Shape;
    const _dist : Double
  ) : TGIS_Shape; overload;
// C++ Builder
public:
  TGIS_Shape* MakeBuffer(
    TGIS_Shape* const _shp,
    const double _dist
  ) /* overload */;

Parameters

Name Type Description
_shp TGIS_Shape shape to which a buffer must be constructed
_dist Double distance

Result

Type Description
TGIS_Shape returns new shape with buffer around given shape within given distance

Remarks

See TGIS_LayerVector.RevertAll for example.

References

2025/01/31 01:09

Page Tools