Impact Vision SDK  11.8.1
VisionSDK.VisionOrigin Class Reference

This class represents an Origin
An Origin is composed of a Point and an Angle. More...

Inheritance diagram for VisionSDK.VisionOrigin:
VisionSDK.VisionObject VisionSDK.IVisionGeometricShape

Public Member Functions

 VisionOrigin ()
 Constructor More...
 
Geometry GetGeometricShape (IVisionGeometricShapesIllustrator geometricShapeIllustrator, VisionOrigin origin=null, VisionCalibration calibration=null)
 Returns a Geometric Shape that represent graphically this object More...
 
- 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 VisionOrigin Create (VisionPoint point, VisionAngle angle)
 Class method to instantiate a VisionOrigin object with the specified parameters More...
 
static VisionOrigin Create (double x, double y)
 Class method to instantiate a VisionOrigin object with the specified parameters and an angle of 0 More...
 
static VisionOrigin CreateRad (double x, double y, double angleRad)
 Class method to instantiate a VisionOrigin object with the specified parameters More...
 
static VisionOrigin CreateDeg (double x, double y, double angleDeg)
 Class method to instantiate a VisionOrigin object with the specified parameters More...
 
static VisionOrigin CreateZero ()
 Class method to instantiate a VisionOrigin object with all the parameters ste to 0 More...
 

Properties

VisionPoint Point [get, set]
 The Point More...
 
VisionAngle Angle [get, set]
 The Angle More...
 
TransformGroup Transformer [get, set]
 

Detailed Description

This class represents an Origin
An Origin is composed of a Point and an Angle.

Constructor & Destructor Documentation

VisionSDK.VisionOrigin.VisionOrigin ( )

Constructor

Member Function Documentation

static VisionOrigin VisionSDK.VisionOrigin.Create ( VisionPoint  point,
VisionAngle  angle 
)
static

Class method to instantiate a VisionOrigin object with the specified parameters

Parameters
pointThe Point
angleThe Angle
Returns
A VisionOrigin Object
static VisionOrigin VisionSDK.VisionOrigin.Create ( double  x,
double  y 
)
static

Class method to instantiate a VisionOrigin object with the specified parameters and an angle of 0

Parameters
xThe x coordinate of the point
yThe y coordinate of the point
Returns
A VisionOrigin Object
static VisionOrigin VisionSDK.VisionOrigin.CreateDeg ( double  x,
double  y,
double  angleDeg 
)
static

Class method to instantiate a VisionOrigin object with the specified parameters

Parameters
xThe x coordinate of the point
yThe y coordinate of the point
angleDegThe angle value in degrees
Returns
A VisionOrigin Object
static VisionOrigin VisionSDK.VisionOrigin.CreateRad ( double  x,
double  y,
double  angleRad 
)
static

Class method to instantiate a VisionOrigin object with the specified parameters

Parameters
xThe x coordinate of the point
yThe y coordinate of the point
angleRadThe angle value in radians
Returns
A VisionOrigin Object
static VisionOrigin VisionSDK.VisionOrigin.CreateZero ( )
static

Class method to instantiate a VisionOrigin object with all the parameters ste to 0

Returns
A VisionOrigin Object
Geometry VisionSDK.VisionOrigin.GetGeometricShape ( IVisionGeometricShapesIllustrator  geometricShapeIllustrator,
VisionOrigin  origin = null,
VisionCalibration  calibration = null 
)

Returns a Geometric Shape that represent graphically this object

Parameters
geometricShapeIllustratorThe geometric shape illustrator
originThe origin of the representation (usually is used the tool's origin)
calibrationThe calibration associated to the image where to draw this geometric shape
Returns
The Geometric Shape

Implements VisionSDK.IVisionGeometricShape.

Property Documentation

VisionAngle VisionSDK.VisionOrigin.Angle
getset

The Angle

VisionPoint VisionSDK.VisionOrigin.Point
getset

The Point

TransformGroup VisionSDK.VisionOrigin.Transformer
getset
HTML Footer Datalogic Automation, Inc.    ©2016 Datalogic Automation Inc. All Rights Reserved