Loading...
Searching...
No Matches
com.navigine.idl.java.internal.GraphVertexBinding Class Reference
+ Inheritance diagram for com.navigine.idl.java.internal.GraphVertexBinding:

Public Member Functions

native boolean isValid ()
 
int getId ()
 graph vertex unique identifier.
 
Point getPoint ()
 graph vertex position in meters Point.
 
String getName ()
 graph vertex name.
 
boolean getIsExternal ()
 graph vertex can be used to communicate with external graphs or not.
 
boolean getIsElevation ()
 graph vertex used in elevation graph ElevationGraph or not.
 

Detailed Description

Definition at line 11 of file GraphVertexBinding.java.

Member Function Documentation

◆ getId()

int com.navigine.idl.java.internal.GraphVertexBinding.getId ( )
inline

graph vertex unique identifier.

Returns

Java code snippet:

// Get vertex ID
int vertexId = vertex.getId();
System.out.println("Vertex ID: " + vertexId);

Kotlin code snippet:

// Get vertex ID
val vertexId = vertex.id
println("Vertex ID: $vertexId")

Reimplemented from com.navigine.idl.java.GraphVertex.

Definition at line 26 of file GraphVertexBinding.java.

◆ getIsElevation()

boolean com.navigine.idl.java.internal.GraphVertexBinding.getIsElevation ( )
inline

graph vertex used in elevation graph ElevationGraph or not.

Returns

Java code snippet:

// Get vertex elevation flag
boolean isElevation = vertex.getIsElevation();
System.out.println("Vertex is elevation: " + isElevation);

Kotlin code snippet:

// Get vertex elevation flag
val isElevation = vertex.isElevation
println("Vertex is elevation: $isElevation")

Reimplemented from com.navigine.idl.java.GraphVertex.

Definition at line 54 of file GraphVertexBinding.java.

◆ getIsExternal()

boolean com.navigine.idl.java.internal.GraphVertexBinding.getIsExternal ( )
inline

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

Returns

Java code snippet:

// Get vertex external flag
boolean isExternal = vertex.getIsExternal();
System.out.println("Vertex is external: " + isExternal);

Kotlin code snippet:

// Get vertex external flag
val isExternal = vertex.isExternal
println("Vertex is external: $isExternal")

Reimplemented from com.navigine.idl.java.GraphVertex.

Definition at line 47 of file GraphVertexBinding.java.

◆ getName()

String com.navigine.idl.java.internal.GraphVertexBinding.getName ( )
inline

graph vertex name.

Returns

Java code snippet:

// Get vertex name
String name = vertex.getName();
System.out.println("Vertex name: " + name);

Kotlin code snippet:

// Get vertex name
val name = vertex.name
println("Vertex name: $name")

Reimplemented from com.navigine.idl.java.GraphVertex.

Definition at line 40 of file GraphVertexBinding.java.

◆ getPoint()

Point com.navigine.idl.java.internal.GraphVertexBinding.getPoint ( )
inline

graph vertex position in meters Point.

Returns

Java code snippet:

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

Kotlin code snippet:

// Get vertex point
val point = vertex.point
point?.let { demonstratePointUsage(it) }

Reimplemented from com.navigine.idl.java.GraphVertex.

Definition at line 33 of file GraphVertexBinding.java.

◆ isValid()

native boolean com.navigine.idl.java.internal.GraphVertexBinding.isValid ( )

Tells if this GraphVertex is valid or not. Any other method (except for this one) called on an invalid GraphVertex will throw java.lang.RuntimeException.

Reimplemented from com.navigine.idl.java.GraphVertex.


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