What are the commonly used gis calculation methods
This article mainly shows you "what are the commonly used gis calculation methods", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "what are the common gis calculation methods" this article.
In system development, some commonly used spatial algorithms are sometimes used, and citing some class libraries can solve the problem, but sometimes the running efficiency of class libraries is relatively slow, and there are many things to be referenced. If there are not many methods needed, you can write some simple calculation methods.
Here are some common gis calculation methods:
/ / determine whether the point is in the noodle.
Public bool IsPointInPolygon (List poly, CVector point)
{
Int i, j
Bool c = false
For (I = 0, j = poly.Count-1; I < poly.Count; j = iTunes +)
{
If (Polyi] .VY aP.VY)
{
CET.minY = aP.VY
}
Else if (cET.maxY < aP.VY)
{
CET.maxY = aP.VY
}
}
}
Return cET
}
The above is all the contents of this article "what are the commonly used gis calculation methods?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!