C# Class R3.Geometry.Circle3D

Afficher le fichier Open project: roice3/Honeycombs Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

Circle3D() public méthode

public Circle3D ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Circle3D() public méthode

public Circle3D ( Vector3D t1, Vector3D t2, Vector3D t3 ) : System.Collections.Generic
t1 Vector3D
t2 Vector3D
t3 Vector3D
Résultat System.Collections.Generic

Clone() public méthode

public Clone ( ) : Circle3D
Résultat Circle3D

FromCenterAnd2Points() public static méthode

public static FromCenterAnd2Points ( Vector3D cen, Vector3D p1, Vector3D p2 ) : Circle3D
cen Vector3D
p1 Vector3D
p2 Vector3D
Résultat Circle3D

Subdivide() public méthode

Calculate n points around the circle
public Subdivide ( int n ) : Vector3D[]
n int
Résultat Vector3D[]

ToFlatCircle() public méthode

Caller is responsible to make sure our normal is in the z direction.
public ToFlatCircle ( ) : Circle
Résultat Circle