Point3D.Z Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém ou define a coordenada z desta estrutura Point3D.
public:
property double Z { double get(); void set(double value); };
public double Z { get; set; }
member this.Z : double with get, set
Public Property Z As Double
Valor da propriedade
A coordenada z dessa Point3D estrutura.
Exemplos
O exemplo a seguir mostra como definir Point3D propriedades.
// Checks if two Point3D structures are equal using the static Equals method.
Point3D point1 = new Point3D(10, 5, 1);
Point3D point2 = new Point3D(15, 40, 60);
Boolean areEqual;
areEqual = Point3D.Equals(point1, point2);
// areEqual is False
//Displaying Results
syntaxString = "areEqual = Point3D.Equals(point1, point2);";
resultType = "Boolean";
operationString = "Checking if 3D two points are equal";
ShowResults(areEqual.ToString(), syntaxString, resultType, operationString);
' Checks if two Point3D structures are equal using the static Equals method.
Dim point1 As New Point3D(10, 5, 1)
Dim point2 As New Point3D(15, 40, 60)
Dim areEqual As Boolean
areEqual = Point3D.Equals(point1, point2)
' areEqual is False
'Displaying Results
syntaxString = "areEqual = Point3D.Equals(point1, point2)"
resultType = "Boolean"
operationString = "Checking if 3D two points are equal"
ShowResults(areEqual.ToString(), syntaxString, resultType, operationString)