|
| basic_rect () |
|
| basic_rect (const point_type &coordinates, const size_type &dimensions) |
|
| basic_rect (const point_type &leftCorner, const point_type &rightCorner) |
|
| basic_rect (const point_type &coordinates) |
|
| basic_rect (const size_type &dimensions) |
|
| basic_rect (coordinate_type x0, coordinate_type y0, coordinate_type x1, coordinate_type y1) |
|
| basic_rect (const aabb_2d &aBoundingBox) |
|
| basic_rect (const basic_box_areas< coordinate_type > &aBoxAreas) |
|
template<typename CoordinateType2 , logical_coordinate_system CoordinateSystem2> |
| basic_rect (const basic_rect< CoordinateType2, CoordinateSystem2 > &other) |
|
template<typename CoordinateType2 , logical_coordinate_system CoordinateSystem2> |
self_type & | operator= (const basic_rect< CoordinateType2, CoordinateSystem2 > &other) |
|
self_type & | operator= (const point_type &coordinates) |
|
self_type & | operator= (const size_type &dimensions) |
|
basic_vector< basic_vector< coordinate_type, 2 >, 4 > | to_vector () const |
|
const point_type & | position () const |
|
point_type & | position () |
|
const size_type & | extents () const |
|
size_type & | extents () |
|
coordinate_type | left () const |
|
coordinate_type | top () const |
|
coordinate_type | right () const |
|
coordinate_type | bottom () const |
|
point_type | top_left () const |
|
point_type | top_right () const |
|
point_type | bottom_left () const |
|
point_type | bottom_right () const |
|
dimension_type | width () const |
|
dimension_type | height () const |
|
bool | operator== (const basic_rect &other) const |
|
bool | operator!= (const basic_rect &other) const |
|
self_type & | operator*= (const self_type &other) |
|
self_type & | operator*= (const size_type &size) |
|
self_type & | operator*= (dimension_type value) |
|
self_type & | operator/= (const basic_rect &other) |
|
self_type & | operator/= (const size_type &size) |
|
self_type & | operator/= (dimension_type value) |
|
bool | contains_x (const point_type &point) const |
|
bool | contains_y (const point_type &point) const |
|
bool | contains (const point_type &point) const |
|
bool | contains (const self_type &other) const |
|
point_type | center () const |
|
self_type & | translate (const point_type &aOffset) |
|
self_type | translated (const point_type &aOffset) const |
|
self_type & | indent (const point_type &aOffset) |
|
self_type & | inflate (const delta_type &delta) |
|
self_type & | inflate (const size_type &size) |
|
self_type & | inflate (const padding_type &padding) |
|
self_type & | inflate (coordinate_type dx, coordinate_type dy) |
|
self_type & | inflate (coordinate_type left, coordinate_type top, coordinate_type right, coordinate_type bottom) |
|
template<typename... Args> |
self_type | inflated (Args &&... aArgs) const |
|
self_type & | deflate (const delta_type &delta) |
|
self_type & | deflate (const size_type &size) |
|
self_type & | deflate (const padding_type &padding) |
|
self_type & | deflate (coordinate_type dx, coordinate_type dy) |
|
self_type & | deflate (coordinate_type left, coordinate_type top, coordinate_type right, coordinate_type bottom) |
|
template<typename... Args> |
self_type | deflated (Args &&... aArgs) const |
|
self_type | intersection (const self_type &other) const |
|
bool | intersects (const self_type &aOther) const |
|
self_type & | center_on (const self_type &other) |
|
self_type | centered_on (const self_type other) const |
|
self_type & | combine (const self_type &other) |
|
self_type | combined (const self_type &other) const |
|
self_type | with_position (const point_type &p) const |
|
self_type | with_x (coordinate_type c) const |
|
self_type | with_y (coordinate_type c) const |
|
self_type | with_extents (const size_type &e) const |
|
self_type | with_cx (dimension_type d) const |
|
self_type | with_cy (dimension_type d) const |
|
self_type | with_centered_origin () const |
|
self_type | ceil () const |
|
self_type | floor () const |
|
self_type | round () const |
|
self_type | with_epsilon (const size_type &aEpsilon=default_epsilon) const |
|
aabb_2d | to_aabb_2d () const |
|
basic_vector< coordinate_type, 4 > | to_vec4 () const |
|
quad | to_quad () const |
|
template<typename T > |
std::enable_if_t<!std::is_same_v< T, coordinate_type >, basic_rect< T, CoordinateSystem > > | as () const |
|
template<typename T > |
std::enable_if_t< std::is_same_v< T, coordinate_type >, self_type const & > | as () const |
|
constexpr | basic_point () |
|
template<typename Scalar > |
constexpr | basic_point (const basic_vector< Scalar, 2 > &other) |
|
template<typename Scalar > |
constexpr | basic_point (const basic_vector< Scalar, 3 > &other) |
|
constexpr | basic_point (CoordinateType x, CoordinateType y, CoordinateType z={}) |
|
template<typename CoordinateType2 > |
constexpr | basic_point (const basic_point< CoordinateType2 > &other) |
|
constexpr | basic_point (const basic_delta< CoordinateType > &other) |
|
constexpr | basic_point (const basic_size< CoordinateType > &other) |
|
basic_delta< coordinate_type > | to_delta () const |
|
basic_size< coordinate_type > | to_size () const |
|
basic_vector< coordinate_type, 2 > | to_vec2 () const |
|
basic_vector< coordinate_type, 3 > | to_vec3 () const |
|
| operator basic_delta< coordinate_type > () const |
|
| operator basic_size< coordinate_type > () const |
|
auto | operator<=> (const basic_point &) const =default |
|
basic_point & | operator+= (const basic_point &other) |
|
basic_point & | operator-= (const basic_point &other) |
|
basic_point & | operator*= (const basic_point &other) |
|
basic_point & | operator/= (const basic_point &other) |
|
basic_point & | operator+= (coordinate_type amount) |
|
basic_point & | operator-= (coordinate_type amount) |
|
basic_point & | operator*= (coordinate_type amount) |
|
basic_point & | operator/= (coordinate_type amount) |
|
basic_point & | operator+= (const basic_delta< coordinate_type > &other) |
|
basic_point & | operator-= (const basic_delta< coordinate_type > &other) |
|
basic_point & | operator+= (const basic_size< coordinate_type > &other) |
|
basic_point & | operator-= (const basic_size< coordinate_type > &other) |
|
basic_point | operator- () const |
|
basic_point | abs () const |
|
basic_point | ceil () const |
|
basic_point | floor () const |
|
basic_point | round () const |
|
basic_point | min (const basic_point &other) const |
|
basic_point | max (const basic_point &other) const |
|
basic_point | min_max (const basic_point &other) const |
|
basic_point | max_min (const basic_point &other) const |
|
basic_point | mid (const basic_point &other) const |
|
basic_point | with_x (coordinate_type x0) const |
|
basic_point | with_y (coordinate_type y0) const |
|
basic_point | with_z (coordinate_type z0) const |
|
coordinate_type | magnitude () const |
|
template<typename T > |
basic_point< T > | as () const |
|
constexpr | basic_size () |
|
template<typename Scalar > |
constexpr | basic_size (const basic_vector< Scalar, 2 > &other) |
|
template<typename Scalar > |
constexpr | basic_size (const basic_vector< Scalar, 3 > &other) |
|
constexpr | basic_size (dimension_type cx, dimension_type cy, dimension_type cz={}) |
|
constexpr | basic_size (dimension_type aSquareDimension) |
|
template<typename CoordinateType2 > |
constexpr | basic_size (const basic_size< CoordinateType2 > &other) |
|
constexpr | basic_size (const basic_delta< CoordinateType > &other) |
|
basic_vector< dimension_type, 2 > | to_vec2 () const |
|
basic_vector< dimension_type, 3 > | to_vec3 () const |
|
basic_vector< dimension_type, 2 > | to_vec2_inf () const |
|
basic_vector< dimension_type, 3 > | to_vec3_inf () const |
|
delta_type | to_delta () const |
|
bool | empty () const |
|
auto | operator<=> (const basic_size &) const =default |
|
basic_size | operator- () const |
|
basic_size & | operator+= (const basic_size &other) |
|
basic_size & | operator+= (const basic_delta< CoordinateType > &other) |
|
basic_size & | operator+= (dimension_type amount) |
|
basic_size & | operator-= (const basic_size &other) |
|
basic_size & | operator-= (const basic_delta< CoordinateType > &other) |
|
basic_size & | operator-= (dimension_type amount) |
|
basic_size & | operator*= (const basic_size &other) |
|
basic_size & | operator*= (dimension_type amount) |
|
basic_size & | operator/= (const basic_size &other) |
|
basic_size & | operator/= (dimension_type amount) |
|
basic_size | ceil () const |
|
basic_size | floor () const |
|
basic_size | round () const |
|
basic_size | min (const basic_size &other) const |
|
basic_size | max (const basic_size &other) const |
|
bool | less_than (const basic_size &other) const |
|
bool | less_than_or_equal (const basic_size &other) const |
|
bool | greater_than (const basic_size &other) const |
|
bool | greater_than_or_equal (const basic_size &other) const |
|
dimension_type | magnitude () const |
|
basic_size | with_cx (dimension_type d) const |
|
basic_size | with_cy (dimension_type d) const |
|
basic_size | with_cz (dimension_type d) const |
|
basic_size | aspect_ratio () const |
|
basic_size | with_aspect_ratio_min (const basic_size &aspectRatio) const |
|
basic_size | with_aspect_ratio_max (const basic_size &aspectRatio) const |
|
template<typename T > |
basic_size< T > | as () const |
|
bool | cx_inf () const |
|
bool | cy_inf () const |
|
bool | cz_inf () const |
|
template<typename CoordinateType,
logical_coordinate_system CoordinateSystem = logical_coordinate_system::AutomaticGui>
class neogfx::basic_rect< CoordinateType, CoordinateSystem >
Definition at line 758 of file geometrical.hpp.