Back to Website
Show / Hide Table of Contents

Class VectorInt

Inheritance
System.Object
VectorInt
Implements
IPointInt
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()
Namespace: Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.Math
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
public int X { get; }
Property Value
Type Description
System.Int32

Y

Declaration
public int Y { get; }
Property Value
Type Description
System.Int32

Zero

Declaration
public static VectorInt Zero { get; }
Property Value
Type Description
VectorInt

Methods

Add(VectorInt)

Declaration
public VectorInt Add(VectorInt other)
Parameters
Type Name Description
VectorInt other
Returns
Type Description
VectorInt

Divide(Int32)

Declaration
public VectorInt Divide(int divider)
Parameters
Type Name Description
System.Int32 divider
Returns
Type Description
VectorInt

Operators

Addition(VectorInt, VectorInt)

Declaration
public static VectorInt operator +(VectorInt a, VectorInt b)
Parameters
Type Name Description
VectorInt a
VectorInt b
Returns
Type Description
VectorInt

Division(VectorInt, Int32)

Declaration
public static VectorInt operator /(VectorInt vector, int divider)
Parameters
Type Name Description
VectorInt vector
System.Int32 divider
Returns
Type Description
VectorInt

Explicit(VectorF to VectorInt)

Declaration
public static explicit operator VectorInt(VectorF vector)
Parameters
Type Name Description
VectorF vector
Returns
Type Description
VectorInt

Implements

IPointInt
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback