Table of Contents

Struct vec2d

Namespace
Hi.Native
Assembly
HiGeom.dll

Native vec2d.

public struct vec2d : IEquatable<vec2d>
Implements
Inherited Members
Extension Methods

Constructors

vec2d(Vec2d)

Ctor.

public vec2d(Vec2d src)

Parameters

src Vec2d

src

vec2d(double, double)

Ctor.x

public vec2d(double x, double y)

Parameters

x double

x

y double

y

Fields

x

x.

public double x

Field Value

double

y

y.

public double y

Field Value

double

Methods

Equals(vec2d)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(vec2d other)

Parameters

other vec2d

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Operators

operator ==(vec2d, vec2d)

public static bool operator ==(vec2d left, vec2d right)

Parameters

left vec2d
right vec2d

Returns

bool

operator !=(vec2d, vec2d)

public static bool operator !=(vec2d left, vec2d right)

Parameters

left vec2d
right vec2d

Returns

bool