Drawing3d documented Class Library

xyz Members

xyz overview

Public Static (Shared) Fields

Null Gets the vecto (0,0,0)

Public Static (Shared) Methods

FromString Gets a xyz-value from a string by using Delimiter

Public Static (Shared) Operators

Addition Operator Overrides the + operator and retrieves the usual sumvector
Bitwise And Operator Calculates the cross product of "a" and "b". It obeys the screw-drive-rule,
Equality Operator Overrides the operator for controling the equality of two vectors by using epsilon as tolerance
Inequality Operator Overrides the operator != which indicates inequality
Multiplication OperatorOverloaded. Returns the dotproduct
Subtraction Operator Overrides the - operator and retrieves the usual differencevector

Public Instance Constructors

xyz Constructor Constructor for xyz, who needs initial values for x, y and z

Public Instance Fields

x x-coordinate of the Point
y y-coordinate of the Point
z z-coordinate of the Point

Public Instance Properties


Public Instance Methods

add Adds the vector p and retrieves the result
cross Calculates the vector product with p and returns this vector
dist Retrieves the distance to point p
dot Calculates the dotarproduct with p and returns this value
Equals Checks, when two points are equal. This is the case, if their coordinates are equal in the sense of Utils.Equals.
GetHashCode overrides getHashcode
GetType (inherited from Object) 
isZero Gets true if the vector is (0,0,0).
length Retrieves the length of the vector
mulOverloaded. Multiply the vector this by lam and returns this vector
normalized Normalizes the vector to the lenght 1 and returns this as resultvector.
Round Rounds the coordinates to the destinated number of "Decimals"/> to
skip Makes a vector with length Size and returns this
sub Subtract the vector p and retrieves the result
ToString Overrides the method ToString and returns a converted string, which uses the constant Utils.DoubleFormat. The three numbers are separated by Utils. Delimiter
toXY The Method omits the third coordinate.

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

xyz Class | Drawing3d.Math Namespace