Skip to content

Vertex

Inheritance Hierarchy

  • Object
  • ValueType
    • Vertex

Members Summary

Public Constructors Summary

Name
Vertex(Double,Double)
Vertex(PointShape)

Protected Constructors Summary

Name
N/A

Public Properties Summary

Name Return Type Description
X Double This property returns the horizontal value of the vertex.
Y Double This property returns the vertical value of the vertex.

Protected Properties Summary

Name Return Type Description
N/A N/A N/A

Public Methods Summary

Name
Add(Vertex)
Equals(Object)
FindMiddleVertexBetweenTwoVertices(Vertex,Vertex)
GetHashCode()
GetType()
ToString()

Protected Methods Summary

Name
Finalize()
GetDistanceFromVertex(Double,Double)
GetDistanceTo(BaseShape,GeographyUnit,DistanceUnit)
GetDistanceTo(Vertex,GeographyUnit,DistanceUnit)
MemberwiseClone()
Rotate(Vertex,Single)
Rotate(PointShape,Single)
TranslateByDegree(Double,Double,GeographyUnit,DistanceUnit)
TranslateByOffset(Double,Double,GeographyUnit,DistanceUnit)

Public Events Summary

Name Event Arguments Description
N/A N/A N/A

Members Detail

Public Constructors

Name
Vertex(Double,Double)
Vertex(PointShape)

Protected Constructors

Public Properties

X

Summary

This property returns the horizontal value of the vertex.

Remarks

None

Return Value

Double


Y

Summary

This property returns the vertical value of the vertex.

Remarks

None

Return Value

Double


Protected Properties

Public Methods

Add(Vertex)

Summary

This method adds the target vertex to the current vertex.

Remarks

None

Return Value

Type Description
Vertex N/A

Parameters

Name Type Description
targetVertex Vertex This parameter represents the vertex you wish to add to the current vertex.

Equals(Object)

Summary

This method is an override of the Equals functionality.

Remarks

None

Return Value

Type Description
Boolean N/A

Parameters

Name Type Description
obj Object N/A

FindMiddleVertexBetweenTwoVertices(Vertex,Vertex)

Summary

This method returns the middle Vertex of a straight line which two vertices are passing in.

Remarks

N/A

Return Value

Type Description
Vertex This method returns the middle Vertex between the vertices which passing in.

Parameters

Name Type Description
vertex1 Vertex start vertex of a straight line
vertex2 Vertex en vertex of a straight line

GetHashCode()

Summary

This method is an override of the GetHashCode functionality.

Remarks

None

Return Value

Type Description
Int32 N/A

Parameters

Name Type Description
N/A N/A N/A

GetType()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Type N/A

Parameters

Name Type Description
N/A N/A N/A

ToString()

Summary

This method is an override of the ToString functionality.

Remarks

None

Return Value

Type Description
String N/A

Parameters

Name Type Description
N/A N/A N/A

Protected Methods

Finalize()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
N/A N/A N/A

GetDistanceFromVertex(Double,Double)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
toX Double N/A
toY Double N/A

GetDistanceTo(BaseShape,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
targetShape BaseShape N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

GetDistanceTo(Vertex,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Double N/A

Parameters

Name Type Description
targetVertex Vertex N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

MemberwiseClone()

Summary

N/A

Remarks

N/A

Return Value

Type Description
Object N/A

Parameters

Name Type Description
N/A N/A N/A

Rotate(Vertex,Single)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
vertex Vertex N/A
degreeAngle Single N/A

Rotate(PointShape,Single)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
pivotPoint PointShape N/A
degreeAngle Single N/A

TranslateByDegree(Double,Double,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
distance Double N/A
angleInDegrees Double N/A
shapeUnit GeographyUnit N/A
distanceUnit DistanceUnit N/A

TranslateByOffset(Double,Double,GeographyUnit,DistanceUnit)

Summary

N/A

Remarks

N/A

Return Value

Type Description
Void N/A

Parameters

Name Type Description
xOffset Double N/A
yOffset Double N/A
shapeUnit GeographyUnit N/A
unitOfOffset DistanceUnit N/A

Public Events