IPolyClassGetSurfaceFromPolygon(IODBLayer, Boolean) Method
Create a new Surface on the ParentLayer. This works only if edges are sorted!
Namespace: PCBI.MathUtilsAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public IODBObject GetSurfaceFromPolygon(
IODBLayer ParentLayer,
bool ContainsHoles
)
Public Function GetSurfaceFromPolygon (
ParentLayer As IODBLayer,
ContainsHoles As Boolean
) As IODBObject
public:
virtual IODBObject^ GetSurfaceFromPolygon(
IODBLayer^ ParentLayer,
bool ContainsHoles
) sealed
abstract GetSurfaceFromPolygon :
ParentLayer : IODBLayer *
ContainsHoles : bool -> IODBObject
override GetSurfaceFromPolygon :
ParentLayer : IODBLayer *
ContainsHoles : bool -> IODBObject
- ParentLayer IODBLayer
- The relevant layer to add the surface.
- ContainsHoles Boolean
- Polygon with holes need extra calculation to split them, if you know there are no holes this will save calculation time.
IODBObjectA new surface with this polygon as outline.
InterfacePolyClassGetSurfaceFromPolygon(IODBLayer, Boolean)