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

Utility class to make a surrounding polygon (Point array) around a given polygon or polyline at a given distance. More...

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

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.
 

Detailed Description

Utility class to make a surrounding polygon (Point array) around a given polygon or polyline at a given distance.

Member Function Documentation

◆ CreateBuffer()

Point[] TPG.Utils.IPolygonBuffer.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

Implemented in TPG.Utils.PolygonBuffer.


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