case class Segment(id: String, direction: String = "", start: jLocation, end: jLocation, points: Array[jLocation] = null) extends Product with Serializable
a road segment may have one or more road-links or segments associated with, This road links are render on the google map, with associated traffic flow information
an example JSON representation of road-link or segment { "id": "700087309", "direction": "E", "start": { "lat": 42.491827551092825, "lon": -90.72371011354872, "alt": 0.0 }, "end": { "lat": 42.49194191750754, "lon": -90.72048326702006, "alt": 0.0 }, "points": [ { "lat": 42.491827551092825, "lon": -90.72371011354872, "alt": 0.0 }, { "lat": 42.491919379500736, "lon": -90.72269553071325, "alt": 0.0 }, { "lat": 42.49195234832061, "lon": -90.72160718712823, "alt": 0.0 }, { "lat": 42.49194191750754, "lon": -90.72048326702006, "alt": 0.0 } ] }
- id
road segment id
- direction
direction of the road segment
- start
starting point of the road segment
- end
end point of the road segment
- points
minimal set of points needed to render the road segment
- Alphabetic
- By Inheritance
- Segment
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Segment(id: String, direction: String = "", start: jLocation, end: jLocation, points: Array[jLocation] = null)
- id
road segment id
- direction
direction of the road segment
- start
starting point of the road segment
- end
end point of the road segment
- points
minimal set of points needed to render the road segment
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val direction: String
- val end: jLocation
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val id: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val points: Array[jLocation]
- val start: jLocation
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated