Impact Vision SDK  11.8.1
VisionSDK.VisionLineSegment Class Reference

This class represents a Line Segment
The Line Segment is composed of a Start Point and an End Point More...

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

Public Member Functions

 VisionLineSegment ()
 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 VisionLineSegment Create ()
 Class method to instantiate a LineSegment Object More...
 
static VisionLineSegment Create (VisionPoint startPoint, VisionPoint endPoint)
 Class method to instantiate a LineSegment Object with the specified parameters More...
 
static VisionLineSegment Create (double x1, double y1, double x2, double y2)
 Class method to instantiate a LineSegment Object with the specified parameters More...
 
static VisionLineSegment CreateZero ()
 Class method to instantiate a LineSegment Object with all the parameters set to 0 More...
 

Properties

VisionPoint StartPoint [get, set]
 The Start Point More...
 
VisionPoint EndPoint [get, set]
 The End Point More...
 

Detailed Description

This class represents a Line Segment
The Line Segment is composed of a Start Point and an End Point

Constructor & Destructor Documentation

VisionSDK.VisionLineSegment.VisionLineSegment ( )

Constructor

Member Function Documentation

static VisionLineSegment VisionSDK.VisionLineSegment.Create ( )
static

Class method to instantiate a LineSegment Object

Returns
static VisionLineSegment VisionSDK.VisionLineSegment.Create ( VisionPoint  startPoint,
VisionPoint  endPoint 
)
static

Class method to instantiate a LineSegment Object with the specified parameters

Parameters
startPointThe Start Point
endPointThe End Point
Returns
A VisionLineSegment Object
static VisionLineSegment VisionSDK.VisionLineSegment.Create ( double  x1,
double  y1,
double  x2,
double  y2 
)
static

Class method to instantiate a LineSegment Object with the specified parameters

Parameters
x1The x value of the Start Point
y1The y value of the Start Point
x2The x value of the End Point
y2The y value of the End Point
Returns
A VisionLineSegment Object
static VisionLineSegment VisionSDK.VisionLineSegment.CreateZero ( )
static

Class method to instantiate a LineSegment Object with all the parameters set to 0

Returns
A VisionLineSegment Object
Geometry VisionSDK.VisionLineSegment.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

VisionPoint VisionSDK.VisionLineSegment.EndPoint
getset

The End Point

VisionPoint VisionSDK.VisionLineSegment.StartPoint
getset

The Start Point

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