glock.sur: 3D surface of a 9-mm Glock firing pin aperture shear in...

Description Format Source Examples

Description

A binary file. It consists of a 512-byte header followed by the z-heights of a retangular portion of a firing pin aperture shear on a fired cartrige case. This 3D data is in the form of a Digital Surf MountainsMap 5 .sur format.

Format

A 512-byte header of information about the surface followed by a 1D array of data. Information in the header is:

code
format
num.obj
ver.num
stud.typ
name.obj
name.op
unused
int1
unused.int2
unused.int3
non.meas.pts
flg,abs.z.flg
reserv
num.bits.pt
min.z
max.z
num.pts.line
num.lines
num.pts.total
x.inc
y.inc
z.inc
x.label
y.label
z.label
x.unit
y.unit
z.unit
x.len.unit
y.len.unit
z.len.unit
x.ratio
y.ratio
z.ratio
replica
inverted
leveled
unused.sing1
unused.sing2
unused.sing3
meas.time.sec
meas.time.min
meas.time.hr
meas.time.day
meas.time.month
meas.time.yr
meas.time.wkday
meas.dur
unused.int4
unused.int5
unused.sing4
unused.int6
leng.comment.zone
leng.private.zone
free.zone
x.off
y.off
z.off
TT.spacing
TT.off
TT.name
TT.step.unit
comment.zone
private.zone

Source

http://NIST.DATABASE.XXXXXXXXX

http://www.digitalsurf.fr

Examples

1
2
3
file.path <- system.file("extdata", "glock.sur", package="x3pr")
glock.sur.surface.info <- read.digital.surf.file(file.path)
glock.sur.surface.info[[1]]

npetraco/x3pr documentation built on May 23, 2019, 9:33 p.m.