linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awPoint

Source Location: /class/system/artichow/php5/inc/Math.class.php

Class Overview

awShape
   |
   --awPoint

Describe a point


Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: awShape

awShape::getStyle()
Return shape style
awShape::getThickness()
Return shape thickness
awShape::hide()
Hide the shape
awShape::isHidden()
Is the line hidden ?
awShape::setStyle()
Change shape style
awShape::setThickness()
Change shape thickness
awShape::show()
Show the shape

Class Details

[line 129]
Describe a point



[ Top ]


Class Variables

$x =

[line 136]

X coord



Tags:

access:  public

Type:   float


[ Top ]

$y =

[line 143]

Y coord



Tags:

access:  public

Type:   float


[ Top ]



Class Methods


constructor __construct [line 151]

awPoint __construct( float $x, float $y)

Build a new awpoint



Tags:

access:  public


Parameters:

float   $x  
float   $y  

[ Top ]

method getDistance [line 201]

float getDistance( awPoint $p)

Get distance to another point



Tags:

access:  public


Parameters:

awPoint   $p   A point

[ Top ]

method getLocation [line 191]

void getLocation( array 0)

Get point location



Tags:

access:  public


Parameters:

array   0   Point location

[ Top ]

method move [line 212]

void move( Point $x, $y)

Move the point to another location



Tags:

access:  public


Parameters:

Point   $x   A Point with the new awlocation
   $y  

[ Top ]

method setLocation [line 181]

void setLocation( float $x, float $y)

Change point location



Tags:

access:  public


Parameters:

float   $x  
float   $y  

[ Top ]

method setX [line 162]

void setX( float $x)

Change X value



Tags:

access:  public


Parameters:

float   $x  

[ Top ]

method setY [line 171]

void setY( float $y)

Change Y value



Tags:

access:  public


Parameters:

float   $y  

[ Top ]


Documentation generated on Thu, 03 May 2012 15:06:11 +0200 by phpDocumentor 1.4.1