Area2D Structure

CVB.Net Documentation
Structure that represents an area of interest in the image.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public struct Area2D : IAreaOfInterest

The Area2D type exposes the following members.

Constructors

  NameDescription
Public methodArea2D(Double)
Constructor for Area2D.
Public methodArea2D(Rect)
Create an Area2D from the given rectangle r using the identity transformation (equivalent to calling new Area2D(r, AffineMatrix.Identity);)
Public methodArea2D(Rect, AffineMatrix2D)
Creates an Area2D from the given rectangle r using the transformation m.
Public methodArea2D(Point2D, Point2D, Point2D)
Constructor for Area2D.
Public methodArea2D(Point2Dd, Point2Dd, Point2Dd)
Constructor for Area2D.
Public methodArea2D(Double, Double, Double, Double, Double, Double)
Constructor for Area2D.
Top
Properties

  NameDescription
Public propertyArea
Size (in pixels) of the area of interest. As the area is a parallelogram the area (in pixels) is not simply "width * height"
Public propertyBoundingRectangle
Gets the bounding box of this area.
Public propertyCoordinateSystem
Coordinate system, in which this AOI is defined.
Public propertyP0
P0 of the Area (top left corner)
Public propertyP1
P1 of the Area (lower left corner)
Public propertyP2
P2 of the Area (top right corner)
Public propertyP3
Gets the calculated P3 of the Area (bottom right corner)
Public propertySize
Size (width and height) of the area of interest
Top
Methods

  NameDescription
Public methodEquals
Comparison function.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Hash code.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOffset
Offsets the Area2D structure by the specified amount. Note that the operation is carried out in-place.
Public methodSwapOrientation
Let the vertices P1 and P2 swap their place, effectively altering the scan direction of the AOI without changing the area covered by the aoi.
Public methodToString
Convert an Area2D object to a string.
(Overrides ValueTypeToString.)
Public methodTransform(AffineMatrix2D)
Transform this Area2D using a AffineMatrix.
Public methodTransform(Matrix2D)
Transform this Area2D using a Matrix2D.
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Comparison operator for Area2D structs.
Public operatorStatic memberInequality
Comparison operator for Point2D structs.
Top
Fields

  NameDescription
Public fieldStatic memberEmpty
An "Empty" identifier
Top
Remarks

The pixels of this type are always specified in ImageCoordinates

Corresponds to the unmanaged type TArea.

.
See Also

Reference