Draft::Protozoa::Eml::Line::Draft1 - CAD line drawing-object


Draft documentation Contained in the Draft distribution.

Index


Code Index:

NAME

Top

Draft::Protozoa::Eml::Line::Draft1 - CAD line drawing-object

SYNOPSIS

Top

A line consists of two points.

DESCRIPTION

Top

Though a line consists of just two points, it should really be extended to an arbitrary number of points - A polyline.


Draft documentation Contained in the Draft distribution.
package Draft::Protozoa::Eml::Line::Draft1;

use strict;
use warnings;
use Draft::Protozoa::Eml;
use Draft::Entity::Line;

use vars qw /@ISA/;
@ISA = qw /Draft::Protozoa::Eml Draft::Entity::Line/;

sub _parse
{
    my $self = shift;
    my $data = shift;

    $self->{0} = $data->{0};
    $self->{1} = $data->{1};
}

1;