wiki:PerlpointObj

pointObj

$point = new mapscript::pointObj();

$point->{x} = 100;

$pointx = $point->{x};
$pointy = $point->{y};

my $distance = $point->distanceToPoint($garagepoint);

$point->project($in_proj,$out_proj);

my $point = $label->{point};

$box_minx = $point->{x} - 15;

$line->add($point);

back to PerlMapScript

Last modified 13 years ago Last modified on Jan 29, 2009, 10:45:21 AM