C# Class Glare.Sphere4d

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

Public Properties

Property Type Description
Position Vector4d
Radius Double

Public Methods

Method Description
Sphere4d ( Double radius ) : System

Initialise a sphere centred at origin.

Sphere4d ( Vector4d position, Double radius ) : System

Initialise the Sphere3d.

Method Details

Sphere4d() public method

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

Sphere4d() public method

Initialise the Sphere3d.
public Sphere4d ( Vector4d position, Double radius ) : System
position Vector4d 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 Vector4d Position
return Vector4d

Radius public property

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