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
Type | Name | Description |
---|---|---|
System.Int32 | x | X offset amount |
System.Int32 | y | Y offset amount |
System.Int32 | z | Z offset amount |
Offset(Point3d)
Offset the current value
View Source
Declaration
public void Offset(Point3d point3d)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Graphics.Point3d | point3d | The 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
Type | Name | Description |
---|---|---|
System.Object | obj | The 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