JunkBox_Lib++ (for Windows) 1.10.1
Loading...
Searching...
No Matches
UVMap< T > Class Template Reference

#include <Vector.h>

Public Member Functions

 UVMap (T U=0, T V=0, int d=0)
 
virtual ~UVMap (void)
 
void init (void)
 
void set (T U, T V=0, int D=0)
 
UVMap flip (void)
 
UVMap flipV (void)
 
UVMap flipU (void)
 
template<typename R >
UVMap< T > & operator= (const UVMap< R > a)
 

Public Attributes

u
 
v
 
int d
 汎用
 

Detailed Description

template<typename T = double>
class jbxl::UVMap< T >

template <typename T=double>> class UVMap

2次元ベクトルの定義
パラメトリック曲面用

Definition at line 599 of file Vector.h.

Constructor & Destructor Documentation

◆ UVMap()

template<typename T = double>
UVMap ( T U = 0,
T V = 0,
int d = 0 )
inline

Definition at line 607 of file Vector.h.

607{ set(U, V, d);}
int d
汎用
Definition Vector.h:604
void set(T U, T V=0, int D=0)
Definition Vector.h:611

◆ ~UVMap()

template<typename T = double>
virtual ~UVMap ( void )
inlinevirtual

Definition at line 608 of file Vector.h.

608{}

Member Function Documentation

◆ flip()

template<typename T = double>
UVMap flip ( void )
inline

Definition at line 613 of file Vector.h.

613{ u = (T)(1.0 - u); v = (T)(1.0 - v); return *this;}

◆ flipU()

template<typename T = double>
UVMap flipU ( void )
inline

Definition at line 615 of file Vector.h.

615{ u = (T)(1.0 - u); return *this;}

◆ flipV()

template<typename T = double>
UVMap flipV ( void )
inline

Definition at line 614 of file Vector.h.

614{ v = (T)(1.0 - v); return *this;}

◆ init()

template<typename T = double>
void init ( void )
inline

Definition at line 610 of file Vector.h.

610{ u = v = (T)0; d = 0;}

Referenced by ContourTriData::init(), and TriPolygonData::init().

Here is the caller graph for this function:

◆ operator=()

template<typename T = double>
template<typename R >
UVMap< T > & operator= ( const UVMap< R > a)
inline

Definition at line 617 of file Vector.h.

617{ u = (T)a.u; v = (T)a.v; d = a.d; return *this;}

References UVMap< T >::d, UVMap< T >::u, and UVMap< T >::v.

◆ set()

template<typename T = double>
void set ( T U,
T V = 0,
int D = 0 )
inline

Definition at line 611 of file Vector.h.

611{ u = U, v = V; d = D;}

Member Data Documentation

◆ d

◆ u

◆ v


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