メインコンテンツまでスキップ

Point3

Namespace: FEMur.Geometry

public struct Point3 : IEquatable<Point3>, IComparable<Point3>

Implements: System.IEquatable<FEMur.Geometry.Point3>, System.IComparable<FEMur.Geometry.Point3>

View source

Constructors​

NameSignatureSummary
Point3(double, double, double)public Point3(double x, double y, double z)—
Point3(Point3)public Point3(Point3 other)—
Point3(Vector3)public Point3(Vector3 vector)—

Properties​

NameSignatureSummary
Xpublic double X { readonly get; set; }—
Ypublic double Y { readonly get; set; }—
Zpublic double Z { readonly get; set; }—
Lengthpublic double Length { get; }—
Vector3public Vector3 Vector3 { get; }—
this[int]public double this[int index] { get; set; }—

Methods​

NameSignatureSummary
Equals(Point3)public bool Equals(Point3 other)Indicates whether the current object is equal to another object of the same type.
EqualsWithTolerance(Point3, double)public bool EqualsWithTolerance(Point3 other, double tolerance)許容誤差を考慮して2つのPoint3が等しいかを判定
DistanceTo(Point3)public double DistanceTo(Point3 other)2点間の距離を計算
Equals(object?)public override bool Equals(object? other)Indicates whether this instance and a specified object are equal.
GetHashCode()public override int GetHashCode()Returns the hash code for this instance.
CompareTo(Point3)public int CompareTo(Point3 other)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.
Add(Vector3)public void Add(Vector3 vec)—
ToString()public override string ToString()Returns the fully qualified type name of this instance.

Operators​

NameSignatureSummary
operator +(Point3, Point3)public static Point3 operator +(Point3 a, Point3 b)—
operator -(Point3, Point3)public static Point3 operator -(Point3 a, Point3 b)—
operator *(Point3, double)public static Point3 operator *(Point3 a, double scalar)—
operator *(double, Point3)public static Point3 operator *(double scalar, Point3 a)—
operator /(Point3, double)public static Point3 operator /(Point3 a, double scalar)—
operator /(double, Point3)public static Point3 operator /(double scalar, Point3 a)—
operator ==(Point3, Point3)public static bool operator ==(Point3 a, Point3 b)—
operator !=(Point3, Point3)public static bool operator !=(Point3 a, Point3 b)—