Impact Vision SDK  11.8.1
VisionSDK.VisionPolygonWithHoles Class Reference

This class represents a Polygon as a List of Points More...

Inheritance diagram for VisionSDK.VisionPolygonWithHoles:
VisionSDK.VisionShape VisionSDK.VisionObject VisionSDK.IVisionGeometricShape

Public Member Functions

 VisionPolygonWithHoles ()
 Constructor More...
 
- Public Member Functions inherited from VisionSDK.VisionShape
 VisionShape ()
 Constructor More...
 
virtual void addHole (VisionShape hole)
 This method adds a hole to the Shape More...
 
virtual Boolean isAnHole ()
 Indicate if this shape is a hole of another shape More...
 
virtual Geometry GetGeometricShape (IVisionGeometricShapesIllustrator geometricShapeIllustrator, VisionOrigin origin=null, VisionCalibration calibration=null)
 
- Public Member Functions inherited from VisionSDK.VisionObject
override string ToString ()
 
string ToJson ()
 
override int GetHashCode ()
 
override bool Equals (object obj)
 

Static Public Member Functions

static VisionPolygonWithHoles Create (VisionPolygon polygon, List< VisionPolygon > holes)
 Class method to instantiate a VisionPolygon with the specified VisionPoints More...
 

Properties

VisionPolygon Polygon [get, set]
 The Polygon More...
 
new List< VisionPolygon > Holes [get, set]
 The List of Holes in the above Polygon More...
 
- Properties inherited from VisionSDK.VisionShape
List< VisionShape > Holes [get]
 The Holes of this shape More...
 

Additional Inherited Members

- Protected Attributes inherited from VisionSDK.VisionShape
List< VisionShape > holes
 

Detailed Description

This class represents a Polygon as a List of Points

Constructor & Destructor Documentation

VisionSDK.VisionPolygonWithHoles.VisionPolygonWithHoles ( )

Constructor

Member Function Documentation

static VisionPolygonWithHoles VisionSDK.VisionPolygonWithHoles.Create ( VisionPolygon  polygon,
List< VisionPolygon >  holes 
)
static

Class method to instantiate a VisionPolygon with the specified VisionPoints

Parameters
polygonThe Vision Polygon
holesThe List<VisionPolygon> that will became the holes
Returns
A VisionPolygon Object

Property Documentation

new List<VisionPolygon> VisionSDK.VisionPolygonWithHoles.Holes
getset

The List of Holes in the above Polygon

VisionPolygon VisionSDK.VisionPolygonWithHoles.Polygon
getset

The Polygon

HTML Footer Datalogic Automation, Inc.    ©2016 Datalogic Automation Inc. All Rights Reserved