C# 클래스 HelixToolkit.Wpf.Ray3D

Represents a 3D ray.
파일 보기 프로젝트 열기: litdev1/LitDev 1 사용 예제들

공개 메소드들

메소드 설명
GetNearest ( System.Windows.Media.Media3D.Point3D p3 ) : System.Windows.Media.Media3D.Point3D

Gets the point on the ray that is nearest the specified point.

PlaneIntersection ( System.Windows.Media.Media3D.Point3D position, System.Windows.Media.Media3D.Vector3D normal ) : Point3D?

Finds the intersection with a plane.

PlaneIntersection ( System.Windows.Media.Media3D.Point3D position, System.Windows.Media.Media3D.Vector3D normal, System.Windows.Media.Media3D.Point3D &intersection ) : bool

Finds the intersection with a plane.

Ray3D ( ) : System.Windows.Media.Media3D

Initializes a new instance of the Ray3D class.

Ray3D ( System.Windows.Media.Media3D.Point3D p0, System.Windows.Media.Media3D.Point3D p1 ) : System.Windows.Media.Media3D

Initializes a new instance of the Ray3D class.

Ray3D ( System.Windows.Media.Media3D.Point3D o, System.Windows.Media.Media3D.Vector3D d ) : System.Windows.Media.Media3D

Initializes a new instance of the Ray3D class.

메소드 상세

GetNearest() 공개 메소드

Gets the point on the ray that is nearest the specified point.
public GetNearest ( System.Windows.Media.Media3D.Point3D p3 ) : System.Windows.Media.Media3D.Point3D
p3 System.Windows.Media.Media3D.Point3D /// The point. ///
리턴 System.Windows.Media.Media3D.Point3D

PlaneIntersection() 공개 메소드

Finds the intersection with a plane.
public PlaneIntersection ( System.Windows.Media.Media3D.Point3D position, System.Windows.Media.Media3D.Vector3D normal ) : Point3D?
position System.Windows.Media.Media3D.Point3D /// A point on the plane. ///
normal System.Windows.Media.Media3D.Vector3D /// The normal of the plane. ///
리턴 Point3D?

PlaneIntersection() 공개 메소드

Finds the intersection with a plane.
public PlaneIntersection ( System.Windows.Media.Media3D.Point3D position, System.Windows.Media.Media3D.Vector3D normal, System.Windows.Media.Media3D.Point3D &intersection ) : bool
position System.Windows.Media.Media3D.Point3D A point on the plane.
normal System.Windows.Media.Media3D.Vector3D The normal of the plane.
intersection System.Windows.Media.Media3D.Point3D The intersection point.
리턴 bool

Ray3D() 공개 메소드

Initializes a new instance of the Ray3D class.
public Ray3D ( ) : System.Windows.Media.Media3D
리턴 System.Windows.Media.Media3D

Ray3D() 공개 메소드

Initializes a new instance of the Ray3D class.
public Ray3D ( System.Windows.Media.Media3D.Point3D p0, System.Windows.Media.Media3D.Point3D p1 ) : System.Windows.Media.Media3D
p0 System.Windows.Media.Media3D.Point3D /// The p0. ///
p1 System.Windows.Media.Media3D.Point3D /// The p1. ///
리턴 System.Windows.Media.Media3D

Ray3D() 공개 메소드

Initializes a new instance of the Ray3D class.
public Ray3D ( System.Windows.Media.Media3D.Point3D o, System.Windows.Media.Media3D.Vector3D d ) : System.Windows.Media.Media3D
o System.Windows.Media.Media3D.Point3D /// The o. ///
d System.Windows.Media.Media3D.Vector3D /// The sender. ///
리턴 System.Windows.Media.Media3D