Click or drag to resize

Subdiv2DRotateEdge Method

Returns another edge of the same quad-edge.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public int RotateEdge(
	int edge,
	int rotate
)

Parameters

edge
Type: SystemInt32
Subdivision edge ID.
rotate
Type: SystemInt32
Parameter specifying which of the edges of the same quad-edge as the input one to return. The following values are possible: - 0 - the input edge ( e on the picture below if e is the input edge) - 1 - the rotated edge ( eRot ) - 2 - the reversed edge (reversed e (in green)) - 3 - the reversed rotated edge (reversed eRot (in green))

Return Value

Type: Int32
one of the edges ID of the same quad-edge as the input edge.
See Also