Google.Maps.Unity.Intersections.RoadLattice.LineSegment2D

Encapsulates an immutable, directed line segment that represents 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.