This class represents a Line Segment
The Line Segment is composed of a Start Point and an End Point
More...
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... | |
This class represents a Line Segment
The Line Segment is composed of a Start Point and an End Point
| VisionSDK.VisionLineSegment.VisionLineSegment | ( | ) |
Constructor
|
static |
Class method to instantiate a LineSegment Object
|
static |
Class method to instantiate a LineSegment Object with the specified parameters
| startPoint | The Start Point |
| endPoint | The End Point |
|
static |
Class method to instantiate a LineSegment Object with the specified parameters
| x1 | The x value of the Start Point |
| y1 | The y value of the Start Point |
| x2 | The x value of the End Point |
| y2 | The y value of the End Point |
|
static |
Class method to instantiate a LineSegment Object with all the parameters set to 0
| Geometry VisionSDK.VisionLineSegment.GetGeometricShape | ( | IVisionGeometricShapesIllustrator | geometricShapeIllustrator, |
| VisionOrigin | origin = null, |
||
| VisionCalibration | calibration = null |
||
| ) |
Returns a Geometric Shape that represent graphically this object
| geometricShapeIllustrator | The geometric shape illustrator |
| origin | The origin of the representation (usually is used the tool's origin) |
| calibration | The calibration associated to the image where to draw this geometric shape |
Implements VisionSDK.IVisionGeometricShape.
|
getset |
The End Point
|
getset |
The Start Point