Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::Box2f Class Reference

#include <Quadtree.h>

Public Member Functions

 Box2f (float x, float y, float r, float t)
 
 Box2f (const Vector2 p)
 
 Box2f (const Vector2 p1, const Vector2 p2)
 
const Vector2min () const
 
const Vector2max () const
 
float x () const
 
void x (float v)
 
float y () const
 
void y (float v)
 
float r () const
 
void r (float v)
 
float t () const
 
void t (float v)
 
float w () const
 
float h () const
 
Vector2 center () const
 
void set (float x, float y, float r, float t)
 
void set (Vector2 p1, Vector2 p2)
 
void set (const Box2f &v)
 
void set_min (float x, float y)
 
void set_max (float x, float y)
 
bool contains (const Box2f &b) const
 
bool inside (const Vector2 &p) const
 
bool inside (float x, float y) const
 

Detailed Description

THIS SHOULD BE A TEMPLATE OF BOX!!!!!

Member Function Documentation

◆ contains()

bool DD::Image::Box2f::contains ( const Box2f b) const
inline

Return true if b is inside this box.

◆ inside() [1/2]

bool DD::Image::Box2f::inside ( const Vector2 p) const
inline

Return true if the point is inside this box.

◆ inside() [2/2]

bool DD::Image::Box2f::inside ( float  x,
float  y 
) const
inline

Return true if the point is inside this box.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com