The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Pointable - Pointable

Usage

  use Point3D;
  use Pointable;
  
  my $point3d = Point3D->new;
  
  my $pointable = $point3d;
  
  $pointable->clear;

Description

Pointable is a class for pointable classes.

Instance Methods

pointable

  required method pointable : int ();

This is Pointable object.

clear

  method clear : void ()

Clear the coordinates.