Packageorg.un.flex.utils.geom
Interfacepublic interface IPoint
ImplementorsComplexNumber

Represents a generic point in any geometry. We use this to define a point in non-euclidean space
The implementation is a rewrite of Jens Kanschik's Hypergraph implementation in Java. However, apart from the general idea and some variable names, this code improves on hypergraph and also implements additional functionality. Copyright (C) 2003 Jens Kanschik, mail : jensKanschik



Public Methods
 MethodDefined by
  
clone():Object
Creates a deep copy of the Point.
IPoint
  
equals(obj:Object):Boolean
Returns true if the parameter object is equals to this and false otherwise.
IPoint
  
setTo(p:IPoint):void
Sets this point to the given point.
IPoint
  
toString():String
Returns a String representation of the point.
IPoint
Method detail
clone()method
public function clone():Object

Creates a deep copy of the Point.

Returns
Object — A deep copy of the Point.
equals()method 
public function equals(obj:Object):Boolean

Returns true if the parameter object is equals to this and false otherwise.

Parameters
obj:Object — Any object.

Returns
Boolean — True if obj equals this.
setTo()method 
public function setTo(p:IPoint):void

Sets this point to the given point.

Parameters
p:IPoint — The new point.
toString()method 
public function toString():String

Returns a String representation of the point.

Returns
String — A String in appropriate format.