Impact Vision SDK  11.8.1
VisionSDK.VisionShape Class Reference

This class represents a Shape that is a generic geometric form.
The Shape's subclasses are: VisionBlob, VisionCircle, VisionRect, VisionPolygon
Each Shape has a list of shapes that are holes, but the holes properties are not present in the Shape's subclasses. More...

Inheritance diagram for VisionSDK.VisionShape:
VisionSDK.VisionObject VisionSDK.IVisionGeometricShape VisionSDK.VisionBlob VisionSDK.VisionCircle VisionSDK.VisionPolygon VisionSDK.VisionPolygonWithHoles VisionSDK.VisionRect

Public Member Functions

 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)
 

Protected Attributes

List< VisionShape > holes
 

Properties

List< VisionShape > Holes [get]
 The Holes of this shape More...
 

Detailed Description

This class represents a Shape that is a generic geometric form.
The Shape's subclasses are: VisionBlob, VisionCircle, VisionRect, VisionPolygon
Each Shape has a list of shapes that are holes, but the holes properties are not present in the Shape's subclasses.

Constructor & Destructor Documentation

VisionSDK.VisionShape.VisionShape ( )

Constructor

Member Function Documentation

virtual void VisionSDK.VisionShape.addHole ( VisionShape  hole)
virtual

This method adds a hole to the Shape

Parameters
holeThe Shape Hole
virtual Geometry VisionSDK.VisionShape.GetGeometricShape ( IVisionGeometricShapesIllustrator  geometricShapeIllustrator,
VisionOrigin  origin = null,
VisionCalibration  calibration = null 
)
virtual
virtual Boolean VisionSDK.VisionShape.isAnHole ( )
virtual

Indicate if this shape is a hole of another shape

Member Data Documentation

List<VisionShape> VisionSDK.VisionShape.holes
protected

Property Documentation

List<VisionShape> VisionSDK.VisionShape.Holes
get

The Holes of this shape

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