Image_3D
[ class tree: Image_3D ] [ index: Image_3D ] [ all elements ]

Class: Image_3D_Coordinate

Source Location: /Image_3D-0.4.0/Image/3D/Coordinate.php

Class Overview


Image_3D_Coordinate


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 1997-2005 Kore Nordmann

Methods


Child classes:

Image_3D_Light
Image_3D_Light
Image_3D_Point
Image_3D_Point
Image_3D_Vector
Image_3D_Vector

Inherited Variables

Inherited Methods


Class Details

[line 51]
Image_3D_Coordinate

Base class for coordinates eg. points in the space



[ Top ]


Method Detail

getScreenCoordinates   [line 248]

array getScreenCoordinates( )

Get screen coordinates

Return an array with the screen coordinates array ( 0 => (float) $x,

  • Return: Screen coordinates

[ Top ]

getX   [line 188]

float getX( )

Return X coordinate

Returns the X coordinate of the coordinate

  • Return: X coordinate

[ Top ]

getY   [line 202]

float getY( )

Return Y coordinate

Returns the Y coordinate of the coordinate

  • Return: Y coordinate

[ Top ]

getZ   [line 216]

float getZ( )

Return Z coordinate

Returns the Z coordinate of the coordinate

  • Return: Z coordinate

[ Top ]

isProcessed   [line 174]

bool isProcessed( )

Coordinate already processed

Return if coordinate already was processsed

  • Return: processed

[ Top ]

processed   [line 160]

void processed( )

Set Coordinate processed

Store the coordinate as processed


[ Top ]

setScreenCoordinates   [line 232]

void setScreenCoordinates( float $x, float $y)

Set precalculated screen coordinates

Store the screen coordinates calculated by the Renderer


Parameters:

float   $x     X coordinate
float   $y     X coordinate

[ Top ]

transform   [line 128]

void transform( mixed Image_3D_Matrix$matrix, [string $id = null], Image_3D_Matrix $matrix)

Transform the Coordinate

Use a transformationmatrix to transform (move) the point


Parameters:

Image_3D_Matrix   $matrix     Transformationmatrix
string   $id     Transformationid

[ Top ]


Documentation generated on Sun, 19 Mar 2006 17:00:28 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.