dxfscan 0.1.0

Binary DXF parser with typed entity data and lookup indices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: ISC
use crate::entity::Entity;
use crate::point::Point3;
use alloc::vec::Vec;

/// A parsed BLOCK definition.
#[derive(Debug, Clone, Default)]
pub struct Block<'a> {
    /// Block name.
    pub name: &'a [u8],
    /// Base point.
    pub base_point: Point3,
    /// Entities contained within this block.
    pub entities: Vec<Entity<'a>>,
}