MatOfPoint2d Constructor (IEnumerableInt32, Point2d)
|
constructs n-dimensional matrix
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic MatOfPoint2d(
IEnumerable<int> sizes,
Point2d s
)
Public Sub New (
sizes As IEnumerable(Of Integer),
s As Point2d
)
public:
MatOfPoint2d(
IEnumerable<int>^ sizes,
Point2d s
)
new :
sizes : IEnumerable<int> *
s : Point2d -> MatOfPoint2d
OpenCvSharp.MatOfPoint2d = function(sizes, s);
Parameters
- sizes
- Type: System.Collections.GenericIEnumerableInt32
Array of integers specifying an n-dimensional array shape. - s
- Type: OpenCvSharpPoint2d
An optional value to initialize each matrix element with.
To set all the matrix elements to the particular value after the construction, use SetTo(Scalar s) method .
See Also