gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
SVector3.h File Reference
#include "SPoint3.h"
#include <string>
#include <stdio.h>
#include <array>
Include dependency graph for SVector3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SVector3
 

Functions

double dot (const SVector3 &a, const SVector3 &b)
 
double norm (const SVector3 &v)
 
double normSq (const SVector3 &v)
 
SVector3 crossprod (const SVector3 &a, const SVector3 &b)
 
double angle (const SVector3 &a, const SVector3 &b)
 
double signedAngle (const SVector3 &a, const SVector3 &b, const SVector3 &n)
 
SVector3 operator* (double m, const SVector3 &v)
 
SVector3 operator* (const SVector3 &v, double m)
 
SVector3 operator* (const SVector3 &v1, const SVector3 &v2)
 
SVector3 operator+ (const SVector3 &a, const SVector3 &b)
 
SPoint3 operator+ (const SPoint3 &a, const SVector3 &b)
 
SVector3 operator- (const SVector3 &a, const SVector3 &b)
 
SPoint3 operator- (const SPoint3 &a, const SVector3 &b)
 
SVector3 operator- (const SVector3 &a)
 
void buildOrthoBasis_naive (SVector3 &dir, SVector3 &dir1, SVector3 &dir2)
 
void buildOrthoBasis (SVector3 &normal, SVector3 &tangent, SVector3 &binormal)
 
void buildOrthoBasis2 (SVector3 &normal, SVector3 &tangent, SVector3 &binormal)
 

Function Documentation

◆ angle()

◆ buildOrthoBasis()

void buildOrthoBasis ( SVector3 normal,
SVector3 tangent,
SVector3 binormal 
)
inline

Definition at line 257 of file SVector3.h.

Referenced by transformPointsIntoOrthoBasis().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ buildOrthoBasis2()

void buildOrthoBasis2 ( SVector3 normal,
SVector3 tangent,
SVector3 binormal 
)
inline

Definition at line 279 of file SVector3.h.

Here is the call graph for this function:

◆ buildOrthoBasis_naive()

void buildOrthoBasis_naive ( SVector3 dir,
SVector3 dir1,
SVector3 dir2 
)
inline

Definition at line 212 of file SVector3.h.

Referenced by buildOrthoBasis(), and buildOrthoBasis2().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ crossprod()

SVector3 crossprod ( const SVector3 a,
const SVector3 b 
)
inline

◆ dot()

double dot ( const SVector3 a,
const SVector3 b 
)
inline

Definition at line 141 of file SVector3.h.

Referenced by angle(), norm(), normSq(), and signedAngle().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ norm()

double norm ( const SVector3 v)
inline

Definition at line 146 of file SVector3.h.

Referenced by angle().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ normSq()

double normSq ( const SVector3 v)
inline

Definition at line 148 of file SVector3.h.

Referenced by elasticitySolver::computeDisplacementError(), elasticitySolver::computeL2Norm(), and GFace::getMetricEigenVectors().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator*() [1/3]

SVector3 operator* ( const SVector3 v,
double  m 
)
inline

Definition at line 177 of file SVector3.h.

◆ operator*() [2/3]

SVector3 operator* ( const SVector3 v1,
const SVector3 v2 
)
inline

Definition at line 182 of file SVector3.h.

◆ operator*() [3/3]

SVector3 operator* ( double  m,
const SVector3 v 
)
inline

Definition at line 172 of file SVector3.h.

◆ operator+() [1/2]

SPoint3 operator+ ( const SPoint3 a,
const SVector3 b 
)
inline

Definition at line 192 of file SVector3.h.

◆ operator+() [2/2]

SVector3 operator+ ( const SVector3 a,
const SVector3 b 
)
inline

Definition at line 187 of file SVector3.h.

◆ operator-() [1/3]

SPoint3 operator- ( const SPoint3 a,
const SVector3 b 
)
inline

Definition at line 202 of file SVector3.h.

◆ operator-() [2/3]

SVector3 operator- ( const SVector3 a)
inline

Definition at line 207 of file SVector3.h.

◆ operator-() [3/3]

SVector3 operator- ( const SVector3 a,
const SVector3 b 
)
inline

Definition at line 197 of file SVector3.h.

◆ signedAngle()

double signedAngle ( const SVector3 a,
const SVector3 b,
const SVector3 n 
)
inline

Definition at line 164 of file SVector3.h.

Referenced by GMSH_BoundaryAnglesPlugin::execute().

Here is the call graph for this function:
Here is the caller graph for this function: