Loading...
Searching...
No Matches
GraphVertex Class Referenceabstract

Class is used for storing graph vertex. More...

Inherits Finalizable.

Public Attributes

int get id
 graph vertex unique identifier.
 
Point get point
 graph vertex position in meters Point.
 
String get name
 graph vertex name.
 
bool get isExternal
 graph vertex can be used to communicate with external graphs or not.
 
bool get isElevation
 graph vertex used in elevation graph ElevationGraph or not.
 

Detailed Description

Class is used for storing graph vertex.

Definition at line 19 of file graph_vertex.dart.

Member Data Documentation

◆ id

int get GraphVertex.id

graph vertex unique identifier.

Dart code snippet:

// Get vertex ID
int vertexId = vertex.getId();
print('Vertex ID: $vertexId');

Definition at line 31 of file graph_vertex.dart.

◆ isElevation

bool get GraphVertex.isElevation

graph vertex used in elevation graph ElevationGraph or not.

Dart code snippet:

// Get vertex elevation flag
bool isElevation = vertex.getIsElevation();
print('Vertex is elevation: $isElevation');

Definition at line 71 of file graph_vertex.dart.

◆ isExternal

bool get GraphVertex.isExternal

graph vertex can be used to communicate with external graphs or not.

Dart code snippet:

// Get vertex external flag
bool isExternal = vertex.getIsExternal();
print('Vertex is external: $isExternal');

Definition at line 61 of file graph_vertex.dart.

◆ name

String get GraphVertex.name

graph vertex name.

Dart code snippet:

// Get vertex name
String? name = vertex.getName();
print('Vertex name: $name');

Definition at line 51 of file graph_vertex.dart.

◆ point

Point get GraphVertex.point

graph vertex position in meters Point.

Dart code snippet:

// Get vertex point
Point? point = vertex.getPoint();
if (point != null) {
demonstratePointUsage(point);
}

Definition at line 41 of file graph_vertex.dart.


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