JunkBox_Lib++ (for Windows) 1.10.1
Loading...
Searching...
No Matches
Vector.h File Reference

ベクトルライブラリ for C++ More...

#include "tools++.h"
#include <math.h>
#include "Tolerance.h"
Include dependency graph for Vector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Vector< T >
 
class  PCoordinate< T >
 
class  RBound< T >
 
class  UVMap< T >
 
class  Vector4< T >
 

Namespaces

namespace  jbxl
 

Macros

#define VECTOR   Vector
 
#define VECTOR4   Vector4
 
#define VECTOR2   UVMap
 
#define Vector2   UVMap
 
#define UVMAP   UVMap
 
#define BOUNDARY_BLANK   5
 境界 RBound<T> の余白
 

Functions

template<typename T , typename R >
Vector< T > Cast (Vector< R > v)
 
template<typename T >
Vector< T > operator- (const Vector< T > a)
 
template<typename T >
Vector< T > operator+ (const Vector< T > a, const Vector< T > b)
 
template<typename T , typename R >
Vector< T > operator+ (const Vector< T > a, R c)
 
template<typename T , typename R >
Vector< T > operator+ (const R c, Vector< T > a)
 
template<typename T >
Vector< T > operator- (const Vector< T > a, const Vector< T > b)
 
template<typename T , typename R >
Vector< T > operator- (const Vector< T > a, R c)
 
template<typename T , typename R >
Vector< T > operator- (R c, const Vector< T > a)
 
template<typename T , typename R >
Vector< T > operator* (const R d, const Vector< T > a)
 
template<typename T , typename R >
Vector< T > operator* (const Vector< T > a, const R d)
 
template<typename T , typename R >
Vector< T > operator/ (const Vector< T > a, const R d)
 
template<typename T , typename R >
Vector< T > operator/ (const R d, const Vector< T > a)
 
template<typename T >
Vector< T > operator+= (Vector< T > &a, const Vector< T > b)
 
template<typename T , typename R >
Vector< T > operator+= (Vector< T > &a, const Vector< R > b)
 
template<typename T >
Vector< T > operator-= (Vector< T > &a, const Vector< T > b)
 
template<typename T , typename R >
Vector< T > operator-= (Vector< T > &a, const Vector< R > b)
 
template<typename T >
Vector< T > operator^ (const Vector< T > a, const Vector< T > b)
 Cross product 外積
 
template<typename T >
operator* (const Vector< T > a, const Vector< T > b)
 Dot product 内積
 
template<typename T >
bool operator== (const Vector< T > v1, const Vector< T > v2)
 
template<typename T >
bool operator!= (const Vector< T > v1, const Vector< T > v2)
 
template<typename T >
Vector< T > MidPoint (const Vector< T > a, const Vector< T > b)
 
template<typename T >
double VectorDist (const Vector< T > a, const Vector< T > b)
 点a と b の距離 (a,b は位置ベクトル)
 
template<typename T >
bool operator< (const Vector< T > v1, const Vector< T > v2)
 
template<typename T >
bool same_vector (Vector< T > v1, Vector< T > v2)
 
template<typename T >
Vector< T > * dupVector (Vector< T > *a, int n)
 
template<typename T >
double VectorAngle (Vector< T > a, Vector< T > b)
 
template<typename T >
double VectorAngle (Vector< T > a, Vector< T > b, Vector< T > c)
 
template<typename T >
Vector< T > NewellMethod (Vector< T > v1, Vector< T > v2, Vector< T > v3)
 Normal Vector of 3 Vectors with Newell Mothod.
 
template<typename T >
Vector< T > NewellMethod3 (Vector< T > v1, Vector< T > v2, Vector< T > v3)
 
template<typename T >
Vector< T > NewellMethod4 (Vector< T > v1, Vector< T > v2, Vector< T > v3, Vector< T > v4)
 
template<typename T >
Vector< T > BSplineInterp4 (Vector< T > p0, Vector< T > p1, double t)
 
template<typename T >
bool disJunctBounds (RBound< T > b1, RBound< T > b2)
 
template<typename T , typename R >
UVMap< T > Cast (UVMap< R > v)
 
template<typename T >
UVMap< T > operator- (const UVMap< T > a)
 
template<typename T >
UVMap< T > operator+ (const UVMap< T > a, const UVMap< T > b)
 
template<typename T , typename R >
UVMap< T > operator+ (const UVMap< T > a, R c)
 
template<typename T , typename R >
UVMap< T > operator+ (const R c, UVMap< T > a)
 
template<typename T >
UVMap< T > operator- (const UVMap< T > a, const UVMap< T > b)
 
