Point3d Class

Class used to hold a simple 3d point.
Public Class Point3d 
Implements IPosition3d, _ 
IComparable
This language is not supported or no code example is available.
public class Point3d : IPosition3d
IComparable
This language is not supported or no code example is available.
public ref class Point3d  : public IPosition3d^, 
public IComparable^
This language is not supported or no code example is available.
public class Point3d 
implements IPosition3d
IComparable
This language is not supported or no code example is available.
Name Description
Public constructor Point3d() Creates a 3d point at world origo x=y=z=0.0;
Public constructor Point3d(Point2d)
Public constructor Point3d(Point3d) Copy constructor.
Public constructor Point3d(double, double, double) Constructor to create a point with given x,y,z.
Top
Name Description
Public property Static Origo The point (0, 0, 0).
Public property X
Public property Y
Public property Z
Top
Methods
 
Name Description
Public method CompareTo(object) Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public method Distance(Point3d) Computes the distance from this point to another point.
Public method GetRotated(double, Point3d, Vector3d, bool) Returns a copy of this point rotated 'angle' radians about 'axis'.
Public method Interpolate(Point3d, double)
Public method Scale(double, double, double)
Public method SquaredDistance(Point3d) Computes the squared distance from this point to another point.
Public method ToString() Returns a string that represents the current object.
Public method ToVector()
Public method Transform(Matrix3d) Transforms the 3d point with a matrix in-place.
Public method Translate(double, double, double)
Public method WriteAutoCADScript(StreamWriter, int)
Top
Name Description
Operator Static Addition
Operator Static Addition Computes a new point which is a point translated by a vector.
Operator Static Division
Operator Static Multiply
Operator Static Multiply
Operator Static Subtraction Computes a new point which is a point translated by the negation of a vector.
Operator Static Subtraction Subtract two points, with a vector as result.
Top
Fields
 
Name Description
Public field Tag User data for this object. This can be used freely for any purpose. ///
Public field x The x component of the point left public for fast acess.
Public field y The y component of the point left public for fast acess.
Public field z The z component of the point left public for fast acess.
Top
IGS.Genamo.Point3d

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition