C# Class Glare.Sphere3d

A sphere definition, which has a position and radius.
Show file Open project: Burton-Radons/Alexandria

Public Properties

Property Type Description
Position Vector3d
Radius Double

Public Methods

Method Description
Sphere3d ( Double radius ) : System

Initialise a sphere centred at origin.

Sphere3d ( Vector3d position, Double radius ) : System

Initialise the Sphere3d.

Method Details

Sphere3d() public method

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

Sphere3d() public method

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

Property Details

Position public property

Get or set the centre of the Sphere3d.
public Vector3d Position
return Vector3d

Radius public property

Get or set the radius of the Sphere3d.
public Double Radius
return Double