IPolyClassGetSurfaceFromPolygon(IODBLayer) Method

Create a new Surface on the ParentLayer. This works only if edges are sorted and only one polygon is included.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public IODBObject GetSurfaceFromPolygon(
	IODBLayer ParentLayer
)

Parameters

ParentLayer  IODBLayer
The relevant layer to add the surface.

Return Value

IODBObject
A new surface with this polygon as outline.

Implements

InterfacePolyClassGetSurfaceFromPolygon(IODBLayer)

See Also