User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_topology.makeoffsetline_tgis_shape_double_tgis_jointype

Table of Contents

TGIS_Topology.MakeOffsetLine(TGIS_Shape, double, TGIS_JoinType) method

DK11 for .NET | TatukGIS.NDK.TGIS_Topology.MakeOffsetLine | Overloads | Constructors | Methods | Properties | Events

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

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

Syntax

// C#
public TGIS_Shape MakeOffsetLine(
  TGIS_Shape _shp,
  double _dist,
  TGIS_JoinType _jointype
);
' VisualBasic
Public Function MakeOffsetLine(
  ByVal _shp As TGIS_Shape,
  ByVal _dist As Double,
  ByVal _jointype As TGIS_JoinType
) As TGIS_Shape
// Oxygene
public
  function MakeOffsetLine(
    _shp : TGIS_Shape;
    _dist : Double;
    _jointype : TGIS_JoinType
  ) : TGIS_Shape;

Parameters

Name Type Description
_shp TGIS_Shape shape to which a shifted line must be constructed
_dist double
Double
distance ( < 0 for line on right, > 0 on left)
_jointype TGIS_JoinType way of connecting sections

Result

Type Description
TGIS_Shape returns new shifted shape with given distance
2024/12/20 22:23

Page Tools