Skip to main content

Struct Point3d

Represents a 3D integer value

Assembly: MicroGraphics.dll
View Source
public struct Point3d

Properties

Empty

Create an empty / zero Point3d struct

View Source
public static Point3d Empty { get; }

X

The X value

View Source
public int X { readonly get; set; }

Y

The Y value

View Source
public int Y { readonly get; set; }

Z

The Z value

View Source
public int Z { readonly get; set; }

Length

Length

View Source
public double Length { get; }

IsEmpty

Is the struct empty / zero?

View Source
public bool IsEmpty { get; }

Methods

Offset(int, int, int)

Offset the Point3d values

View Source
public void Offset(int x, int y, int z)
Parameters
TypeNameDescription
System.Int32xX offset amount
System.Int32yY offset amount
System.Int32zZ offset amount

Offset(Point3d)

Offset the current value

View Source
public void Offset(Point3d point3d)
Parameters
TypeNameDescription
Meadow.Foundation.Graphics.Point3dpoint3dThe point3d value to offset

Equals(object)

Indicates whether this instance is equal to the specified object

View Source
public override bool Equals(object obj)
Returns

System.Boolean: True if both instances are equal, false otherwise

Parameters
TypeNameDescription
System.ObjectobjThe object instance to compare to

GetHashCode()

Returns the hash code for this instance

View Source
public override int GetHashCode()
Returns

System.Int32: An int that represents the hash code for this instance### ToString() String representation of the Point3d values

View Source
public override string ToString()
Returns

System.String: The string