Google.Maps.Util.GeometryUtils.IndexedEdge

An immutable struct representing an edge within a MapFeatureShape.

Summary

Stores indices into the MapFeatureShape's vertices array.

Guarantees that VertexIndex1 is always less than VertexIndex2 so that a comparison between two IndexedEdges will always be equal iff it is composed of the same two vertex indices.

Constructors and Destructors

IndexedEdge(int vertexIndex1, int vertexIndex2)
Constructor.

Public attributes

VertexIndex1
readonly int
First index.
VertexIndex2
readonly int
Second index.

Public functions

ToString()
override String
Converts the indexed edge to a human-readable string.

Public attributes

VertexIndex1

readonly int Google::Maps::Util::GeometryUtils::IndexedEdge::VertexIndex1

First index.

VertexIndex2

readonly int Google::Maps::Util::GeometryUtils::IndexedEdge::VertexIndex2

Second index.

Public functions

IndexedEdge

 Google::Maps::Util::GeometryUtils::IndexedEdge::IndexedEdge(
  int vertexIndex1,
  int vertexIndex2
)

Constructor.

Details
Parameters
vertexIndex1
The first vertex.
vertexIndex2
The second vertex.

ToString

override String Google::Maps::Util::GeometryUtils::IndexedEdge::ToString()

Converts the indexed edge to a human-readable string.

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution