Google.Maps.Unity.Intersections.RoadLattice.LineSegment2D

A representation of an immutable, directed line segment that can represent a connection between nodes in this lattice.

Summary

Constructors and Destructors

LineSegment2D(Vector2 start, Vector2 end)
Contstuctor.

Public attributes

End
readonly Vector2
Position of the end of this segment.
Start
readonly Vector2
Position of the start of this segment.

Public attributes

End

readonly Vector2 Google::Maps::Unity::Intersections::RoadLattice::LineSegment2D::End

Position of the end of this segment.

Start

readonly Vector2 Google::Maps::Unity::Intersections::RoadLattice::LineSegment2D::Start

Position of the start of this segment.

Public functions

LineSegment2D

 Google::Maps::Unity::Intersections::RoadLattice::LineSegment2D::LineSegment2D(
  Vector2 start,
  Vector2 end
)

Contstuctor.