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

LocalFrame

Namespace: FEMur.Geometry

節点の局所座標系。Ex・Ey・Ez は正規直交の右手系で、コンストラクタが保証する。 既定値 default(LocalFrame) は無効なので、「全体座標」は LocalFrame? の null で表す。

public readonly struct LocalFrame : IEquatable<LocalFrame>

Implements: System.IEquatable<FEMur.Geometry.LocalFrame>

View source

Constructors​

NameSignatureSummary
LocalFrame(Vector3, Vector3)public LocalFrame(Vector3 xAxis, Vector3 xyVector)xAxis を Ex とし、xyVector を Ex に直交化して Ey とする。 Ez = Ex × Ey。

Properties​

NameSignatureSummary
XAxispublic Vector3 XAxis { get; }局所 X 軸(全体座標の単位ベクトル)
YAxispublic Vector3 YAxis { get; }局所 Y 軸(全体座標の単位ベクトル)
ZAxispublic Vector3 ZAxis { get; }局所 Z 軸(全体座標の単位ベクトル)

Methods​

NameSignatureSummary
Equals(LocalFrame)public bool Equals(LocalFrame other)Indicates whether the current object is equal to another object of the same type.
Equals(object?)public override bool Equals(object? obj)Indicates whether this instance and a specified object are equal.
GetHashCode()public override int GetHashCode()Returns the hash code for this instance.
ToString()public override string ToString()Returns the fully qualified type name of this instance.