Click or drag to resize

Point3 Structure

3 dimensional point.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
[SerializableAttribute]
public struct Point3 : IEquatable<Point3>, 
	IComparable<Point3>

The Point3 type exposes the following members.

Constructors
  NameDescription
Public methodPoint3(Vec3d)
Initializes a new instance of the Point3 struct. Create point from a c++ vector.
Public methodPoint3(Point3)
Initializes a new instance of the Point3 struct. Create point from another point..
Public methodPoint3(Vector3)
Initializes a new instance of the Point3 struct. Create point from vector.
Public methodPoint3(Double, Double, Double)
Initializes a new instance of the Point3 struct. Create point.
Top
Properties
  NameDescription
Public propertyIsNaN
Gets a value indicating whether this point is NaN point.
Public propertyItem
Gets or sets a point component at the given index.
Public propertyLength
Gets the length of vector.
Public propertyStatic memberNaP
Gets an invalid point. (Not a point).
Public propertySqLength
Gets the squared length of vector.
Public propertyvec3d
Gets the C#-vector from a C++-vector.
Public propertyX
Gets or sets the X-coordinate.
Public propertyY
Gets or sets the Y-coordinate.
Public propertyZ
Gets or sets the Z-coordinate.
Public propertyStatic memberZero
Gets the zero vector.
Top
Methods
  NameDescription
Public methodCompareTo
compares two points.
Public methodDistanceTo
Get distance to point.
Public methodDistanceToSquared
Returns the squared distance to other point.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Point3)
test whether another point is equal to this point.
Public methodEquals(Point3, Double)
check whether another vector is equal to this vector within a given tolerance.
Public methodGetHashCode
generate hash-code for the point.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.)
Public methodToVector3
Converts to Vector3.
Public methodTransform
Transforms a point.
Top
Operators
  NameDescription
Public operatorStatic memberAddition(Point3, Point3)
Add two points.
Public operatorStatic memberAddition(Point3, Vector3)
Add vector to point.
Public operatorStatic memberDivision
Divide point by constant.
Public operatorStatic memberEquality
Compares vectors for equality.
Public operatorStatic memberGreaterThan
Compare two points for greater than.
Public operatorStatic memberInequality
Compares two points for not equal.
Public operatorStatic memberLessThan
Compare points for smaller than.
Public operatorStatic memberMultiply(Double, Point3)
Multiply point by constant.
Public operatorStatic memberMultiply(Point3, Double)
Multiply point by constant.
Public operatorStatic memberSubtraction(Point3, Point3)
Subtract two points to get a vector.
Public operatorStatic memberSubtraction(Point3, Vector3)
Substract vector from point.
Top
Extension Methods
  NameDescription
Public Extension MethodConvert
Converts to Rhino's Point3d.
(Defined by ToRhino.)
Public Extension MethodConvertToFebVec3d
Converts to Vec3d.
(Defined by ToFeb.)
Top
See Also