City Based Parking and Routing System API Documentation

Intersection Members

Intersection overview

Public Static Fields

_Fnt Font used for drawing the intersection numbers.

Public Static Methods

Create Creates a new Intersection object with the specified id.

Protected Static Fields

cMaxRoads The maximum number of roads supported by this intersection.

Public Instance Constructors

Intersection Overloaded. Initializes a new instance of the Intersection class.

Public Instance Fields

FullBoundsInvalidated (inherited from UMD.HCIL.Piccolo.PNode) 
PaintInvalidated (inherited from UMD.HCIL.Piccolo.PNode) 

Public Instance Properties

AllNodes (inherited from UMD.HCIL.Piccolo.PNode) 
Bounds (inherited from UMD.HCIL.Piccolo.PNode) 
Brush (inherited from UMD.HCIL.Piccolo.PNode) 
ChildPaintInvalid (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenCount (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenEnumerator (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenPickable (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenReference (inherited from UMD.HCIL.Piccolo.PNode) 
FullBounds (inherited from UMD.HCIL.Piccolo.PNode) 
GetRoads Gets the collection of Road objects connected to this intersection.
GlobalBounds (inherited from UMD.HCIL.Piccolo.PNode) 
GlobalFullBounds (inherited from UMD.HCIL.Piccolo.PNode) 
GlobalRotation (inherited from UMD.HCIL.Piccolo.PNode) 
GlobalScale (inherited from UMD.HCIL.Piccolo.PNode) 
GlobalToLocalMatrix (inherited from UMD.HCIL.Piccolo.PNode) 
GlobalTranslation (inherited from UMD.HCIL.Piccolo.PNode) 
HandlerList (inherited from UMD.HCIL.Piccolo.PNode) 
Height (inherited from UMD.HCIL.Piccolo.PNode) 
Id Gets the unique id of this intersection.
InboundLanes Returns the number inbound lanes on this intersection.
InverseMatrix (inherited from UMD.HCIL.Piccolo.PNode) 
ItemOverloaded. Gets the road at the specified RoadPosition.
LocalToGlobalMatrix (inherited from UMD.HCIL.Piccolo.PNode) 
Matrix (inherited from UMD.HCIL.Piccolo.PNode) 
MatrixReference (inherited from UMD.HCIL.Piccolo.PNode) 
Occluded (inherited from UMD.HCIL.Piccolo.PNode) 
Offset (inherited from UMD.HCIL.Piccolo.PNode) 
OffsetX (inherited from UMD.HCIL.Piccolo.PNode) 
OffsetY (inherited from UMD.HCIL.Piccolo.PNode) 
OutboundLanes Returns the number of outbound lanes on this intersection
PaintInvalid (inherited from UMD.HCIL.Piccolo.PNode) 
Parent (inherited from UMD.HCIL.Piccolo.PNode) 
Pickable (inherited from UMD.HCIL.Piccolo.PNode) 
PropertyChangeParentMask (inherited from UMD.HCIL.Piccolo.PNode) 
Roads Returns the number of roads connected to this intersection.
Root (inherited from UMD.HCIL.Piccolo.PNode) 
Rotation (inherited from UMD.HCIL.Piccolo.PNode) 
Scale (inherited from UMD.HCIL.Piccolo.PNode) 
Tag (inherited from UMD.HCIL.Piccolo.PNode) 
UnionOfChildrenBounds (inherited from UMD.HCIL.Piccolo.PNode) 
Visible (inherited from UMD.HCIL.Piccolo.PNode) 
Width (inherited from UMD.HCIL.Piccolo.PNode) 
X (inherited from UMD.HCIL.Piccolo.PNode) 
Y (inherited from UMD.HCIL.Piccolo.PNode) 

Public Instance Methods

AddActivity (inherited from UMD.HCIL.Piccolo.PNode) 
AddChild (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
AddChildren (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
AddInputEventListener (inherited from UMD.HCIL.Piccolo.PNode) 
AnimateMatrixToBounds (inherited from UMD.HCIL.Piccolo.PNode) 
AnimateToBounds (inherited from UMD.HCIL.Piccolo.PNode) 
AnimateToColor (inherited from UMD.HCIL.Piccolo.PNode) 
AnimateToMatrix (inherited from UMD.HCIL.Piccolo.PNode) 
AnimateToPositionScaleRotation (inherited from UMD.HCIL.Piccolo.PNode) 
CenterBoundsOnPoint (inherited from UMD.HCIL.Piccolo.PNode) 
CenterFullBoundsOnPoint (inherited from UMD.HCIL.Piccolo.PNode) 
Clone (inherited from UMD.HCIL.Piccolo.PNode) 
ComputeFullBounds (inherited from UMD.HCIL.Piccolo.PNode) 
Connect Connects a road at the specified road position.
DisconnectOverloaded. Disconnects the specified road.
EndResizeBounds (inherited from UMD.HCIL.Piccolo.PNode) 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindIntersectingNodes (inherited from UMD.HCIL.Piccolo.PNode) 
FullIntersects (inherited from UMD.HCIL.Piccolo.PNode) 
FullPaint (inherited from UMD.HCIL.Piccolo.PNode) 
FullPick (inherited from UMD.HCIL.Piccolo.PNode) 
GenerateDirectionsOverloaded. Generates the DirectionTypes for each lane if they are not set.
GetAllNodes (inherited from UMD.HCIL.Piccolo.PNode) 
GetChild (inherited from UMD.HCIL.Piccolo.PNode) 
GetCrossingDistance Gets the crude intersection crossing distance based on the from lane.
GetDirection Gets the direction type that symbolizes the turn between the two road positions.
GetEnumerator (inherited from UMD.HCIL.Piccolo.PNode) 
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData Populates the provided SerializationInfo with the data needed to serialize the object.
GetRoadConnectedTo Gets the road connected to the specified opposite intersection.
GetRouteOverloaded. Retrieves a route crossing the intersection for the specified lanes.
GetTurnIndicator Gets the TailLight status for the turn betweent the specfied roads.
GetType (inherited from Object)Gets the Type of the current instance.
GetValidRoadToRoadCrossings Creates a matrix of valid road to road crossings.
GlobalToLocal (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
HasRoute Determines if their is a route between the two nodes.
InboundLanesOf Gets the collection of lanes inbound on this intersection for the specified RoadPosition.
IndexOfChild (inherited from UMD.HCIL.Piccolo.PNode) 
Initialize Initializes the Intersection once its setup is completed.
Intersects (inherited from UMD.HCIL.Piccolo.PNode) 
InvalidateFullBounds (inherited from UMD.HCIL.Piccolo.PNode) 
InvalidateLayout (inherited from UMD.HCIL.Piccolo.PNode) 
InvalidatePaint (inherited from UMD.HCIL.Piccolo.PNode) 
IsAncestorOf (inherited from UMD.HCIL.Piccolo.PNode) 
IsConnected Determines if the specified road is connected to this intersection.
IsConnectedAt Retrieves the RoadPosition at which the Road is connected.
IsDescendentOf (inherited from UMD.HCIL.Piccolo.PNode) 
IsDescendentOfRoot (inherited from UMD.HCIL.Piccolo.PNode) 
IsHeadedFor Gets the RoadPosition of the road where headed to based on the specified current position and the disered turn direction
IsOpaque (inherited from UMD.HCIL.Piccolo.PNode) 
IsPositionConnected Determines if a specified RoadPosition has a road connected to it.
LayoutChildren (inherited from UMD.HCIL.Piccolo.PNode) 
LocalToGlobal (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
LocalToParent (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
MayCrossOverloaded. Determines if a vehicle may cross the intersection.
MoveInBackOf (inherited from UMD.HCIL.Piccolo.PNode) 
MoveInFrontOf (inherited from UMD.HCIL.Piccolo.PNode) 
MoveToBack (inherited from UMD.HCIL.Piccolo.PNode) 
MoveToFront (inherited from UMD.HCIL.Piccolo.PNode) 
OffsetBy (inherited from UMD.HCIL.Piccolo.PNode) 
OnClick (inherited from UMD.HCIL.Piccolo.PNode) 
OnDoubleClick (inherited from UMD.HCIL.Piccolo.PNode) 
OnDragDrop (inherited from UMD.HCIL.Piccolo.PNode) 
OnDragEnter (inherited from UMD.HCIL.Piccolo.PNode) 
OnDragLeave (inherited from UMD.HCIL.Piccolo.PNode) 
OnDragOver (inherited from UMD.HCIL.Piccolo.PNode) 
OnGotFocus (inherited from UMD.HCIL.Piccolo.PNode) 
OnKeyDown (inherited from UMD.HCIL.Piccolo.PNode) 
OnKeyPress (inherited from UMD.HCIL.Piccolo.PNode) 
OnKeyUp (inherited from UMD.HCIL.Piccolo.PNode) 
OnLostFocus (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseDown (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseDrag (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseEnter (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseLeave (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseMove (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseUp (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseWheel (inherited from UMD.HCIL.Piccolo.PNode) 
OutboundLanesOf Gets the collection of lanes outbound on this intersection for the specified RoadPosition.
ParentBoundsChanged (inherited from UMD.HCIL.Piccolo.PNode) 
ParentToLocal (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
Position (inherited from UMD.HCIL.Piccolo.PNode) 
Print (inherited from UMD.HCIL.Piccolo.PNode) 
PrintConflicts Prints the conflict matrix of the intersection onto screen.
PrintRoutes Prints the routes generated by the intersection onto screen.
ProcessRequests Processes the requests and formulates the responds.
RemoveAllChildren (inherited from UMD.HCIL.Piccolo.PNode) 
RemoveChild (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
RemoveChildren (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
RemoveFromParent (inherited from UMD.HCIL.Piccolo.PNode) 
RemoveInputEventListener (inherited from UMD.HCIL.Piccolo.PNode) 
Repaint (inherited from UMD.HCIL.Piccolo.PNode) 
RepaintFrom (inherited from UMD.HCIL.Piccolo.PNode) 
Reparent (inherited from UMD.HCIL.Piccolo.PNode) 
ReplaceWith (inherited from UMD.HCIL.Piccolo.PNode) 
RequestCrossingOverloaded. Allows a vehicle to request intersection crossing permission on the next step.
Reset Resets the intersection to its post-constructor state.
ResetBounds (inherited from UMD.HCIL.Piccolo.PNode) 
RotateBy (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
RotateInPlace (inherited from UMD.HCIL.Piccolo.PNode) 
ScaleBy (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
SetBounds (inherited from UMD.HCIL.Piccolo.PNode) 
SetOffset (inherited from UMD.HCIL.Piccolo.PNode) 
SignalBoundsChanged (inherited from UMD.HCIL.Piccolo.PNode) 
StartResizeBounds (inherited from UMD.HCIL.Piccolo.PNode) 
ToImage (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
ToPickPath (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
ToString (inherited from UMD.HCIL.Piccolo.PNode) 
TransformBy (inherited from UMD.HCIL.Piccolo.PNode) 
TranslateBy (inherited from UMD.HCIL.Piccolo.PNode) 
ValidateFullPaint (inherited from UMD.HCIL.Piccolo.PNode) 

Public Instance Events

BoundsChanged (inherited from UMD.HCIL.Piccolo.PNode) 
BrushChanged (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenChanged (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenPickableChanged (inherited from UMD.HCIL.Piccolo.PNode) 
Click (inherited from UMD.HCIL.Piccolo.PNode) 
DoubleClick (inherited from UMD.HCIL.Piccolo.PNode) 
DragDrop (inherited from UMD.HCIL.Piccolo.PNode) 
DragEnter (inherited from UMD.HCIL.Piccolo.PNode) 
DragLeave (inherited from UMD.HCIL.Piccolo.PNode) 
DragOver (inherited from UMD.HCIL.Piccolo.PNode) 
FullBoundsChanged (inherited from UMD.HCIL.Piccolo.PNode) 
GotFocus (inherited from UMD.HCIL.Piccolo.PNode) 
KeyDown (inherited from UMD.HCIL.Piccolo.PNode) 
KeyPress (inherited from UMD.HCIL.Piccolo.PNode) 
KeyUp (inherited from UMD.HCIL.Piccolo.PNode) 
LostFocus (inherited from UMD.HCIL.Piccolo.PNode) 
MouseDown (inherited from UMD.HCIL.Piccolo.PNode) 
MouseDrag (inherited from UMD.HCIL.Piccolo.PNode) 
MouseEnter (inherited from UMD.HCIL.Piccolo.PNode) 
MouseLeave (inherited from UMD.HCIL.Piccolo.PNode) 
MouseMove (inherited from UMD.HCIL.Piccolo.PNode) 
MouseUp (inherited from UMD.HCIL.Piccolo.PNode) 
MouseWheel (inherited from UMD.HCIL.Piccolo.PNode) 
ParentChanged (inherited from UMD.HCIL.Piccolo.PNode) 
PickableChanged (inherited from UMD.HCIL.Piccolo.PNode) 
TagChanged (inherited from UMD.HCIL.Piccolo.PNode) 
TransformChanged (inherited from UMD.HCIL.Piccolo.PNode) 
VisibleChanged (inherited from UMD.HCIL.Piccolo.PNode) 

Protected Instance Fields

_Actives Bit array containing the active internal routes of the intersection.
_ConflictMatrix The conflict matrix for the internal routes.
_Id The unique id of the intersection.
_Requests Bit array containing the request from vehicles to activate a certain route.
_Responds Bit array containing the responses to vehicles.
_Roads The collection of road
_Routes The list of internal routes for the specified intersection.
bounds (inherited from UMD.HCIL.Piccolo.PNode) 

Protected Instance Properties

BoundsModified (inherited from UMD.HCIL.Piccolo.PNode) 
BoundsVolatile (inherited from UMD.HCIL.Piccolo.PNode) 
ChildBoundsInvalid (inherited from UMD.HCIL.Piccolo.PNode) 
ChildBoundsVolatile (inherited from UMD.HCIL.Piccolo.PNode) 
FullBoundsInvalid (inherited from UMD.HCIL.Piccolo.PNode) 
ParamString (inherited from UMD.HCIL.Piccolo.PNode) 

Protected Instance Methods

AddChildren (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FireChildPropertyChangedEvent (inherited from UMD.HCIL.Piccolo.PNode) 
FirePropertyChangedEvent (inherited from UMD.HCIL.Piccolo.PNode) 
GenerateConflicts Generates a conflict matrix for the routes.
GenerateDirectionsOverloaded.  
GenerateRoutesOverloaded. Generates internal routes for a specified intersection.
GetConnectedLanesNrOf Gets the number of lanes connected to the intersection.
GetPropertyHandlers (inherited from UMD.HCIL.Piccolo.PNode) 
HandleEvent (inherited from UMD.HCIL.Piccolo.PNode) 
InternalUpdateBounds (inherited from UMD.HCIL.Piccolo.PNode) 
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnDeserialize Function triggered by the Framework after deserialization is complete.
OnFullBoundsInvalidated (inherited from UMD.HCIL.Piccolo.PNode) 
OnPaintInvalidated (inherited from UMD.HCIL.Piccolo.PNode) 
Paint Paints the intersection onto the screen.
PaintAfterChildren (inherited from UMD.HCIL.Piccolo.PNode) 
Pick (inherited from UMD.HCIL.Piccolo.PNode) 
PickAfterChildren (inherited from UMD.HCIL.Piccolo.PNode) 
printDocument_PrintPage (inherited from UMD.HCIL.Piccolo.PNode) 
RemoveActReqConflicts Removes any conflicts between currently active routes and requests.
RemoveChildren (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
ResolveConflict Resolves the conflict between two routes when neither is preferred over the other.
ScaleAndDraw (inherited from UMD.HCIL.Piccolo.PNode) 
UpdateActives Updates the Active array so that only routes with vehicles still on the intersection remain active.
ValidateFullBounds (inherited from UMD.HCIL.Piccolo.PNode) 

See Also

Intersection Class | CBPRS.Infrastructure Namespace