Click or drag to resize
CPLY Class
The PLY object contains the definitions for one or more polygons, and does import and export of polygon files.
Inheritance Hierarchy

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax
public class CPLY : CHANDLE

The CPLY type exposes the following members.

Methods
  NameDescription
Public methodAvailable to anyoneAddPolygon
Add a polygon to the polygon file.
Public methodAvailable to anyoneAddPolygonEx
Add a polygon to the polygon file.
Public methodAvailable to anyoneChangeIPJ
Set the projection.
Public methodAvailable to anyoneClear
Clear/remove all polygons from the PLY.
Public methodAvailable to anyoneCopy
Destroys a PLY Object
Public methodAvailable to anyoneStatic memberCreate
Creates a Polygon Object.
Public methodAvailable to anyoneStatic memberCreateS
Create an PLY Object from a BF
Protected methodDispose
Releases the unmanaged resources used by the CPLY and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodAvailable to anyoneExtent
Get the extent of the current polygon.
Public methodAvailable to anyoneGetIPJ
Get the projection.
Public methodAvailable to anyoneGetPolygon
Get a polygon from the PLY
Public methodAvailable to anyoneGetPolygonEx
Get a polygon from the PLY
Public methodAvailable to anyoneiClipArea
Clip a polygon to an area
Public methodAvailable to anyoneiClipLineInt
Clips a line in or out of the polygons for intersections (GS_DOUBLE). Intersections are returned as fiducials down the line stored in VV starting at the first point of the line. Examples: No intersection: PLY_LINE_CLIP_OUTSIDE, 0 intersections Starts outside, ends inside: PLY_LINE_CLIP_OUTSIDE, 1 intersection Starts outside, intersects then ends inside or outside: PLY_LINE_CLIP_OUTSIDE, 2 intersections Starts inside, ends inside : PLY_LINE_CLIP_INSIDE, 1 intersection (gives end-of-line) Starts inside, ends outside : PLY_LINE_CLIP_INSIDE, 1 intersection
Public methodAvailable to anyoneiClipPLY
Clip one polygon against another
Public methodAvailable to anyoneIGetDescription
Get the PLY description string
Public methodAvailable to anyoneiNumPoly
Get the number of polygons.
Public methodAvailable to anyoneLoadTable
Loads Polygons from a Polygon file.
Public methodAvailable to anyonerArea
Compute the Area of a polygon
Public methodAvailable to anyoneRectangle
Creates a polygon from a rectangular area.
Public methodAvailable to anyoneRotate
Rotate a polygon about a point.
Public methodAvailable to anyoneSaveTable
Save Polygons to a Polygon file.
Public methodAvailable to anyoneSerial
Serialize an PLY to a BF
Public methodAvailable to anyoneSetDescription
Set the PLY description string
Public methodAvailable to anyoneSetIPJ
Set the projection.
Public methodAvailable to anyoneThin
Thin polygons to a desired resolution
Top
See Also