User Tools

Site Tools


api:dk11:delphi:gistopology.tgis_topology.makeoffsetline_tgis_shape_double

Table of Contents

TGIS_Topology.MakeOffsetLine(TGIS_Shape; Double) method

DK11 for Delphi | GisTopology.TGIS_Topology.MakeOffsetLine | Overloads | Constructors | Methods | Properties | Events

Compute a shifted line for a shape to a given distance.

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

Syntax

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

Parameters

Name Type Description
_shp TGIS_Shape shape to which a shifted line must be constructed
_dist Double distance ( < 0 for line on right, > 0 on left)

Result

Type Description
TGIS_Shape returns new shifted shape with given distance
2024/06/21 22:09

Page Tools