User Tools

Site Tools


samples:samples:snap

Table of Contents

Snap

Summary

How to snap a vehicle to a road if the known vehicle location is not very precise. Uses a simulated GPS-like position.

Description

This sample illustrates use of:

Name Description
TGIS_Shape.SetPositionMove the whole shape.
TGIS_Shape.CentroidCalculate the central point of a shape.

Code

This sample is available on following platforms (click to see source code):

2017/12/05 09:21