Printable versions
This Page
All Pages
PDF (2.0MB)

Index

Component
GpsShapeXP

Class
Shape

Methods
NewNode
SetNode
DeleteNode

NewPart
DeletePart
ClearPart
InvertPart
ClearShape
GetBoundingBox
ConvertDatumGrid
Distance
Area
PartArea
FindClosestNode
FindClosestVector
IsInside
IsIntersecting
LockObject
UnlockObject
Copy
FixedPartCount
FixedNodeCount

Properties
Position
X
Y
Z
M
ShapeID
NodeID
NodeIndex
PartIndex
NodeCount
PartCount
TotalNodeCount
ModifiedCount
DatumGridTemplate
PixelShape
IsCleanPolygon
FixedSize

Shape GpsTools v2.20 and later

A shape object contains a set of coordinates. Those coordinates are called "nodes". A shape can be in any geographic coordinate system supported by Position. A node is sometimes refereed to as a vertex or (many) vertices. The nodes are divided into parts. If the shape contains a polygon, each part is typically a ring in that ploygon. By default a shape contains one part.

A shape object can be used for many purposes:

-> Be a container for GPS coordinates. For example when saving a track.

-> Draw polygons, polylines and multipoints on a map. See MapShape.

-> Read and write ESRI Shapefiles. See ShapeFile.

-> Make GIS calculations. Shape.Distance calculates the distance of a track. Shape.Area calculates the area of a polygon (ESRI shape). Shape.IsInside checks if a node is inside a polygon. Shape.IsIntersecting checks if two polylines or polygons intersect. And more... check all methods and properties on the Shape class.



Windows
© 2016 Franson Technology AB, All rights reserved, Contact | | Affiliate | Login