Plane 구조체
정의
평면을 3차원 공간으로 나타냅니다.Represents a plane in three-dimensional space.
public value class Plane : IEquatable<System::Numerics::Plane>
public struct Plane : IEquatable<System.Numerics.Plane>
type Plane = struct
Public Structure Plane
Implements IEquatable(Of Plane)
- 상속
- 구현
설명
행렬 변환의 경우 Vector2, Vector3 및 Vector4 인스턴스가 행으로 표시됩니다. 즉, 벡터 v는 M과 vM을 곱한 행렬로 변환됩니다.For matrix transformations, the Vector2, Vector3, and Vector4 instances are represented as rows: a vector v is transformed by a matrix M with vM multiplication.
생성자
Plane(Single, Single, Single, Single) |
법선의 X, Y, Z 구성 요소와 해당 법선에서 원점으로부터의 거리를 사용하여 Plane 개체를 만듭니다.Creates a Plane object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. |
Plane(Vector3, Single) |
지정된 법선 및 법선을 따라 원점으로부터의 거리를 사용하여 Plane 개체를 만듭니다.Creates a Plane object from a specified normal and the distance along the normal from the origin. |
Plane(Vector4) |
지정된 4차원 벡터에서 Plane 개체를 만듭니다.Creates a Plane object from a specified four-dimensional vector. |
필드
D |
해당 법선을 따라 원점으로부터 평면의 거리입니다.The distance of the plane along its normal from the origin. |
Normal |
평면의 법선 벡터입니다.The normal vector of the plane. |
메서드
CreateFromVertices(Vector3, Vector3, Vector3) |
지정된 세 점을 포함하는 Plane 개체를 만듭니다.Creates a Plane object that contains three specified points. |
Dot(Plane, Vector4) |
평면과 4차원 벡터의 내적을 계산합니다.Calculates the dot product of a plane and a 4-dimensional vector. |
DotCoordinate(Plane, Vector3) |
이 평면의 지정된 3차원 벡터와 법선 벡터의 내적과 평면의 거리(D)를 더한 값을 반환합니다.Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance (D) value of the plane. |
DotNormal(Plane, Vector3) |
이 평면의 지정된 3차원 벡터와 Normal 벡터의 내적을 반환합니다.Returns the dot product of a specified three-dimensional vector and the Normal vector of this plane. |
Equals(Object) |
이 인스턴스와 지정된 개체가 같은지 여부를 나타내는 값을 반환합니다.Returns a value that indicates whether this instance and a specified object are equal. |
Equals(Plane) |
이 인스턴스와 다른 평면 개체가 같은지 여부를 나타내는 값을 반환합니다.Returns a value that indicates whether this instance and another plane object are equal. |
GetHashCode() |
이 인스턴스의 해시 코드를 반환합니다.Returns the hash code for this instance. |
Normalize(Plane) |
법선 벡터가 정규화된 소스 평면의 법선 벡터인 새 Plane 개체를 만듭니다.Creates a new Plane object whose normal vector is the source plane's normal vector normalized. |
ToString() |
이 평면 개체의 문자열 표현을 반환합니다.Returns the string representation of this plane object. |
Transform(Plane, Matrix4x4) |
4x4 행렬로 정규화된 평면을 변형합니다.Transforms a normalized plane by a 4x4 matrix. |
Transform(Plane, Quaternion) |
쿼터니언 회전으로 정규화된 평면을 변환합니다.Transforms a normalized plane by a Quaternion rotation. |
연산자
Equality(Plane, Plane) |
두 평면이 같은지 여부를 나타내는 값을 반환합니다.Returns a value that indicates whether two planes are equal. |
Inequality(Plane, Plane) |
두 평면이 다른지 여부를 나타내는 값을 반환합니다.Returns a value that indicates whether two planes are not equal. |