Functions
Point3D.cpp File Reference
#include "Point3D.h"
#include "Parameters.h"
Include dependency graph for Point3D.cpp:

Go to the source code of this file.

Functions

double AngleBetween (const CPoint3D &pt1, const CPoint3D &pt2)
 
double AngleBetween (const CPoint3D &pt1, const CPoint3D &pt2, const CPoint3D &pt3)
 
float AngleBetween (const float *u, const float *v)
 
CPoint3D CombinePointAndNormalTo (const CPoint3D &pt, const CPoint3D &normal)
 
CPoint3D CombineTwoNormalsTo (const CPoint3D &pt1, double coef1, const CPoint3D &pt2, double coef2)
 
double GetTriangleArea (const CPoint3D &pt1, const CPoint3D &pt2, const CPoint3D &pt3)
 
CPoint3D operator* (const CPoint3D &pt, double times)
 
CPoint3D operator* (double times, const CPoint3D &pt)
 
CPoint3D operator* (const CPoint3D &pt1, const CPoint3D &pt2)
 
CPoint3D operator+ (const CPoint3D &pt1, const CPoint3D &pt2)
 
CPoint3D operator- (const CPoint3D &pt1, const CPoint3D &pt2)
 
CPoint3D operator/ (const CPoint3D &pt, double times)
 
double operator^ (const CPoint3D &pt1, const CPoint3D &pt2)
 
CPoint3D VectorCross (const CPoint3D &pt1, const CPoint3D &pt2, const CPoint3D &pt3)
 
void VectorCross (const float *u, const float *v, float *n)
 
float VectorDot (const float *u, const float *v)
 

Function Documentation

◆ AngleBetween() [1/3]

double AngleBetween ( const CPoint3D pt1,
const CPoint3D pt2 
)

Definition at line 59 of file Point3D.cpp.

◆ AngleBetween() [2/3]

double AngleBetween ( const CPoint3D pt1,
const CPoint3D pt2,
const CPoint3D pt3 
)

Definition at line 73 of file Point3D.cpp.

◆ AngleBetween() [3/3]

float AngleBetween ( const float *  u,
const float *  v 
)

Definition at line 101 of file Point3D.cpp.

◆ CombinePointAndNormalTo()

CPoint3D CombinePointAndNormalTo ( const CPoint3D pt,
const CPoint3D normal 
)

Definition at line 113 of file Point3D.cpp.

◆ CombineTwoNormalsTo()

CPoint3D CombineTwoNormalsTo ( const CPoint3D pt1,
double  coef1,
const CPoint3D pt2,
double  coef2 
)

Definition at line 118 of file Point3D.cpp.

◆ GetTriangleArea()

double GetTriangleArea ( const CPoint3D pt1,
const CPoint3D pt2,
const CPoint3D pt3 
)

Definition at line 53 of file Point3D.cpp.

◆ operator*() [1/3]

CPoint3D operator* ( const CPoint3D pt,
double  times 
)

Definition at line 21 of file Point3D.cpp.

◆ operator*() [2/3]

CPoint3D operator* ( double  times,
const CPoint3D pt 
)

Definition at line 31 of file Point3D.cpp.

◆ operator*() [3/3]

CPoint3D operator* ( const CPoint3D pt1,
const CPoint3D pt2 
)

Definition at line 36 of file Point3D.cpp.

◆ operator+()

CPoint3D operator+ ( const CPoint3D pt1,
const CPoint3D pt2 
)

Definition at line 11 of file Point3D.cpp.

◆ operator-()

CPoint3D operator- ( const CPoint3D pt1,
const CPoint3D pt2 
)

Definition at line 16 of file Point3D.cpp.

◆ operator/()

CPoint3D operator/ ( const CPoint3D pt,
double  times 
)

Definition at line 26 of file Point3D.cpp.

◆ operator^()

double operator^ ( const CPoint3D pt1,
const CPoint3D pt2 
)

Definition at line 48 of file Point3D.cpp.

◆ VectorCross() [1/2]

CPoint3D VectorCross ( const CPoint3D pt1,
const CPoint3D pt2,
const CPoint3D pt3 
)

Definition at line 43 of file Point3D.cpp.

◆ VectorCross() [2/2]

void VectorCross ( const float *  u,
const float *  v,
float *  n 
)

Definition at line 94 of file Point3D.cpp.

◆ VectorDot()

float VectorDot ( const float *  u,
const float *  v 
)

Definition at line 89 of file Point3D.cpp.



co_scan
Author(s):
autogenerated on Mon Feb 28 2022 23:00:57