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::Point::Interface - Point Interface

Usage

  use Point;
  use Point3D;
  use Point::Interface;
  
  my $point = (Point)Point3D->new;
  
  my $point_interface = $point;
  
  $point_interface->clear;

Description

Point::Interface is a class for has_interfaces classes.

Instance Methods

has_interfaces

  required method has_interfaces : int ();

This class has some interfaces.

clear

  method clear : void ()

Clear the coordinates.