Class VectorInt
Namespace: Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.Math
Assembly: Aurigma.DesignAtoms.ImageProcessing.dll
Syntax
public class VectorInt : IPointInt
Inheritance: System.Object -> VectorInt
Implements
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
VectorInt
public VectorInt(int x, int y)
Properties
Zero
public static VectorInt Zero { get; }
X
public int X { get; }
Y
public int Y { get; }
IsZero
public bool IsZero { get; }
Magnitude
public float Magnitude { get; }
Methods
Add
public VectorInt Add(VectorInt other)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.Math.VectorInt | other |
Returns
Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.Math.VectorInt
Divide
public VectorInt Divide(int divider)
Parameters
| Type | Name | Description |
|---|---|---|
System.Int32 | divider |
Returns
Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.Math.VectorInt