Vertex¶
Namespace: ThinkGeo.Core
This structure represents the point at which the sides of an angle intersect.
public struct Vertex
Inheritance object → ValueType → Vertex
Properties¶
X¶
This property returns the horizontal value of the vertex.
public double X { get; set; }
Property Value¶
double
This property returns the horizontal value of the vertex.
Remarks:
None
Y¶
This property returns the vertical value of the vertex.
public double Y { get; set; }
Property Value¶
double
This property returns the vertical value of the vertex.
Remarks:
None
Constructors¶
Vertex(double, double)¶
This is the constructor used to create a vertex.
Vertex(double x, double y)
Parameters¶
x double
This parameter represents the horizontal value.
y double
This parameter represents the vertical value.
Remarks:
None
Vertex(PointShape)¶
This is the constructor used to create a vertex.
Vertex(PointShape point)
Parameters¶
point PointShape
This parameter is the PointShape you want to convert to a Vertex.
Remarks:
None
Methods¶
ToString()¶
This method is an override of the ToString functionality.
string ToString()
Returns¶
Remarks:
None
GetHashCode()¶
This method is an override of the GetHashCode functionality.
int GetHashCode()
Returns¶
Remarks:
None
Equals(object)¶
This method is an override of the Equals functionality.
bool Equals(object obj)
Parameters¶
obj object
Returns¶
Remarks:
None
Add(Vertex)¶
This method adds the target vertex to the current vertex.
Vertex Add(Vertex targetVertex)
Parameters¶
targetVertex Vertex
This parameter represents the vertex you wish to add to the current vertex.
Returns¶
Remarks:
None
FindMiddleVertexBetweenTwoVertices(Vertex, Vertex)¶
This method returns the middle Vertex of a straight line which two vertices are passing in.
Vertex FindMiddleVertexBetweenTwoVertices(Vertex vertex1, Vertex vertex2)
Parameters¶
vertex1 Vertex
start vertex of a straight line
vertex2 Vertex
en vertex of a straight line
Returns¶
Vertex
This method returns the middle Vertex between the vertices which passing in.
A(double, double, GeographyUnit, DistanceUnit)¶
void A(double , double , GeographyUnit , DistanceUnit )
Parameters¶
`` double
`` double
`` DistanceUnit
Returns¶
a(double, double, GeographyUnit, DistanceUnit)¶
void a(double , double , GeographyUnit , DistanceUnit )
Parameters¶
`` double
`` double
`` DistanceUnit
Returns¶
A(Vertex, double)¶
void A(Vertex , double )
Parameters¶
`` Vertex
`` double
Returns¶
A(PointShape, double)¶
void A(PointShape , double )
Parameters¶
`` PointShape
`` double
Returns¶
A(BaseShape, GeographyUnit, DistanceUnit)¶
double A(BaseShape , GeographyUnit , DistanceUnit )
Parameters¶
`` BaseShape
`` DistanceUnit
Returns¶
A(Vertex, GeographyUnit, DistanceUnit)¶
double A(Vertex , GeographyUnit , DistanceUnit )
Parameters¶
`` Vertex
`` DistanceUnit
Returns¶
A(double, double)¶
double A(double , double )
Parameters¶
`` double
`` double