Skip to main content

Struct Point3d

Represents a 3D integer value

Assembly: MicroGraphics.dll​
View Source​
Declaration
public struct Point3d

Properties​

Empty​

Create an empty / zero Point3d struct

View Source​
Declaration
public static Point3d Empty { get; }

X​

The X value

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

Y​

The Y value

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

Z​

The Z value

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

Length​

Length

View Source​
Declaration
public double Length { get; }

IsEmpty​

Is the struct empty / zero?

View Source​
Declaration
public bool IsEmpty { get; }

Methods​

Offset(int, int, int)​

Offset the Point3d values

View Source​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
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​
Declaration
public override string ToString()
Returns​

System.String: The string