my.halfedge: quaternion matrix

Description Usage Examples

Description

quaternion matrix

Usage

1
my.halfedge(xyz, faces.v)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
library(Matrix)
example(my.catmull.clark.tri)
mesh <- my.mesh(faces.v)
xyz <- t(as.matrix(vertices)[2:4,])
my.mesh.tri.plot(vertices,faces.v)
area.norm <- my.area.norm(mesh,xyz)
cot <- my.halfedge.cot(mesh,xyz)
dec <- my.dec(mesh,xyz)
n.iter <- 100
current.xyz <- xyz
for(i in 1:n.iter){
	new.out <- my.update.heatflow(mesh,current.xyz,step=0.05)
	my.mesh.tri.plot.xyz(new.out$xyz,faces.v)
	current.xyz <- new.out$xyz
}

ryamada22/Ronlyryamada documentation built on May 28, 2019, 10:43 a.m.