C# 클래스 R3.Geometry.Circle3D

파일 보기 프로젝트 열기: roice3/Honeycombs 1 사용 예제들

공개 메소드들

메소드 설명
Circle3D ( ) : System.Collections.Generic
Circle3D ( Vector3D t1, Vector3D t2, Vector3D t3 ) : System.Collections.Generic
Clone ( ) : Circle3D
FromCenterAnd2Points ( Vector3D cen, Vector3D p1, Vector3D p2 ) : Circle3D
Subdivide ( int n ) : Vector3D[]

Calculate n points around the circle

ToFlatCircle ( ) : Circle

Caller is responsible to make sure our normal is in the z direction.

비공개 메소드들

메소드 설명
BaryToCartesian ( Vector3D t1, Vector3D t2, Vector3D t3, Vector3D bary ) : Vector3D

Barycentric coords to Cartesian http://stackoverflow.com/questions/11262391/from-barycentric-to-cartesian

From3Points ( Vector3D v1, Vector3D v2, Vector3D v3, Vector3D &center, double &radius ) : void

메소드 상세

Circle3D() 공개 메소드

public Circle3D ( ) : System.Collections.Generic
리턴 System.Collections.Generic

Circle3D() 공개 메소드

public Circle3D ( Vector3D t1, Vector3D t2, Vector3D t3 ) : System.Collections.Generic
t1 Vector3D
t2 Vector3D
t3 Vector3D
리턴 System.Collections.Generic

Clone() 공개 메소드

public Clone ( ) : Circle3D
리턴 Circle3D

FromCenterAnd2Points() 공개 정적인 메소드

public static FromCenterAnd2Points ( Vector3D cen, Vector3D p1, Vector3D p2 ) : Circle3D
cen Vector3D
p1 Vector3D
p2 Vector3D
리턴 Circle3D

Subdivide() 공개 메소드

Calculate n points around the circle
public Subdivide ( int n ) : Vector3D[]
n int
리턴 Vector3D[]

ToFlatCircle() 공개 메소드

Caller is responsible to make sure our normal is in the z direction.
public ToFlatCircle ( ) : Circle
리턴 Circle