export default class Vertice { constructor ( public x = 0 , public y = 0 , public z = 0 ) { } getArray ( ) { return [ this . x , this . y , this . z ] ; } clone ( ) { return new Vertice ( this . x , this . y , this . z ) ; } getOpposite ( ) { return new Vertice ( - this . x , - this . y , - this . z ) ; } } ;