The Edge type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
Edge | Overloaded. |
Methods
Name | Description | |
---|---|---|
![]() |
checkIntersection |
Check if edge intersects another edge
|
![]() |
checkIntersectionRectangle |
Check if edge intersects a certain rectangle
|
![]() |
Dispose |
Release all resources
|
![]() |
Draw |
Draw edge
|
![]() |
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() |
GetIntersectionsWithRectangle |
Get both intersection points
|
![]() |
GetLenght |
Get Length
|
![]() ![]() |
GetLength |
Get length of edge by given start / end position
|
![]() |
GetSlope |
Get slope
|
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
HitRectangle |
Returns just the first intersection point
|
![]() |
intersection |
Get intersection point with other edge
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnCreateDevice |
Needs to be called when device is created
|
![]() |
OnDestroyDevice |
Needs to be called when device is destroyed
|
![]() |
OnLostDevice |
Needs to be called when device is lost
|
![]() |
OnResetDevice |
Needs to be called when device is reset
|
![]() |
PrepareDrawing |
Prepare edge for drawing
|
![]() |
RefreshSpline |
Recalculate Spline (needs to be called after a point in the environment change its position)
|
![]() |
SetSelected |
Set selected if a point in the environment got hit by mouse
|
![]() |
SetWeight |
Set new weight
|
![]() |
ToString |
Returns a String that represents the current Object. (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() |
Color |
Color
|
![]() ![]() |
Count |
Static Edge count, raised each time an Edge is created
|
![]() |
End |
End
|
![]() ![]() |
SelectedColor |
Static color in case some node in the environment got selected
|
![]() |
Start |
Start
|