Skip to main content

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.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

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
TypeNameDescription
Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.Math.VectorIntother
Returns

Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.Math.VectorInt

Divide

public VectorInt Divide(int divider)
Parameters
TypeNameDescription
System.Int32divider
Returns

Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.Math.VectorInt

Was this page helpful?