CandidateQuadEdgesUnit Class
The CandidateQuadEdgesUnit class represents an intermediate result unit whose type is candidate quad edges.
Definition
Namespace: Dynamsoft.DDN.intermediate_results
class CandidateQuadEdgesUnit : IntermediateResultUnit
Inheritance: IntermediateResultUnit -> CandidateQuadEdgesUnit
Methods
| Method | Description |
|---|---|
GetCount |
Gets the count of CandidateQuadEdge objects in current object. |
GetCandidateQuadEdge |
Gets a CandidateQuadEdge object from current object by specifying a index. |
GetCandidateQuadEdges |
Gets all CandidateQuadEdge objects from current object. |
RemoveAllCandidateQuadEdges |
Removes all the candidate quad edges in current object. |
RemoveCandidateQuadEdge |
Removes a candidate quad edge from current object by specifying an index. |
AddCandidateQuadEdge |
Adds a candidate quad edge to current object. |
SetCandidateQuadEdge |
Sets the candidate quad edge at the specified index. |
GetCount
Gets the count of CandidateQuadEdge objects in current object.
int GetCount()
Return Value
The count of CandidateQuadEdge objects in current object.
GetCandidateQuadEdge
Gets a CandidateQuadEdge object from current object by specifying a index.
int GetCandidateQuadEdge(int index, out Edge edge)
Parameters
[in] index The index of the CandidateQuadEdge object.
[in, out] edge The CandidateQuadEdge object got by the specific index.
Return Value
Returns the error code.
See Also
GetCandidateQuadEdges
Gets all CandidateQuadEdge objects from current object.
int GetCandidateQuadEdges(out Edge[] edges)
Parameters
[in, out] edges All the CandidateQuadEdge objects got from current object.
Return Value
Returns the error code.
See Also
RemoveAllCandidateQuadEdges
Removes all the candidate quad edges in current object.
void RemoveAllCandidateQuadEdges()
RemoveCandidateQuadEdge
Removes a candidate quad edge from current object by specifying an index.
int RemoveCandidateQuadEdge(int index)
Parameters
[in] index The index of the candidate quad edge to be removed.
Return Value
Returns 0 if successful, otherwise returns a negative value.
AddCandidateQuadEdge
Adds a candidate quad edge to current object.
int AddCandidateQuadEdge(Edge edge, double[] matrixToOriginalImage = null)
Parameters
[in] edge The candidate quad edge to be added.
[in] matrixToOriginalImage The matrix to the original image.
Return Value
Returns 0 if successful, otherwise returns a negative value.
See Also
SetCandidateQuadEdge
Sets the candidate quad edge at the specified index.
int SetCandidateQuadEdge(int index, Edge edge, double[] matrixToOriginalImage = null)
Parameters
[in] index The index of the candidate quad edge to be set.
[in] edge The candidate quad edge to be added.
[in] matrixToOriginalImage The matrix to the original image.
Return Value
Returns 0 if successful, otherwise returns a negative value.
See Also