Running the Sample

Land Desktop Map 3D Samples

 
Running the Sample
 
 
 

As a result of loading the FindIntersects.dll into Map 3D, you see a map appear in the drawing pane It is a plan of a suburban road network. This map is derived from the contents of the Roads.sdf file that is located in the FindIntersects\SDF folder.If you scroll through the command-line output, you see three lines of response text:

  1. Find Intersects Sample application initialized.
  2. Command: _zoom
  3. Specify corner of window, enter a scale factor (nX or nXP), or [All/Center/Dynamic/Extents/Previous/Scale/Window/Object] <real time>: _extents
  4. Regenerating model.

Roads.sdf loaded into Map 3D

Before invoking the FindIntersect command, zoom in on the Roads drawing.

Zoom in on the cloverleaf in the middle of the Roads map

At the

Command:

prompt enter the command FindIntersect.
NoteEven though the project name and the DLL name is FindIntersects, the command is FindIntersect.

The first result is a prompt

Tolerance <3.0000>:

. Press the enter key to accept the default value, 3.0000. The second result is another prompt

Result limit (0 = all) <0>:

. Press the enter key to accept the default, 0. The third result is that the map in the drawing pane is populated with many little colored squares.

The cloverleaf and environs in the Road drawing after invocation of the FindIntersect command