powered by
mirror points or mesh on an arbitrary plane
mirror2plane(x, v1, normal = NULL, v2 = NULL, v3 = NULL)# S3 method for matrix mirror2plane(x, v1, normal = NULL, v2 = NULL, v3 = NULL)# S3 method for mesh3d mirror2plane(x, v1, normal = NULL, v2 = NULL, v3 = NULL)
# S3 method for matrix mirror2plane(x, v1, normal = NULL, v2 = NULL, v3 = NULL)
# S3 method for mesh3d mirror2plane(x, v1, normal = NULL, v2 = NULL, v3 = NULL)
mirrored coordinates mesh
x 3D-vector or a k x 3 matrix with 3D vectors stored in rows. Or a triangular mesh of class mesh3d
point on plane
plane normal (overrides specification by v2 and v3)
if pNorm=NULL, the plane will be defined by three points v1, v2, v3
v1, v2, v3
# mirror mesh on plane spanned by 3 midsagital landmarks data(boneData) mirrmesh <- mirror2plane(skull_0144_ch_fe.mesh,v1=boneLM[1,,1],v2=boneLM[9,,1],v3=boneLM[10,,1])
Run the code above in your browser using DataLab