Table of Contents

Struct vec3d

Namespace
Hi.Native
Assembly
HiGeom.dll

Native vec3d.

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

Constructors

vec3d(Vec3d)

Ctor.

public vec3d(Vec3d src)

Parameters

src Vec3d

src

vec3d(double, double, double)

Ctor.x

public vec3d(double x, double y, double z)

Parameters

x double

x

y double

y

z double

z

Fields

x

x.

public double x

Field Value

double

y

y.

public double y

Field Value

double

z

z.

public double z

Field Value

double

Methods

Equals(vec3d)

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

public bool Equals(vec3d other)

Parameters

other vec3d

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.

ToString()

To representative string with format:(x,y,z).

public override string ToString()

Returns

string

Representative string

Operators

operator ==(vec3d, vec3d)

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

Parameters

left vec3d
right vec3d

Returns

bool

operator !=(vec3d, vec3d)

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

Parameters

left vec3d
right vec3d

Returns

bool