Managed structure equivalent to CvBox2D
| C# | Visual Basic | Visual C++ |
public struct MCvBox2D : IConvexPolygonF, IEquatable<MCvBox2D>
Public Structure MCvBox2D _ Implements IConvexPolygonF, IEquatable(Of MCvBox2D)
public value class MCvBox2D : IConvexPolygonF, IEquatable<MCvBox2D>
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| MCvBox2D(PointF, SizeF, Single) |
Create a MCvBox2D structure with the specific parameters
| |
| angle |
The angle of the box in radians
| |
| center |
The center of the box
| |
| Empty |
Represent an uninitialized MCvBox2D
| |
| Equals(MCvBox2D) |
Returns true if the two box are equal
| |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| GetVertices()()() |
Get the 4 verticies of this Box.
| |
| Implicit(RectangleF) |
Convert a RectangleF to MCvBox2D
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MinAreaRect()()() |
Get the minimum enclosing rectangle for this Box
| |
| Offset(Int32, Int32) |
Shift the box by the specific amount
| |
| size |
The size of the box
| |
| ToString()()() | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |