Loading...
Searching...
No Matches

Сlass describing a graph that connects the sublocations. More...

#include <com/navigine/idl/objc/NCElevationGraph.h>

Inherits NSObject.

Properties

NSArray< NCGraphEdge * > * edges
 List of edges that connect two sublocations GraphEdge.
 

Detailed Description

Сlass describing a graph that connects the sublocations.

Referenced from Location

Definition at line 19 of file NCElevationGraph.h.

Property Documentation

◆ edges

- (NSArray<NCGraphEdge *>*) edges
readnonatomicassign

List of edges that connect two sublocations GraphEdge.

Swift code snippet:

// Get elevation graph edges
let edges = elevationGraph.getEdges()
print("Number of elevation graph edges: \‍(edges.count)")
// Demonstrate each edge
for (index, edge) in edges.enumerated() {
print("Elevation graph edge \‍(index + 1):")
demonstrateGraphEdgeUsage(edge)
}

Objective C code snippet:

// Get elevation graph edges
NSArray<NCGraphEdge *> *edges = [elevationGraph getEdges];
NSLog(@"Number of elevation graph edges: %lu", (unsigned long)edges.count);
// Demonstrate each edge
for (int i = 0; i < edges.count; i++) {
NCGraphEdge *edge = edges[i];
NSLog(@"Elevation graph edge %d:", i + 1);
[self demonstrateGraphEdgeUsage:edge];
}

Definition at line 33 of file NCElevationGraph.h.


The documentation for this class was generated from the following file: