shapeworks::PhysicalRegion
physical bounds of a 3d region of space
#include <Region.h>
Public Functions
| Name | |
|---|---|
| PhysicalRegion(const PhysicalRegion & ) =default | |
| PhysicalRegion(const Point & _min, const Point & _max) | |
| PhysicalRegion() | |
| bool | operator==(const PhysicalRegion & other) const | 
| bool | valid() const verified min/max do not create an inverted or an empty region  | 
| Point | origin() const | 
| Point | size() const | 
| PhysicalRegion & | shrink(const PhysicalRegion & other) shrink this region down to the smallest portions of both  | 
| PhysicalRegion & | expand(const PhysicalRegion & other) expand this region to include the largest portions of both  | 
| PhysicalRegion & | expand(const Point & pt) expand this region to include this point  | 
| PhysicalRegion & | pad(double padding) uniformly grows or shrinks the region by the specified amount  | 
Public Attributes
| Name | |
|---|---|
| Point | min | 
| Point | max | 
Public Functions Documentation
function PhysicalRegion
PhysicalRegion(
    const PhysicalRegion & 
) =default
function PhysicalRegion
inline PhysicalRegion(
    const Point & _min,
    const Point & _max
)
function PhysicalRegion
inline PhysicalRegion()
function operator==
inline bool operator==(
    const PhysicalRegion & other
) const
function valid
inline bool valid() const
verified min/max do not create an inverted or an empty region
function origin
inline Point origin() const
function size
inline Point size() const
function shrink
PhysicalRegion & shrink(
    const PhysicalRegion & other
)
shrink this region down to the smallest portions of both
function expand
PhysicalRegion & expand(
    const PhysicalRegion & other
)
expand this region to include the largest portions of both
function expand
PhysicalRegion & expand(
    const Point & pt
)
expand this region to include this point
function pad
PhysicalRegion & pad(
    double padding
)
uniformly grows or shrinks the region by the specified amount
Public Attributes Documentation
variable min
Point min;
variable max
Point max;
Updated on 2022-03-31 at 09:51:18 -0600