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
The Area2D type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Area2D(Double) |
Constructor for Area2D.
| |
Area2D(Rect) |
Create an Area2D from the given rectangle r
using the identity transformation (equivalent to calling
new Area2D(r, AffineMatrix.Identity);)
| |
Area2D(Rect, AffineMatrix2D) |
Creates an Area2D from the given rectangle r
using the transformation m.
| |
Area2D(Point2D, Point2D, Point2D) |
Constructor for Area2D.
| |
Area2D(Point2Dd, Point2Dd, Point2Dd) |
Constructor for Area2D.
| |
Area2D(Double, Double, Double, Double, Double, Double) |
Constructor for Area2D.
|
Properties
Name | Description | |
---|---|---|
Area |
Size (in pixels) of the area of interest. As the area is a
parallelogram the area (in pixels) is not simply "width * height"
| |
BoundingRectangle |
Gets the bounding box of this area.
| |
CoordinateSystem |
Coordinate system, in which this AOI is defined.
| |
P0 |
P0 of the Area (top left corner)
| |
P1 |
P1 of the Area (lower left corner)
| |
P2 |
P2 of the Area (top right corner)
| |
P3 |
Gets the calculated P3 of the Area (bottom right corner)
| |
Size |
Size (width and height) of the area of interest
|
Methods
Name | Description | |
---|---|---|
Equals |
Comparison function.
(Overrides ValueTypeEquals(Object).) | |
GetHashCode |
Hash code.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Offset |
Offsets the Area2D structure by the specified amount.
Note that the operation is carried out in-place.
| |
SwapOrientation |
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.
| |
ToString |
Convert an Area2D object to a string.
(Overrides ValueTypeToString.) | |
Transform(AffineMatrix2D) |
Transform this Area2D using a AffineMatrix.
| |
Transform(Matrix2D) |
Transform this Area2D using a Matrix2D.
|
Operators
Name | Description | |
---|---|---|
Equality |
Comparison operator for Area2D structs.
| |
Inequality |
Comparison operator for Point2D structs.
|
Fields
Name | Description | |
---|---|---|
Empty |
An "Empty" identifier
|
Remarks
The pixels of this type are always specified in ImageCoordinates
Corresponds to the unmanaged type TArea.
.See Also