Click or drag to resize

Vector2 Class

a 2d vector.
Inheritance Hierarchy
SystemObject
  Karamba.GeometryVector2

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public class Vector2

The Vector2 type exposes the following members.

Constructors
  NameDescription
Public methodVector2
Initializes a new instance of the Vector2 class. constructor.
Top
Properties
  NameDescription
Public propertyX
Gets the x-component.
Public propertyY
Gets the y-component.
Top
Methods
  NameDescription
Public methodCross
Gets the 2d cross product.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLength
Calculates the L2 norm.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators
  NameDescription
Public operatorStatic memberMultiply(Double, Vector2)
Multiplication of a vector with a scalar.
Public operatorStatic memberMultiply(Vector2, Vector2)
Gets the scalar product.
Public operatorStatic memberMultiply(Vector2, Double)
Multiplication of a vector with a scalar.
Top
See Also