C# Class Harmonics.CotangentLaplacian

Inheritance: GH_Component
Show file Open project: CecilieBrandt/harmonics

Public Methods

Method Description
CotangentLaplacian ( ) : System

Initializes a new instance of the CotangentLaplacian class.

calcAreaTriangle ( PlanktonMesh pMesh, int faceIndex ) : double
calcCotEdgeWeight ( PlanktonMesh pMesh, int i, int j, List vertexAreas, int opt ) : double
calcCotLaplacian ( PlanktonMesh pMesh, List cotEdgeWeights ) : Matrix
calcCotVertexWeight ( PlanktonMesh pMesh, int vertexIndex, List cotEdgeWeights ) : double
calcOppositeAngle ( PlanktonMesh pMesh, int halfedgeIndex ) : double
calcVertexAngle ( PlanktonMesh pMesh, int faceIndex, int vertexIndex ) : double
calcVertexBarycentricArea ( PlanktonMesh pMesh, int vertexIndex ) : double
calcVertexVoronoiArea ( PlanktonMesh pMesh, int vertexIndex ) : double
cotEdgeWeightList ( PlanktonMesh pMesh, List vertexAreas, int opt ) : List
edgeVector ( PlanktonMesh pMesh, int halfedgeIndex ) : Vector3d
edgeVector ( PlanktonMesh pMesh, int vertex_i, int vertex_j ) : Vector3d
edgeVectorIn ( PlanktonMesh pMesh, int vertexIndex, int faceIndex ) : Vector3d
edgeVectorOut ( PlanktonMesh pMesh, int vertexIndex, int faceIndex ) : Vector3d
findHalfedgeIndex ( PlanktonMesh pMesh, int i, int j ) : int
findHalfedgeVertexIndices ( PlanktonMesh pMesh, int halfedgeIndex ) : int[]
isObtuse ( PlanktonMesh pMesh, int faceIndex ) : bool
isTriangular ( PlanktonMesh pMesh ) : bool
vertexAreaList ( PlanktonMesh pMesh, int opt ) : List

Protected Methods

Method Description
RegisterInputParams ( GH_Component.GH_InputParamManager pManager ) : void

Registers all the input parameters for this component.

RegisterOutputParams ( GH_Component.GH_OutputParamManager pManager ) : void

Registers all the output parameters for this component.

SolveInstance ( IGH_DataAccess DA ) : void

This is the method that actually does the work.

Method Details

CotangentLaplacian() public method

Initializes a new instance of the CotangentLaplacian class.
public CotangentLaplacian ( ) : System
return System

RegisterInputParams() protected method

Registers all the input parameters for this component.
protected RegisterInputParams ( GH_Component.GH_InputParamManager pManager ) : void
pManager GH_Component.GH_InputParamManager
return void

RegisterOutputParams() protected method

Registers all the output parameters for this component.
protected RegisterOutputParams ( GH_Component.GH_OutputParamManager pManager ) : void
pManager GH_Component.GH_OutputParamManager
return void

SolveInstance() protected method

This is the method that actually does the work.
protected SolveInstance ( IGH_DataAccess DA ) : void
DA IGH_DataAccess The DA object is used to retrieve from inputs and store in outputs.
return void

calcAreaTriangle() public method

public calcAreaTriangle ( PlanktonMesh pMesh, int faceIndex ) : double
pMesh PlanktonMesh
faceIndex int
return double

calcCotEdgeWeight() public method

public calcCotEdgeWeight ( PlanktonMesh pMesh, int i, int j, List vertexAreas, int opt ) : double
pMesh PlanktonMesh
i int
j int
vertexAreas List
opt int
return double

calcCotLaplacian() public method

public calcCotLaplacian ( PlanktonMesh pMesh, List cotEdgeWeights ) : Matrix
pMesh PlanktonMesh
cotEdgeWeights List
return Matrix

calcCotVertexWeight() public method

public calcCotVertexWeight ( PlanktonMesh pMesh, int vertexIndex, List cotEdgeWeights ) : double
pMesh PlanktonMesh
vertexIndex int
cotEdgeWeights List
return double

calcOppositeAngle() public method

public calcOppositeAngle ( PlanktonMesh pMesh, int halfedgeIndex ) : double
pMesh PlanktonMesh
halfedgeIndex int
return double

calcVertexAngle() public method

public calcVertexAngle ( PlanktonMesh pMesh, int faceIndex, int vertexIndex ) : double
pMesh PlanktonMesh
faceIndex int
vertexIndex int
return double

calcVertexBarycentricArea() public method

public calcVertexBarycentricArea ( PlanktonMesh pMesh, int vertexIndex ) : double
pMesh PlanktonMesh
vertexIndex int
return double

calcVertexVoronoiArea() public method

public calcVertexVoronoiArea ( PlanktonMesh pMesh, int vertexIndex ) : double
pMesh PlanktonMesh
vertexIndex int
return double

cotEdgeWeightList() public method

public cotEdgeWeightList ( PlanktonMesh pMesh, List vertexAreas, int opt ) : List
pMesh PlanktonMesh
vertexAreas List
opt int
return List

edgeVector() public method

public edgeVector ( PlanktonMesh pMesh, int halfedgeIndex ) : Vector3d
pMesh PlanktonMesh
halfedgeIndex int
return Vector3d

edgeVector() public method

public edgeVector ( PlanktonMesh pMesh, int vertex_i, int vertex_j ) : Vector3d
pMesh PlanktonMesh
vertex_i int
vertex_j int
return Vector3d

edgeVectorIn() public method

public edgeVectorIn ( PlanktonMesh pMesh, int vertexIndex, int faceIndex ) : Vector3d
pMesh PlanktonMesh
vertexIndex int
faceIndex int
return Vector3d

edgeVectorOut() public method

public edgeVectorOut ( PlanktonMesh pMesh, int vertexIndex, int faceIndex ) : Vector3d
pMesh PlanktonMesh
vertexIndex int
faceIndex int
return Vector3d

findHalfedgeIndex() public method

public findHalfedgeIndex ( PlanktonMesh pMesh, int i, int j ) : int
pMesh PlanktonMesh
i int
j int
return int

findHalfedgeVertexIndices() public method

public findHalfedgeVertexIndices ( PlanktonMesh pMesh, int halfedgeIndex ) : int[]
pMesh PlanktonMesh
halfedgeIndex int
return int[]

isObtuse() public method

public isObtuse ( PlanktonMesh pMesh, int faceIndex ) : bool
pMesh PlanktonMesh
faceIndex int
return bool

isTriangular() public method

public isTriangular ( PlanktonMesh pMesh ) : bool
pMesh PlanktonMesh
return bool

vertexAreaList() public method

public vertexAreaList ( PlanktonMesh pMesh, int opt ) : List
pMesh PlanktonMesh
opt int
return List