1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
XLine
=====
.. module:: ezdxf.entities
:noindex:
The XLINE entity (`DXF Reference`_) is a construction line that extents to infinity in
both directions.
======================== ==========================================
Subclass of :class:`ezdxf.entities.DXFGraphic`
DXF type ``'XLINE'``
Factory function :meth:`ezdxf.layouts.BaseLayout.add_xline`
Inherited DXF attributes :ref:`Common graphical DXF attributes`
Required DXF version DXF R2000 (``'AC1015'``)
======================== ==========================================
.. _DXF Reference: http://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-55080553-34B6-40AA-9EE2-3F3A3A2A5C0A
.. class:: XLine
.. attribute:: dxf.start
Location point of line as (3D Point in :ref:`WCS`)
.. attribute:: dxf.unit_vector
Unit direction vector as (3D Point in :ref:`WCS`)
.. automethod:: transform
.. automethod:: translate
|