This class represents an oriented Rectangle
The Rectangle is represented by a VisionOrigin and a VisionSize.
The origin is considered the upper left vertices
More...
Public Member Functions | |
| VisionRect () | |
| 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 VisionRect | Create (VisionOrigin origin, VisionSize size) |
| Class method to instantiate a VisionRect object with the specified parameters More... | |
| static VisionRect | Create (double x, double y, double w, double h, double a) |
| Class method to instantiate a VisionRect object with the specified parameters More... | |
| static VisionRect | Create (double x, double y, double w, double h) |
| Class method to instantiate a VisionRect object with the specified parameters and an Origin Angle of 0 More... | |
| static VisionRect | CreateZero () |
| Class method to instantiate a VisionRect object with all the parameters set to 0 More... | |
Properties | |
| VisionOrigin | Origin [get, set] |
| The Origin More... | |
| VisionSize | Size [get, set] |
| The Size 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 |
This class represents an oriented Rectangle
The Rectangle is represented by a VisionOrigin and a VisionSize.
The origin is considered the upper left vertices
| VisionSDK.VisionRect.VisionRect | ( | ) |
Constructor
|
static |
Class method to instantiate a VisionRect object with the specified parameters
| origin | The Origin of the Rectangle |
| size | The Size of the Rectangle |
|
static |
Class method to instantiate a VisionRect object with the specified parameters
| x | The x coordinate of the Origin Point |
| y | The y coordinate of the Origin Point |
| w | The Width of the Size |
| h | The Height of the Size |
| a | The Angle Value in Radians |
|
static |
Class method to instantiate a VisionRect object with the specified parameters and an Origin Angle of 0
| x | The x coordinate of the Origin Point |
| y | The y coordinate of the Origin Point |
| w | The Width of the Size |
| h | The Height of the Size |
|
static |
Class method to instantiate a VisionRect object with all the parameters set to 0
|
getset |
The Origin
|
getset |
The Size