Maria GDK 4.7.0.84
Documentation of managed code in develop branch
Loading...
Searching...
No Matches
TPG.Utils.PolygonBuffer Class Reference

More...

Inheritance diagram for TPG.Utils.PolygonBuffer:
TPG.Utils.IPolygonBuffer

Public Member Functions

Point[] CreateBuffer (Point[] polyline, double width, bool bClosed)
 Makes a surrounding polygon (Point array) around a given polygon or polyline at a given distance.
Parameters
polylineinput polygon or polyline
widthbuffer with
bClosedif true, assumed an edge connecting last and first points
Returns
a surrounding polygon at the given distance. Output is always a polygon, or null

 
Point[] CreateBuffer (Point[] polyline, double width, bool bClosed)
 Makes a surrounding polygon (Point array) around a given polygon or polyline at a given distance.
 

Detailed Description

Member Function Documentation

◆ CreateBuffer()

Point[] TPG.Utils.PolygonBuffer.CreateBuffer ( Point[]  polyline,
double  width,
bool  bClosed 
)
inline

Makes a surrounding polygon (Point array) around a given polygon or polyline at a given distance.

Parameters
polylineinput polygon or polyline
widthbuffer with
bClosedif true, assumed an edge connecting last and first points
Returns
a surrounding polygon at the given distance. Output is always a polygon, or null

Implements TPG.Utils.IPolygonBuffer.


The documentation for this class was generated from the following file: