KernelCAD Documentation

DInsight Home
Skip Navigation Links. Skip Navigation LinksHome Page > Programming Samples and Tutorials > Overview > Euclidean Shortest Path
ESP Sample Overview

Euclidean Shortest Path Sample

ESP is an advanced sample, which demonstrates usage of IEuclideanShortestPath_KC. The source code is available in Sample\NET\VB\ESP and Samples\VC\ESP folders

The application

Press "Begin Sequence" button. Click at least two times on surface(s) to define the initial path. Press Calculate. The optimal path will be displayed in red.

Use the Initial Path controls to define the path extactly if some of the points are not on surface. The initial guess path must not intersect with any surface and must be outside of the objects.

Click Reset to start over.

Restart the application if an error happened

Implementation

To be added