Click or drag to resize

Vec3d Class

represents a 3-dimensional vector or a point.
Inheritance Hierarchy
SystemObject
  Karamba.Utilities.KMeshVec3d

Namespace:  Karamba.Utilities.KMesh
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public class Vec3d

The Vec3d type exposes the following members.

Constructors
  NameDescription
Public methodVec3d
Initializes a new instance of the Vec3d class. the default constructor.
Public methodVec3d(Double, Double, Double)
Initializes a new instance of the Vec3d class. Constructs a new vector from 3 numbers.
Top
Properties
  NameDescription
Public propertyX
Gets or sets the X component of this vector.
Public propertyY
Gets or sets the Y component of this vector.
Public propertyZ
Gets or sets the Z component of this vector.
Top
Methods
  NameDescription
Public methodStatic memberCrossProduct
cross product of two vectors.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Computes a hash number that represents the current vector.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLength
Get the length of a vector.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnitize
scale vector in place to unit-size.
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Sums up two vectors.
Public operatorStatic memberDivision
divide a vector by a scalar.
Public operatorStatic memberMultiply
Scales a vector.
Public operatorStatic memberSubtraction
Subtracts one vector from another.
Top
See Also