C# 클래스 Glare.Sphere3d

A sphere definition, which has a position and radius.
파일 보기 프로젝트 열기: Burton-Radons/Alexandria

공개 프로퍼티들

프로퍼티 타입 설명
Position Vector3d
Radius Double

공개 메소드들

메소드 설명
Sphere3d ( Double radius ) : System

Initialise a sphere centred at origin.

Sphere3d ( Vector3d position, Double radius ) : System

Initialise the Sphere3d.

메소드 상세

Sphere3d() 공개 메소드

Initialise a sphere centred at origin.
public Sphere3d ( Double radius ) : System
radius Double The radius of the .
리턴 System

Sphere3d() 공개 메소드

Initialise the Sphere3d.
public Sphere3d ( Vector3d position, Double radius ) : System
position Vector3d The centre of the .
radius Double The radius of the .
리턴 System

프로퍼티 상세

Position 공개적으로 프로퍼티

Get or set the centre of the Sphere3d.
public Vector3d Position
리턴 Vector3d

Radius 공개적으로 프로퍼티

Get or set the radius of the Sphere3d.
public Double Radius
리턴 Double