RedVector2D:
Filter:
Description
Instance methods
asPoint
Examples
redUniverse/Classes (extension)
|
Red
>
redUniverse
RedVector2D
Extension
a vector with two dimensions
See also:
redUniverseExamplesOverview
,
RedVector
,
RedVector3D
,
RedVector4D
Description
This is an optimised version of
RedVector
. It also adds the
-asPoint
method.
Instance Methods
.
asPoint
Return a
Point
.
NOTE:
This is unique for RedVector2D and is not implemented for the other RedVector classes.
Examples
a= RedVector2D[10, 20] a.asPoint
helpfile source:
HelpSource/Classes/RedVector2D.schelp
link::redUniverse/Classes/RedVector2D::