lib-flex-book-com-rubenswieringa-geom-InfiniteLine.ax (swf ) [ flash ] flex
Describes a line consisting of a slope (coefficient) and an intersection-point with either the x or y axis. @author Ruben Swieringa ruben.swieringa@gmail.com www.rubenswieringa.com www.rubenswieringa.com/blog @version 1.0.0 edit 3 Before modifying and/or redistributing this class, please contact Ruben Swieringa (ruben.swieringa@gmail.com). View code documentation at: http://www.rubenswieringa.com/code/as3/flex/Geom/docs/ *
@private
@private
@private
@private
Constructor. @param xIntersection @param xCoefficient @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xIntersection @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xCoefficient @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yIntersection @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yCoefficient
Returns a Point instance that represents the coordinate at which two @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine instances intersect. Many thanks to Arno van Oordt for taking the time to explain the concept of intersection to me, check out his blog at http://blog.justgreat.nl * @internal Note that the below code is actually a slightly modified version of the intersection method from a class Arno wrote some time ago. @param line1 @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine @param line2 @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine @return A Point instance if intersections occurs, null of otherwise.
Creates an @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine at the hand of two Points. @param a Point @param b Point @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#syncToPoints() @return @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine
Returns a cloned instance of this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine. @return @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine
The String representation of this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine instance. @return String
Synchronizes this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine instance to contain two Points. @param a First Point. @param b Second Point.
Creates an @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine instance at the hand of an x-intersection and an x-coefficient. Note that this method is exactly the same as the class its constructor. @param xIntersection x-position of this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine's intersection-point with the x-axis. @param xCoefficient x-coefficient. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#createFromY() @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xIntersection @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xCoefficient @return @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine
Creates an @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine instance at the hand of an y-intersection and an y-coefficient. @param xIntersection y-position of this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine's intersection-point with the y-axis. @param xCoefficient y-coefficient. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#createFromX() @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yIntersection @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yCoefficient @return @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine
Returns the angle of this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine with the x-axis. @return Angle in radians.
Return a Point on this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine where the x-position equals the specified value. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#getPointByY() @return Point
Return a Point on this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine where the y-position equals the specified value. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#getPointByX() @return Point
Returns true if the provided Point is on this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine. @param point Point instance representing a coordinate. @param round Boolean indicating whether or not to round values before making equations. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#contains() @returns Boolean
Returns true if the provided @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine instance is parallel to this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine. @param line @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine @param round Boolean indicating whether or not to round values before making equations. @return Boolean
Returns true if the intersection-points and coefficients of both @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine instances are equal. @param line @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine @param round Boolean indicating whether or not to round values before making equations. @return Boolean
Indicates whether or not this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine instance is horizontal. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#vertical
Indicates whether or not this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine instance is vertical. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#horizontal
The x-position of the coordinate where this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine crosses the x-axis (and consequently the y-position will be equal to zero). @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xCoefficient @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yCoefficient @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yIntersection
Sets the value of the internal for the xIntersection property. This method is used internally by the @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine class and its subclasses, whereas outer classes use the public accompanying setter-method. Where the getter methods sometimes also synchronize properties to eachother (in subclasses), this method is purely for setting its own internal property. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xIntersection @private
The y-position of the coordinate where this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine crosses the y-axis (and consequently the x-position will be equal to zero). @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xCoefficient @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xIntersection @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yCoefficient
Sets the value of the internal for the yIntersection property. This method is used internally by the @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine class and its subclasses, whereas outer classes use the public accompanying setter-method. Where the getter methods sometimes also synchronize properties to eachother (in subclasses), this method is purely for setting its own internal property. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yIntersection @private
Value with which the y-position of this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine increases, relative to that with which the x-position increases. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yCoefficient @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xIntersection @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yIntersection
Sets the value of the internal for the xCoefficient property. This method is used internally by the @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine class and its subclasses, whereas outer classes use the public accompanying setter-method. Where the getter methods sometimes also synchronize properties to eachother (in subclasses), this method is purely for setting its own internal property. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xCoefficient @private
Value with which the x-position of this @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine increases, relative to that with which the y-position increases. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xCoefficient @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#xIntersection @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yIntersection
Sets the value of the internal for the yCoefficient property. This method is used internally by the @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine class and its subclasses, whereas outer classes use the public accompanying setter-method. Where the getter methods sometimes also synchronize properties to eachother (in subclasses), this method is purely for setting its own internal property. @see @ax-lib-flex-book-com-rubenswieringa-geom-InfiniteLine#yCoefficient @private
(C) Æliens 18/6/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.