Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
STK::OrientedBoundingBox2< T > Class Template Reference

#include <StkOrientedBoundingBox2.h>

Public Member Functions

 OrientedBoundingBox2 (const STK::Vector2< T > &origin, const STK::Vector2< T > &x_axis, const STK::Vector2< T > &y_axis)
 
void setOrigin (const STK::Vector2< T > &origin)
 
void setXAxis (const STK::Vector2< T > &x_axis)
 
void setYAxis (const STK::Vector2< T > &y_axis)
 
const STK::Vector2< T > & getOrigin () const
 
const STK::Vector2< T > & getXAxis () const
 
const STK::Vector2< T > & getYAxis () const
 
void getCorners (std::vector< STK::Vector2< T > > &corners) const
 
void calcAxisBoundingBox (STK::Vector2< T > &min, STK::Vector2< T > &max)
 
void scaleYAxis (const T scale, const bool fromCenter=true)
 
void scaleXAxis (const T scale, const bool fromCenter=true)
 

Detailed Description

template<class T>
class STK::OrientedBoundingBox2< T >

OrientedBoundingBox2D - Short description


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