예제 #1
0
파일: lwpolyline.py 프로젝트: mhenr18/ezdxf
    def virtual_entities(self) -> Iterable[Union['Line', 'Arc']]:
        """ Yields 'virtual' parts of LWPOLYLINE as LINE or ARC entities.

        This entities are located at the original positions, but are not stored
        in the entity database, have no handle and are not assigned to any
        layout.

        """
        return virtual_lwpolyline_entities(self)
예제 #2
0
    def virtual_entities(self) -> Iterable[Union["Line", "Arc"]]:
        """Yields the graphical representation of LWPOLYLINE as virtual DXF
        primitives (LINE or ARC).

        These virtual entities are located at the original location, but are not
        stored in the entity database, have no handle and are not assigned to
        any layout.

        """
        for e in virtual_lwpolyline_entities(self):
            e.set_source_of_copy(self)
            yield e