Class VectorOfVectorOfPoint
Wrapped class of the C++ standard vector of VectorOfPoint.
public class VectorOfVectorOfPoint : UnmanagedVector, IAsyncDisposable, IInputOutputArray, IInputArrayOfArrays, IOutputArrayOfArrays, IOutputArray, IInputArray, IDisposable
- Inheritance
-
VectorOfVectorOfPoint
- Implements
- Inherited Members
- Extension Methods
Constructors
VectorOfVectorOfPoint()
Create an empty standard vector of VectorOfPoint
public VectorOfVectorOfPoint()
VectorOfVectorOfPoint(params VectorOfPoint[])
Create an standard vector of VectorOfPoint with the initial values
public VectorOfVectorOfPoint(params VectorOfPoint[] values)
Parameters
values
VectorOfPoint[]The initial values
VectorOfVectorOfPoint(Point[][])
Create the standard vector of VectorOfPoint
public VectorOfVectorOfPoint(Point[][] values)
Parameters
values
Point[][]The values to be pushed to the vector
VectorOfVectorOfPoint(int)
Create an standard vector of VectorOfPoint of the specific size
public VectorOfVectorOfPoint(int size)
Parameters
size
intThe size of the vector
Properties
this[int]
Get the item in the specific index
public VectorOfPoint this[int index] { get; }
Parameters
index
intThe index
Property Value
- VectorOfPoint
The item in the specific index
Length
The size of memory in bytes, that is needed to hold all the items in this vector
public override long Length { get; }
Property Value
Size
Get the size of the vector
public override int Size { get; }
Property Value
SizeOfItemInBytes
The size of the item in this Vector, counted as size in bytes.
public static int SizeOfItemInBytes { get; }
Property Value
StartAddress
The pointer to the first element on the vector. In case of an empty vector, IntPtr.Zero will be returned.
public override nint StartAddress { get; }
Property Value
Methods
Clear()
Clear the vector
public void Clear()
DisposeObject()
Release the standard vector
protected override void DisposeObject()
GetInputArray()
Get the pointer to cv::_InputArray
public InputArray GetInputArray()
Returns
- InputArray
The input array
GetInputOutputArray()
Get the pointer to cv::_InputOutputArray
public InputOutputArray GetInputOutputArray()
Returns
- InputOutputArray
The input output array
GetOutputArray()
Get the pointer to cv::_OutputArray
public OutputArray GetOutputArray()
Returns
- OutputArray
The output array
Push(VectorOfPoint)
Push a value into the standard vector
public void Push(VectorOfPoint value)
Parameters
value
VectorOfPointThe value to be pushed to the vector
Push(VectorOfPoint[])
Push multiple values into the standard vector
public void Push(VectorOfPoint[] values)
Parameters
values
VectorOfPoint[]The values to be pushed to the vector
Push(VectorOfVectorOfPoint)
Push multiple values from the other vector into this vector
public void Push(VectorOfVectorOfPoint other)
Parameters
other
VectorOfVectorOfPointThe other vector, from which the values will be pushed to the current vector
ToArrayOfArray()
Convert the standard vector to arrays of arrays of Point
public Point[][] ToArrayOfArray()
Returns
- Point[][]
Arrays of arrays of the Point