Table of Contents

Struct Coordinates3d

Namespace
ScottPlot
Assembly
ScottPlot.dll

Represents a 3d point in coordinate space

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

Constructors

Coordinates3d(double, double, double)

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

Parameters

x double
y double
z double

Properties

AreReal

public bool AreReal { get; }

Property Value

bool

Infinity

public static Coordinates3d Infinity { get; }

Property Value

Coordinates3d

NaN

public static Coordinates3d NaN { get; }

Property Value

Coordinates3d

Origin

public static Coordinates3d Origin { get; }

Property Value

Coordinates3d

X

public double X { readonly get; set; }

Property Value

double

Y

public double Y { readonly get; set; }

Property Value

double

Z

public double Z { readonly get; set; }

Property Value

double

Methods

Coordinates2d()

public Coordinates Coordinates2d()

Returns

Coordinates

Distance(Coordinates3d)

public double Distance(Coordinates3d pt)

Parameters

pt Coordinates3d

Returns

double

DistanceSquared(Coordinates3d)

public double DistanceSquared(Coordinates3d pt)

Parameters

pt Coordinates3d

Returns

double

Equals(Coordinates3d)

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

public bool Equals(Coordinates3d other)

Parameters

other Coordinates3d

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()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

WithDelta(double, double, double)

public Coordinates3d WithDelta(double dX, double dY, double dZ)

Parameters

dX double
dY double
dZ double

Returns

Coordinates3d

Operators

operator ==(Coordinates3d, Coordinates3d)

public static bool operator ==(Coordinates3d a, Coordinates3d b)

Parameters

a Coordinates3d
b Coordinates3d

Returns

bool

operator !=(Coordinates3d, Coordinates3d)

public static bool operator !=(Coordinates3d a, Coordinates3d b)

Parameters

a Coordinates3d
b Coordinates3d

Returns

bool