Edge
The Edge class represents an edge defined by two Corners.
Definition
Namespace: com.dynamsoft.core.basic_structures
Assembly: DynamsoftCaptureVisionBundle.aar
class Edge
Attributes & Methods
| Attributes | Type | Description |
|---|---|---|
startCorner |
Corner | The starting corner of the edge. |
endCorner |
Corner | The ending corner of the edge. |
| Method | Description |
|---|---|
Edge |
The default constructor. |
Edge(startCorner,endCorner) |
Constructs a corner from the type, intersection, and lines. |
transformByMatrix |
Transforms the coordinates of the corner by a transformation matrix. |
startCorner
The starting corner of the edge.
Corner startCorner;
endCorner
The ending corner of the edge.
Corner endCorner;
Edge
Edge();
Edge(startCorner,endCorner)
Edge(Corner startCorner, Corner endCorner);
transformByMatrix
Edge transformByMatrix(Matrix matrix);
Parameters
matrix: The transformation matrix.
Return Value
The transformed edge.