27#include <Inventor/SbVec2d.h>
36 SbBox2d(
double xmin,
double ymin,
double xmax,
double ymax);
43 void setBounds(
double xmin,
double ymin,
double xmax,
double ymax);
49 void getBounds(
double & xmin,
double & ymin,
double & xmax,
double & ymax)
const;
52 const SbVec2d & getMin(
void)
const;
54 const SbVec2d & getMax(
void)
const;
57 void extendBy(
const SbVec2d & point);
58 void extendBy(
const SbBox2d & box);
60 SbBool isEmpty(
void)
const;
61 SbBool hasArea(
void)
const;
63 SbBool intersect(
const SbVec2d & point)
const;
64 SbBool intersect(
const SbBox2d & box)
const;
69 void getOrigin(
double & x0,
double & y0)
const;
70 void getSize(
double & w,
double & h)
const;
71 double getAspectRatio(
void)
const;
73 friend COIN_DLL_API
int operator ==(
const SbBox2d & b1,
const SbBox2d & b2);
74 friend COIN_DLL_API
int operator !=(
const SbBox2d & b1,
const SbBox2d & b2);
79 double width(
void)
const;
80 double height(
void)
const;
83COIN_DLL_API
int operator == (
const SbBox2d & b1,
const SbBox2d & b2);
84COIN_DLL_API
int operator != (
const SbBox2d & b1,
const SbBox2d & b2);
The SbBox2d class is a 2 dimensional box with double precision corner coordinates.
Definition SbBox2d.h:33
SbVec2d & getMax(void)
Definition SbBox2d.h:55
SbBox2d(const SbBox2s &box)
Definition SbBox2d.h:39
void setBounds(double xmin, double ymin, double xmax, double ymax)
Definition SbBox2d.cpp:437
SbVec2d & getMin(void)
Definition SbBox2d.h:53
SbBox2d(void)
Definition SbBox2d.cpp:57
SbBox2d(const SbBox2i32 &box)
Definition SbBox2d.h:40
SbBox2d(const SbBox2f &box)
Definition SbBox2d.h:38
The SbBox2f class is a 2 dimensional box with floating point corner coordinates.
Definition SbBox2f.h:33
The SbBox2i32 class is a 2 dimensional box with int32_t coordinates.
Definition SbBox2i32.h:34
The SbBox2s class is a 2 dimensional box with short integer coordinates.
Definition SbBox2s.h:34
The SbVec2d class is a 2 dimensional vector with double precision floating point coordinates.
Definition SbVec2d.h:36
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 23 2025 for Coin by Doxygen. 1.14.0