Google.Maps.Unity.Intersections.Intersection

A representation of a road intersection that can have multiple in/outgoing roads.

Summary

Inheritance

Inherits from: Google.Maps.Feature.Shape.MapFeatureShape

Public attributes

Arms
readonly IEnumerable< IntersectionArm >
The intersection arms.

Protected functions

CalculateLocalBoundingBox()
virtual override Bounds
Calculates and returns a local bounding box for all of the geometry represented by this object. The bounding box is located relative to the Shape's origin, which means that the center of it might not be at (0, 0) if the Origin is not at the center of all of the vertices.
TranslateGeometry(Vector2 offset)
virtual override void
Translates the geometry by the supplied offset. This does not change the position of the Origin.
Parameters
offset
An offset vector used for translation.

Public attributes

Arms

readonly IEnumerable< IntersectionArm > Arms

The intersection arms.

Protected functions

CalculateLocalBoundingBox

virtual override Bounds CalculateLocalBoundingBox()

Calculates and returns a local bounding box for all of the geometry represented by this object. The bounding box is located relative to the Shape's origin, which means that the center of it might not be at (0, 0) if the Origin is not at the center of all of the vertices.

TranslateGeometry

virtual override void TranslateGeometry(
  Vector2 offset
)

Translates the geometry by the supplied offset. This does not change the position of the Origin. Parameters

offset
An offset vector used for translation.