Click or drag to resize
GeVector Class
Represents 3D vector.
Inheritance Hierarchy
SystemObject
  FDF.Common.GeometriesGeVector

Namespace: FDF.Common.Geometries
Assembly: FDF.Common (in FDF.Common.dll) Version: 3.0.0.0
Syntax
public class GeVector : ICloneable, IFdfQueryable, 
	IGeEquitable<GeVector>

The GeVector type exposes the following members.

Constructors
  NameDescription
Public methodGeVector
Initializes a new instance of the empty vector.
Public methodGeVector(GeCoordinate)
Initializes a new instance of the radius (position) vector between the origin and specified coordinate.
Public methodGeVector(GeVector)
Initializes a new instance based on the specified vector.
Public methodGeVector(IGeLineSegment)
Initializes a new instance of vector using specified line, assuming that the direction is from the start point to the end point, and using start point as the origin.
Public methodGeVector(Double, Double)
Initializes a new instance of the 2D vector.
Public methodGeVector(GeCoordinate, GeCoordinate)
Initializes a new instance of vector using two specified coordinates, assuming that the direction is from the tip to the tail, and using tip as the origin.
Public methodGeVector(GeVector, Double)
Initializes a new instance based on the specified vector and specified magnitude.
Public methodGeVector(IGePlane, GeVector)
Initializes a new instance of the vector using 2D plane and specified vector representing axis normal to the plane.
Public methodGeVector(Double, Double, Double)
Initializes a new instance of the 3D vector.
Public methodGeVector(GeCoordinate, GeAngle, GeAngle)
Initializes a new instance of the GeVector class
Public methodGeVector(GeCoordinate, GeCoordinate, GeCoordinate)
Initializes a new instance of the unit normal vector specified by three coordinates.
Public methodGeVector(Double, Double, Double, Double)
Initializes a new instance of the 2D vector.
Public methodGeVector(Double, Double, Double, Double, Double, Double)
Initializes a new instance of the 3D vector.
Top
Properties
  NameDescription
Public propertyIsEmpty
Returns True if object instance is considered empty, otherwise returns False.
Public propertyMagnitude
Returns vector magnitude (intensity, length or norm).
Public propertyPhi
Returns angle of this vector from X-Y plane.
Public propertyTheta
Returns angle of this vector in X-Y plane.
Public propertyX
Gets or sets X component.
Public propertyY
Gets or sets Y component.
Public propertyZ
Gets or sets Z component.
Top
Methods
  NameDescription
Public methodAngleTo(GePlane)
Returns angle in [0,2*Pi] range between orthogonal projection of this vector into specified plane and specified plane plane X-axis.
Public methodAngleTo(GeVector)
Returns angle in [0,Pi] range between this vector and specified vector.
Public methodAngleTo(GeVector, GeVector)
Returns angle in [0,2*Pi] range between this vector and specified vector, also using reference vector.
Public methodBisection
Returns angular bisector vector of this vector and specifed vector.
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodCrossProduct
Returns cross (outer) product of this vector and specified vector.
Public methodDotProduct
Returns dot (inner) product of this vector and specified vector.
Public methodStatic memberEmpty
Returns empty (zero, identity or null) vector.
Public methodEquals(GeVector)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(GeVector, GeDimensionality, GeLength, GeSpatialComparision)
Indicates whether the current object is equal to another object of the same type.
Public methodIsCodirectionalTo
Returns True if this vector is codirectional to specified vector, otherwise returns False.
Public methodIsCoplanarTo
Returns True if this vector and two other specified vectors lie in the same plane, otherwise returns False.
Public methodIsNormalized
Returns True if this vector is equal to its normalization, otherwise returns False.
Public methodIsParallelTo
Returns True if this vector is parallel to specified vector, otherwise returns False.
Public methodIsPerpendicularTo
Returns True if this vector is perpendicular to specified vector, otherwise returns False.
Public methodIsValid
Returns True if object instance is considered valid, otherwise returns False.
Public methodNegate
Returns a vector being result of this vector's negation. Resulting vector has the same magnitude as before, but its direction is now opposite.
Public methodNormalize
Returns unit vector codirectional to this vector.
Public methodPerpendicular
Returns a vector orthogonal to this vector.
Public methodPerpendicular(IGePlane)
Returns a vector orthogonal to both this vector and the specified plane normal vector. Resulting perpendicular vector sits in the specified plane.
Public methodScalarTripleProduct
Returns scalar triple (box) product of this vector and specified vectors.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodToString(Int32)
Returns a String that represents the specified ordinate ordinal (index).
Public methodToString(GeDimensionality, String, IFormatProvider)
Public methodTransform
Public methodStatic memberXAxis
Returns vector (1, 0, 0) or X-axis vector.
Public methodStatic memberYAxis
Returns vector (0, 1, 0) or Y-axis vector.
Public methodStatic memberZAxis
Returns vector (0, 0, 1) or Z-axis vector.
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Returns the sum of two vectors.
Public operatorStatic memberDivision(GeVector, GeVector)
Returns the quotient of two vectors.
Public operatorStatic memberDivision(GeVector, Double)
Returns the quotient of a vector and a scalar.
Public operatorStatic memberEquality
Returns True if two vectors are equal, otherwise returns False.
Public operatorStatic memberInequality
Returns True if two vectors are not equal, otherwise returns False.
Public operatorStatic memberMultiply(GeVector, GeVector)
Returns the product of two vectors.
Public operatorStatic memberMultiply(GeVector, Double)
Returns the product of a vector and a scalar.
Public operatorStatic memberSubtraction
Returns the difference between two vectors.
Public operatorStatic memberUnaryNegation
Returns a negated vector.
Top
Remarks