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

Class: awVector

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

Class Overview

awShape
   |
   --awLine
      |
      --awVector

A vector is a type of line The sense of the vector goes from $p1 to $p2.


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: awLine

awLine::__construct()
Build a new awline
awLine::build()
Build a line from 4 coords
awLine::getEquation()
Get the line equation
awLine::getLocation()
Get line location
awLine::getOrigin()
Get the line y-intercept value
awLine::getSize()
Get the line size
awLine::getSlope()
Get the line slope value
awLine::getXFrom()
Return the x coordinate of a point on the line given its y coordinate.
awLine::getYFrom()
Return the y coordinate of a point on the line given its x coordinate.
awLine::isHorizontal()
Test if the line is an horizontal line
awLine::isLeftToRight()
Returns TRUE if the line is going all the way from the left side to the right side of the polygon surrounding box.
awLine::isPoint()
Test if the line can be considered as a point
awLine::isTopToBottom()
Returns TRUE if the line is going all the way from the top to the bottom of the polygon surrounding box.
awLine::isVertical()
Test if the line is a vertical line
awLine::setLocation()
Change line location
awLine::setX()
Change X values of the line
awLine::setY()
Change Y values of the line

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 665]
A vector is a type of line The sense of the vector goes from $p1 to $p2.



[ Top ]


Class Methods


method getAngle [line 672]

float getAngle( )

Get vector angle in radians



Tags:

access:  public


[ Top ]


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