template<typename T , typename R >
UVMap< T > operator- (const UVMap< T > a, R c)
 
template<typename T , typename R >
UVMap< T > operator- (const R c, UVMap< T >a)
 
template<typename T , typename R >
UVMap< T > operator* (const R d, const UVMap< T > a)
 
template<typename T , typename R >
UVMap< T > operator* (const UVMap< T > a, const R d)
 
template<typename T , typename R >
UVMap< T > operator/ (const UVMap< T > a, const R d)
 
template<typename T , typename R >
UVMap< T > operator/ (const R d, const UVMap< T > a)
 
template<typename T >
bool operator== (const UVMap< T > a, const UVMap< T > b)
 
template<typename T >
bool operator!= (const UVMap< T > a, const UVMap< T > b)
 
template<typename T >
UVMap< T > operator+= (UVMap< T > &a, const UVMap< T > b)
 
template<typename T , typename R >
UVMap< T > operator+= (UVMap< T > &a, const UVMap< R > b)
 
template<typename T >
UVMap< T > operator-= (UVMap< T > &a, const UVMap< T > b)
 
template<typename T , typename R >
UVMap< T > operator-= (UVMap< T > &a, const UVMap< R > b)
 
template<typename T , typename R >
Vector4< T > Cast (Vector4< R > v)
 
template<typename T >
Vector4< T > operator- (const Vector4< T > a)
 
template<typename T >
Vector4< T > operator+ (const Vector4< T > a, const Vector4< T > b)
 
template<typename T , typename R >
Vector4< T > operator+ (const Vector4< T > a, R c)
 
template<typename T , typename R >
Vector4< T > operator+ (const R c, Vector4< T > a)
 
template<typename T >
Vector4< T > operator- (const Vector4< T > a, const Vector4< T > b)
 
template<typename T , typename R >
Vector4< T > operator- (const Vector4< T > a, R c)
 
template<typename T , typename R >
Vector4< T > operator- (R c, const Vector4< T > a)
 
template<typename T , typename R >
Vector4< T > operator* (const R d, const Vector4< T > a)
 
template<typename T , typename R >
Vector4< T > operator* (const Vector4< T > a, const R d)
 
template<typename T , typename R >
Vector4< T > operator/ (const Vector4< T > a, const R d)
 
template<typename T , typename R >
Vector4< T > operator/ (const R d, const Vector4< T > a)
 
template<typename T >
Vector4< T > operator+= (Vector4< T > &a, const Vector4< T > b)
 
template<typename T , typename R >
Vector4< T > operator+= (Vector4< T > &a, const Vector4< R > b)
 
template<typename T >
Vector4< T > operator-= (Vector4< T > &a, const Vector4< T > b)
 
template<typename T , typename R >
Vector4< T > operator-= (Vector4< T > &a, const Vector4< R > b)
 
template<typename T >
operator* (const Vector4< T > a, const Vector4< T > b)
 Dot product 内積
 
template<typename T >
bool operator== (const Vector4< T > v1, const Vector4< T > v2)
 
template<typename T >
bool operator!= (const Vector4< T > v1, const Vector4< T > v2)
 
template<typename T >
Vector4< T > MidPoint (const Vector4< T > a, const Vector4< T > b)
 
template<typename T >
double Vector4Dist (const Vector4< T > a, const Vector4< T > b)
 点a と b の距離 (a,b は位置ベクトル)
 
template<typename T >
bool operator< (const Vector4< T > v1, const Vector4< T > v2)
 
template<typename T >
bool same_vector (Vector4< T > v1, Vector4< T > v2)
 
template<typename T >
Vector4< T > * dupVector4 (Vector4< T > *a, int n)
 
template<typename T >
double Vector4Angle (Vector4< T > a, Vector4< T > b)
 
template<typename T >
double Vector4Angle (Vector4< T > a, Vector4< T > b, Vector4< T > c)
 

Detailed Description

Author
Fumi.Iseki (C)

Definition in file Vector.h.

Macro Definition Documentation

◆ BOUNDARY_BLANK

#define BOUNDARY_BLANK   5

Definition at line 42 of file Vector.h.

◆ UVMAP

#define UVMAP   UVMap

Definition at line 39 of file Vector.h.

◆ VECTOR

#define VECTOR   Vector

Definition at line 35 of file Vector.h.

◆ VECTOR2

#define VECTOR2   UVMap

Definition at line 37 of file Vector.h.

◆ Vector2

#define Vector2   UVMap

Definition at line 38 of file Vector.h.

◆ VECTOR4

#define VECTOR4   Vector4

Definition at line 36 of file Vector.h.