Data Structures | |
| class | PointXd< T, dimension > |
| A point in space with configurable dimensionality and coordinate type. More... | |
| class | PointT< T > |
| 2D point template type. More... | |
| class | RectangleT< PointType, SizeType > |
| A generic rectangle defined by a point and a size. More... | |
| class | SizeT< T > |
| Represents a two-dimensional size with non-negative width and height. More... | |
Typedefs | |
| using | Point = detail::PointT<int32_t> |
| 2D point with 32-bit signed integer coordinates. | |
| using | PointF = detail::PointT<float> |
| 2D point with single-precision floating-point coordinates. | |
| using | PointU = detail::PointT<uint32_t> |
| 2D point with 32-bit unsigned integer coordinates. | |
| using | Rectangle = detail::RectangleT<int32_t, uint32_t> |
| Rectangle with integer coordinates and unsigned dimensions. | |
| using | RectangleF = detail::RectangleT<float, float> |
| Rectangle with floating-point coordinates and dimensions. | |
| using | RectangleU = detail::RectangleT<uint32_t, uint32_t> |
| Rectangle with unsigned coordinates and unsigned dimensions. | |
| using | Size = detail::SizeT<uint32_t> |
| Size with unsigned 32-bit integer dimensions. | |
| using | SizeF = detail::SizeT<float> |
| Size with floating-point dimensions. | |
| using | VectorF = peak::common::PointF |
| Alias for a 2D point with floating point coordinates. | |
Types representing geometric concepts such as points, sizes, rectangles, and vectors.
This subgroup focuses on types commonly used to represent and manipulate geometric data. It includes templates and type aliases for points, rectangles, sizes, and vectors, which are useful in image processing, spatial computations, and graphical applications.
| using Point = detail::PointT<int32_t> |
2D point with 32-bit signed integer coordinates.
Provides a stable and public alias for a 2D point type using signed 32-bit integers. This alias is intended for general use in user code.
Direct usage of detail::PointT<int32_t> is discouraged, as internal implementations may change. Always use this public alias for forward compatibility.
| using PointF = detail::PointT<float> |
2D point with single-precision floating-point coordinates.
Provides a stable and public alias for a 2D point type using single-precision floating-point values. This alias is intended for general use in user code.
Direct usage of detail::PointT<float> is discouraged, as internal implementations may change. Always use this public alias for forward compatibility.
| using PointU = detail::PointT<uint32_t> |
2D point with 32-bit unsigned integer coordinates.
Public alias for a 2D point type based on 32-bit unsigned integers. This alias is intended for general use in user code.
Direct usage of detail::PointT<uint32_t> is discouraged, as internal implementations may change. Always use this public alias for forward compatibility.
| using Rectangle = detail::RectangleT<int32_t, uint32_t> |
Rectangle with integer coordinates and unsigned dimensions.
Provides a stable and public alias for a rectangle type using int32_t for position and uint32_t for size.
This alias is intended for general use in user code.
Direct usage of detail::RectangleT<int32_t, uint32_t> is discouraged, as internal implementations may change. Always use this public alias for forward compatibility.
| using RectangleF = detail::RectangleT<float, float> |
Rectangle with floating-point coordinates and dimensions.
Provides a stable and public alias for a rectangle type using float for both position and size.
This alias is intended for general use in user code.
Direct usage of detail::RectangleT<float, float> is discouraged, as internal implementations may change. Always use this public alias for forward compatibility.
| using RectangleU = detail::RectangleT<uint32_t, uint32_t> |
Rectangle with unsigned coordinates and unsigned dimensions.
Provides a stable and public alias for a rectangle type using uint32_t for position and uint32_t for size.
This alias is intended for general use in user code.
Direct usage of detail::RectangleT<uint32_t, uint32_t> is discouraged, as internal implementations may change. Always use this public alias for forward compatibility.
| using Size = detail::SizeT<uint32_t> |
Size with unsigned 32-bit integer dimensions.
Provides a stable and public alias for a size type where width and height are represented as uint32_t.
This alias is intended for general use in user code.
Direct usage of detail::SizeT<uint32_t> is discouraged, as internal implementations may change. Always use this public alias for forward compatibility.
| using SizeF = detail::SizeT<float> |
Size with floating-point dimensions.
Provides a stable and public alias for a size type where width and height are represented as float, suitable for precise or fractional dimensions.
This alias is intended for general use in user code.
Direct usage of detail::SizeT<float> is discouraged, as internal implementations may change. Always use this public alias for forward compatibility.
| using VectorF = peak::common::PointF |
Alias for a 2D point with floating point coordinates.
Represents a 2D vector or point using float precision.