Table of Contents

Class Size3d

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

Represents a vector of 3 doubles. Go bug Tyron of you need more utility methods in this class. Open in GitHub

public class Size3d : ISize3
Inheritance
Size3d
Implements
Inherited Members
Extension Methods

Constructors

Size3d()

public Size3d()

Size3d(double, double, double)

public Size3d(double width, double height, double length)

Parameters

width double
height double
length double

Fields

Height

public double Height

Field Value

double

Length

public double Length

Field Value

double

Width

public double Width

Field Value

double

Properties

HeightAsDouble

public double HeightAsDouble { get; }

Property Value

double

HeightAsFloat

public float HeightAsFloat { get; }

Property Value

float

HeightAsInt

public int HeightAsInt { get; }

Property Value

int

LengthAsDouble

public double LengthAsDouble { get; }

Property Value

double

LengthAsFloat

public float LengthAsFloat { get; }

Property Value

float

LengthAsInt

public int LengthAsInt { get; }

Property Value

int

Volume

public double Volume { get; }

Property Value

double

WidthAsDouble

public double WidthAsDouble { get; }

Property Value

double

WidthAsFloat

public float WidthAsFloat { get; }

Property Value

float

WidthAsInt

public int WidthAsInt { get; }

Property Value

int

Methods

CanContain(Size3d)

public bool CanContain(Size3d obj)

Parameters

obj Size3d

Returns

bool

Clone()

public Size3d Clone()

Returns

Size3d