Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Avoid::Box Class Reference

A bounding box, represented by the top-left and bottom-right corners. More...

#include <geomtypes.h>

Public Member Functions

double length (size_t dimension) const
 
double width (void) const
 
double height (void) const
 

Public Attributes

Point min
 The top-left point.
 
Point max
 The bottom-right point.
 

Detailed Description

A bounding box, represented by the top-left and bottom-right corners.

Definition at line 133 of file geomtypes.h.

Member Function Documentation

◆ height()

double Avoid::Box::height ( void  ) const

◆ length()

double Avoid::Box::length ( size_t  dimension) const

Definition at line 235 of file geomtypes.cpp.

References max, min, Avoid::Point::x, and Avoid::Point::y.

Referenced by Avoid::absoluteOffsetInverse().

◆ width()

double Avoid::Box::width ( void  ) const

Member Data Documentation

◆ max

◆ min


The documentation for this class was generated from the following files: