понедельник, 16 мая 2016 г.

ODA LWPolyline huge mistype

ODA LWPolyline geometry structure should be as follows (corrections made are bold).

Common Entity Data
       Flag
if (flag & 4) {
constwidth
}
if (flag & 8) {
elevation
}
if (flag & 2) {
thickness
}
if (flag & 1) {
}
BS 70 BD 43
BD 38
BD 39
normal
numpoints BL 90
3BD 210


if (flag & 16) {
numbulges BL
}
R2010+:
If (flag & 1024) {
vertexIdCount BL
}

R2000 | R2010+:
if (flag & 32) { // This flag presents in R2000, possible earlier and after.
numwidths BL
}
R13-R14 Only:
repeat numpoints times
pt0 2RD end repeat
R2000+:
pt0 2RD repeat numpoints-1 times
xDD
yDD end repeat
Common:
repeat numbulges times
bulge BD end repeat
repeat vertexIdCount times vertex id BL
end repeat
repeat numwidths times // So, Widths can also be presented there.
widths 2BD 
end repeat
Common Entity Handle Data

Комментариев нет:

Отправить комментарий