Home
last modified time | relevance | path

Searched refs:DXFEntity (Results 1 – 25 of 116) sorted by relevance

12345

/dports/devel/upp/upp/bazaar/DXF/
H A DEntity.cpp4 DXF &DXFEntity::GetDXF(void) in GetDXF()
9 DXF const &DXFEntity::GetDXF(void) const in GetDXF()
17 bool DXFEntity::Write(Stream &s) in Write()
31 DXFEntity::DXFEntity(DXFEntities *e, String const &k) in DXFEntity() function in DXFEntity
43 uint64 DXFEntity::GetNextHandle(void) in GetNextHandle()
49 Pointf DXFEntity::T(Pointf const &p) const in T()
55 double DXFEntity::S(double d) const in S()
61 double DXFEntity::R(double a) const in R()
67 DXFEntity &DXFEntity::SetColor(int c) in SetColor()
74 DXFEntity &DXFEntity::SetLayer(String const &l) in SetLayer()
[all …]
H A DEntity.h9 class DXFEntity
47 DXFEntity(DXFEntities *e, String const &k);
61 virtual ~DXFEntity() {} in ~DXFEntity()
64 DXFEntity &SetColor(int c);
68 DXFEntity &SetLayer(String const &l);
72 DXFEntity &SetLineType(String const &l);
/dports/cad/py-ezdxf/ezdxf-0.16.3/docs/source/develop/
H A Dentitydb.rst7 :class:`~ezdxf.entities.DXFEntity` objects by it's handle,
26 .. automethod:: __getitem__(handle: str) -> DXFEntity
38 .. automethod:: get(handle: str) -> Optional[DXFEntity]
44 .. automethod:: values() -> Iterable[DXFEntity]
46 .. automethod:: items() -> Iterable[Tuple[str, DXFEntity]]
48 .. automethod:: add(entity: DXFEntity) -> None
61 .. automethod:: __iter__() -> Iterable[DXFEntity]
63 .. automethod:: __getitem__(index) -> DXFEntity
71 .. automethod:: add(entity: DXFEntity) -> None
73 .. automethod:: extend(entities: Iterable[DXFEntity]) -> None
[all …]
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/
H A Dentitydb.py7 from ezdxf.entities.dxfentity import DXFEntity
59 self._database: Dict[str, DXFEntity] = {}
125 def values(self) -> Iterable[DXFEntity]:
139 def add(self, entity: DXFEntity) -> None: argument
168 def discard(self, entity: DXFEntity) -> None: argument
181 def duplicate_entity(self, entity: DXFEntity) -> DXFEntity: argument
194 new_entity: DXFEntity = entity.copy()
298 def __iter__(self) -> Iterable[DXFEntity]:
302 def __getitem__(self, index) -> DXFEntity:
327 def add(self, entity: DXFEntity) -> None: argument
[all …]
H A Ddisassemble.py6 from ezdxf.entities import DXFEntity
41 def __init__(self, entity: DXFEntity, max_flattening_distance=None): argument
42 self.entity: DXFEntity = entity
107 def __init__(self, entity: DXFEntity): argument
407 def __init__(self, path: Path, entity: DXFEntity, argument
461 def make_primitive(entity: DXFEntity, argument
486 def recursive_decompose(entities: Iterable[DXFEntity]) -> Iterable[DXFEntity]: argument
532 def to_primitives(entities: Iterable[DXFEntity], argument
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_04_dxf_high_level_structs/
H A Dtest_403_entity_database.py5 from ezdxf.entities.dxfentity import DXFEntity
8 ENTITY = DXFEntity.new(handle='FFFF')
38 entity = DXFEntity()
87 e = DXFEntity.new()
99 e = DXFEntity.new(handle='ABBA')
116 e = DXFEntity.new()
128 e = DXFEntity.new(handle='ABBA')
140 e = DXFEntity()
152 e = DXFEntity()
162 e = DXFEntity()
[all …]
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_05_tools/
H A Dtest_513_reorder_entities.py4 from ezdxf.entities import DXFEntity
11 DXFEntity.new(handle='A'),
12 DXFEntity.new(handle='D'),
13 DXFEntity.new(handle='B'),
14 DXFEntity.new(handle='C'),
/dports/cad/py-ezdxf/ezdxf-0.16.3/docs/source/tables/
H A Dtables.rst13 .. automethod:: key(entity: Union[str, DXFEntity]) -> str
15 .. automethod:: has_entry(name: Union[str, DXFEntity]) -> bool
17 .. automethod:: __contains__(name: Union[str, DXFEntity]) -> bool
21 .. automethod:: __iter__() -> Iterable[DXFEntity]
23 .. automethod:: new(name: str, dxfattribs: dict = None) -> DXFEntity
25 .. automethod:: get(name: str) -> DXFEntity
29 .. automethod:: duplicate_entry(name: str, new_name: str) -> DXFEntity
/dports/cad/py-ezdxf/ezdxf-0.16.3/src/ezdxf/entities/
H A Ddxfgroups.py11 from .dxfentity import base_class, SubclassProcessor, DXFEntity
62 self._data: List[DXFEntity] = []
99 def __iter__(self) -> Iterable[DXFEntity]:
114 def __contains__(self, item: Union[str, DXFEntity]) -> bool: argument
143 def edit_data(self) -> List[DXFEntity]:
158 def set_data(self, entities: Iterable[DXFEntity]) -> None: argument
174 def extend(self, entities: Iterable[DXFEntity]) -> None: argument
219 def _filter_invalid_entities(self, db: 'EntityDB') -> List[DXFEntity]:
229 def all_entities_on_same_layout(entities: Iterable[DXFEntity]): argument
H A Dsubentity.py5 from ezdxf.entities import factory, DXFGraphic, SeqEnd, DXFEntity
9 from ezdxf.eztypes import DXFEntity, EntityDB, Drawing
129 def entity_linker() -> Callable[[DXFEntity], bool]:
131 main_entity: Optional[DXFEntity] = None
132 prev: Optional[DXFEntity] = None
135 def entity_linker_(entity: DXFEntity) -> bool: argument
/dports/x11-toolkits/wxgtk31/wxWidgets-3.1.5/samples/opengl/penguin/
H A Ddxfrenderer.h21 struct DXFEntity struct
27 struct DXFLine: public DXFEntity argument
34 struct DXFFace: public DXFEntity
52 WX_DECLARE_LIST(DXFEntity, DXFEntityList);
H A Ddxfrenderer.cpp355 DXFEntity *current = node->GetData(); in Clear()
599 DXFEntity *p = node->GetData(); in NormalizeEntities()
600 if (p->type == DXFEntity::Line) in NormalizeEntities()
613 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
634 DXFEntity *p = node2->GetData(); in NormalizeEntities()
635 if (p->type == DXFEntity::Line) in NormalizeEntities()
645 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
667 DXFEntity *p = node->GetData(); in Render()
669 if (p->type == DXFEntity::Line) in Render()
678 else if (p->type == DXFEntity::Face) in Render()
/dports/x11-toolkits/wxgtk30/wxWidgets-3.0.5.1/samples/opengl/penguin/
H A Ddxfrenderer.h21 struct DXFEntity struct
27 struct DXFLine: public DXFEntity argument
34 struct DXFFace: public DXFEntity
52 WX_DECLARE_LIST(DXFEntity, DXFEntityList);
H A Ddxfrenderer.cpp358 DXFEntity *current = node->GetData(); in Clear()
602 DXFEntity *p = node->GetData(); in NormalizeEntities()
603 if (p->type == DXFEntity::Line) in NormalizeEntities()
616 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
637 DXFEntity *p = node2->GetData(); in NormalizeEntities()
638 if (p->type == DXFEntity::Line) in NormalizeEntities()
648 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
670 DXFEntity *p = node->GetData(); in Render()
672 if (p->type == DXFEntity::Line) in Render()
681 else if (p->type == DXFEntity::Face) in Render()
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/samples/opengl/penguin/
H A Ddxfrenderer.h22 struct DXFEntity struct
28 struct DXFLine: public DXFEntity argument
35 struct DXFFace: public DXFEntity
53 WX_DECLARE_LIST(DXFEntity, DXFEntityList);
H A Ddxfrenderer.cpp357 DXFEntity *current = node->GetData(); in Clear()
585 DXFEntity *p = node->GetData(); in NormalizeEntities()
586 if (p->type == DXFEntity::Line) in NormalizeEntities()
599 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
620 DXFEntity *p = node2->GetData(); in NormalizeEntities()
621 if (p->type == DXFEntity::Line) in NormalizeEntities()
631 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
653 DXFEntity *p = node->GetData(); in Render()
655 if (p->type == DXFEntity::Line) in Render()
664 else if (p->type == DXFEntity::Face) in Render()
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/samples/opengl/penguin/
H A Ddxfrenderer.h22 struct DXFEntity struct
28 struct DXFLine: public DXFEntity argument
35 struct DXFFace: public DXFEntity
53 WX_DECLARE_LIST(DXFEntity, DXFEntityList);
H A Ddxfrenderer.cpp357 DXFEntity *current = node->GetData(); in Clear()
585 DXFEntity *p = node->GetData(); in NormalizeEntities()
586 if (p->type == DXFEntity::Line) in NormalizeEntities()
599 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
620 DXFEntity *p = node2->GetData(); in NormalizeEntities()
621 if (p->type == DXFEntity::Line) in NormalizeEntities()
631 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
653 DXFEntity *p = node->GetData(); in Render()
655 if (p->type == DXFEntity::Line) in Render()
664 else if (p->type == DXFEntity::Face) in Render()
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/samples/opengl/penguin/
H A Ddxfrenderer.h22 struct DXFEntity struct
28 struct DXFLine: public DXFEntity argument
35 struct DXFFace: public DXFEntity
53 WX_DECLARE_LIST(DXFEntity, DXFEntityList);
H A Ddxfrenderer.cpp357 DXFEntity *current = node->GetData(); in Clear()
585 DXFEntity *p = node->GetData(); in NormalizeEntities()
586 if (p->type == DXFEntity::Line) in NormalizeEntities()
599 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
620 DXFEntity *p = node2->GetData(); in NormalizeEntities()
621 if (p->type == DXFEntity::Line) in NormalizeEntities()
631 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
653 DXFEntity *p = node->GetData(); in Render()
655 if (p->type == DXFEntity::Line) in Render()
664 else if (p->type == DXFEntity::Face) in Render()
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/samples/opengl/penguin/
H A Ddxfrenderer.h22 struct DXFEntity struct
28 struct DXFLine: public DXFEntity argument
35 struct DXFFace: public DXFEntity
53 WX_DECLARE_LIST(DXFEntity, DXFEntityList);
H A Ddxfrenderer.cpp357 DXFEntity *current = node->GetData(); in Clear()
585 DXFEntity *p = node->GetData(); in NormalizeEntities()
586 if (p->type == DXFEntity::Line) in NormalizeEntities()
599 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
620 DXFEntity *p = node2->GetData(); in NormalizeEntities()
621 if (p->type == DXFEntity::Line) in NormalizeEntities()
631 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
653 DXFEntity *p = node->GetData(); in Render()
655 if (p->type == DXFEntity::Line) in Render()
664 else if (p->type == DXFEntity::Face) in Render()
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/ext/wxWidgets/samples/opengl/penguin/
H A Ddxfrenderer.h21 struct DXFEntity struct
27 struct DXFLine: public DXFEntity argument
34 struct DXFFace: public DXFEntity
52 WX_DECLARE_LIST(DXFEntity, DXFEntityList);
H A Ddxfrenderer.cpp358 DXFEntity *current = node->GetData(); in Clear()
602 DXFEntity *p = node->GetData(); in NormalizeEntities()
603 if (p->type == DXFEntity::Line) in NormalizeEntities()
616 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
637 DXFEntity *p = node2->GetData(); in NormalizeEntities()
638 if (p->type == DXFEntity::Line) in NormalizeEntities()
648 } else if (p->type == DXFEntity::Face) in NormalizeEntities()
670 DXFEntity *p = node->GetData(); in Render()
672 if (p->type == DXFEntity::Line) in Render()
681 else if (p->type == DXFEntity::Face) in Render()
/dports/cad/py-ezdxf/ezdxf-0.16.3/docs/source/dxfobjects/
H A Ddictionary.rst13 Dictionary entries are (:attr:`key`, :class:`DXFEntity`) pairs. At loading time the value could be …
53 .. automethod:: __getitem__(key: str) -> DXFEntity
55 .. automethod:: __setitem__(key: str, value: DXFEntity) -> None
65 .. automethod:: get(key: str, default: Any = DXFKeyError) -> DXFEntity
67 .. automethod:: add(key: str, value: DXFEntity) -> None
99 .. automethod:: get(key: str) -> DXFEntity

12345