| | |
| | | package com.ximple.io.dgn7; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.Collection; |
| | | import java.util.Iterator; |
| | | import java.util.List; |
| | |
| | | return factory.createMultiLineString(lines); |
| | | } |
| | | |
| | | public double getElementSize() { |
| | | public short getTotalLength() { |
| | | return raw[18]; |
| | | } |
| | | |
| | | protected void setTotalLength(short value) { |
| | | raw[18] = value; |
| | | } |
| | | |
| | | public short getNumOfElement() { |
| | | return raw[19]; |
| | | } |
| | | |
| | | protected void setNumOfElement(short value) { |
| | | raw[19] = value; |
| | | } |
| | | |
| | | |
| | | public short[] getAttributes() { |
| | | return Arrays.copyOfRange(raw, 20, 23); |
| | | } |
| | | |
| | | protected void setAttributes(short[] values) { |
| | | if (values.length < 4) return; |
| | | System.arraycopy(values, 0, raw, 20, 24 - 20); |
| | | } |
| | | |
| | | public boolean isClosed() { |
| | | if (isEmpty()) { |
| | | return false; |