Table of Contents

Struct vec3f_t

Namespace
Hi.Geom
Assembly
HiGeom.dll

Single-precision 3D vector: the 12-byte mirror of the C++ geom::vec3<float> (vec3f_t), what core.dll takes for colours and float coordinates; not merged with vec3d_t (float vs double).

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

Constructors

vec3f_t(vec3d_t)

Ctor.

public vec3f_t(vec3d_t src)

Parameters

src vec3d_t

src

vec3f_t(float, float, float)

Ctor.

public vec3f_t(float x, float y, float z)

Parameters

x float

x

y float

y

z float

z

Fields

x

x.

public float x

Field Value

float

y

y.

public float y

Field Value

float

z

z.

public float z

Field Value

float

Methods

Equals(vec3f_t)

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

public bool Equals(vec3f_t other)

Parameters

other vec3f_t

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 ==(vec3f_t, vec3f_t)

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

Parameters

left vec3f_t
right vec3f_t

Returns

bool

operator !=(vec3f_t, vec3f_t)

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

Parameters

left vec3f_t
right vec3f_t

Returns

bool