IDS peak genericC++ v1.14.0
Loading...
Searching...
No Matches
peak_common_rectangle_f Struct Reference

Represents a rectangle defined by a floating-point position and size. More...

#include <peak_common_c/types/peak_common_simple_types.h>

Public Attributes

float x
 X-coordinate of the rectangle's origin.
float y
 Y-coordinate of the rectangle's origin.
float width
 Width of the rectangle.
float height
 Height of the rectangle.

Detailed Description

Represents a rectangle defined by a floating-point position and size.

The position (x, y) defines the top-left corner of the rectangle with sub-pixel precision.

Since
ids_peak_common 1.0

Member Data Documentation

◆ height

float peak_common_rectangle_f::height

Height of the rectangle.

◆ width

float peak_common_rectangle_f::width

Width of the rectangle.

◆ x

float peak_common_rectangle_f::x

X-coordinate of the rectangle's origin.

◆ y

float peak_common_rectangle_f::y

Y-coordinate of the rectangle's origin.


The documentation for this struct was generated from the following file: