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

Class: Circle

Source Location: /common/BasicTypes.php

Class Overview

CwSerializable
   |
   --Shape
      |
      --Circle

A circle


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Shape

Shape::getArea()
Computes the shape's area
Shape::getCenter()
Computes the shape's center
Shape::unserialize()

Class: CwSerializable

CwSerializable::__construct()
Constructor
CwSerializable::copyAllVars()
Copy all properties from one object to another (overwriting previous ones)
CwSerializable::getValue()
Returns structure's property value if property exists
CwSerializable::guessClassName()
Tries to guess the class to use from the property being unserialised.
CwSerializable::unserialize()
Unserializes from a stdClass structure
CwSerializable::unserializeArray()
Returns an array of typed values
CwSerializable::unserializeObject()
Returns an unserialized object from a stdClass structure
CwSerializable::unserializeObjectMap()
Returns an array of unserialized objects from a stdClass structure
CwSerializable::unserializeStringArray()
Returns an array of typed values from a string
CwSerializable::unserializeValue()
Returns a typed value from a structure property

Class Details

[line 569]
A circle



Tags:

author:  Florent Giraud <florent.giraud@camptocamp.com>


[ Top ]


Class Variables

$radius =

[line 587]

Radius



Tags:

access:  public

Type:   double


[ Top ]

$x =

[line 575]

Center x



Tags:

access:  public

Type:   double


[ Top ]

$y =

[line 581]

Center y



Tags:

access:  public

Type:   double


[ Top ]



Class Methods


method getArea [line 616]

double getArea( )



Tags:

access:  public
see:  Shape::getArea()


Overrides Shape::getArea() (Computes the shape's area)

[ Top ]

method getCenter [line 603]

Point getCenter( )



Tags:

access:  public
see:  Shape::getCenter()


Overrides Shape::getCenter() (Computes the shape's center)

[ Top ]

method unserialize [line 592]

void unserialize( mixed $struct)



Tags:

access:  public
see:  CwSerializable::unserialize()


Overrides Shape::unserialize() (parent method not documented)

[ Top ]


Documentation generated on Thu, 04 Sep 2008 11:39:07 +0200 by phpDocumentor 1.3.0RC3