Class VectorInt
Inheritance
System.Object
VectorInt
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Aurigma.DesignAtoms.ImageProcessing.dll
Syntax
public class VectorInt : IPointInt
Constructors
VectorInt(Int32, Int32)
Declaration
public VectorInt(int x, int y)
Parameters
| Type |
Name |
Description |
| System.Int32 |
x |
|
| System.Int32 |
y |
|
Properties
IsZero
Declaration
public bool IsZero { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Magnitude
Declaration
public float Magnitude { get; }
Property Value
| Type |
Description |
| System.Single |
|
X
Declaration
Property Value
| Type |
Description |
| System.Int32 |
|
Y
Declaration
Property Value
| Type |
Description |
| System.Int32 |
|
Zero
Declaration
public static VectorInt Zero { get; }
Property Value
Methods
Add(VectorInt)
Declaration
public VectorInt Add(VectorInt other)
Parameters
Returns
Divide(Int32)
Declaration
public VectorInt Divide(int divider)
Parameters
| Type |
Name |
Description |
| System.Int32 |
divider |
|
Returns
Operators
Addition(VectorInt, VectorInt)
Declaration
public static VectorInt operator +(VectorInt a, VectorInt b)
Parameters
Returns
Division(VectorInt, Int32)
Declaration
public static VectorInt operator /(VectorInt vector, int divider)
Parameters
| Type |
Name |
Description |
| VectorInt |
vector |
|
| System.Int32 |
divider |
|
Returns
Explicit(VectorF to VectorInt)
Declaration
public static explicit operator VectorInt(VectorF vector)
Parameters
| Type |
Name |
Description |
| VectorF |
vector |
|
Returns
Implements