XYZ Members

The XYZ type exposes the following members.

Constructors

  NameDescription
Public methodXYZ()()()()
Creates a default XYZ with the values (0, 0, 0).
Public methodXYZ(Double, Double, Double)
Creates an XYZ with the supplied coordinates.

Methods

  NameDescription
Public methodAdd
Adds the specified vector to this vector and returns the result.
Public methodAngleOnPlaneTo
Returns the angle between this vector and the specified vector projected to the specified plane.
Public methodAngleTo
Returns the angle between this vector and the specified vector.
Public methodCrossProduct
The cross product of this vector and the specified vector.
Public methodDistanceTo
Returns the distance from this point to the specified point.
Public methodDivide
Divides this vector by the specified value and returns the result.
Public methodDotProduct
The dot product of this vector and the specified vector.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLength
Gets the length of this vector.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsAlmostEqualTo(XYZ)
Determines whether this vector and the specified vector are the same within the tolerance (1.0e-09).
Public methodIsAlmostEqualTo(XYZ, Double)
Determines whether 2 vectors are the same within the given tolerance.
Public methodIsUnitLength
The boolean value that indicates whether this vector is of unit length.
Public methodStatic memberIsWithinLengthLimits
Validates that the input point is within Revit design limits.
Public methodIsZeroLength
The boolean value that indicates whether this vector is a zero vector.
Public methodMultiply
Multiplies this vector by the specified value and returns the result.
Public methodNegate
Negates this vector.
Public methodNormalize
Returns a new XYZ whose coordinates are the normalized values from this vector.
Public methodSubtract
Subtracts the specified vector from this vector and returns the result.
Public methodToString
Gets formatted string showing (X, Y, Z) with values formatted to 9 decimal places.
(Overrides Object..::..ToString()()()().)
Public methodTripleProduct
The triple product of this vector and the two specified vectors.

Operators

  NameDescription
Public operatorStatic memberAddition
Adds the two specified vectors and returns the result.
Public operatorStatic memberDivision
Divides the specified vector by the specified value.
Public operatorStatic memberMultiply(Double, XYZ)
Multiplies the specified number and the specified vector.
Public operatorStatic memberMultiply(XYZ, Double)
Multiplies the specified number and the specified vector.
Public operatorStatic memberSubtraction
Subtracts the two specified vectors and returns the result.
Public operatorStatic memberUnaryNegation
Negates the specified vector and returns the result.

Properties

  NameDescription
Public propertyStatic memberBasisX
The basis of the X axis.
Public propertyStatic memberBasisY
The basis of the Y axis.
Public propertyStatic memberBasisZ
The basis of the Z axis.
Public propertyItem
Public propertyX
Gets the first coordinate.
Public propertyY
Gets the second coordinate.
Public propertyZ
Gets the third coordinate.
Public propertyStatic memberZero
The coordinate origin or zero vector.

See Also