C# Класс Glare.Sphere2d

A sphere definition, which has a position and radius.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Position Vector2d
Radius Double

Открытые методы

Метод Описание
Sphere2d ( Double radius ) : System

Initialise a sphere centred at origin.

Sphere2d ( Vector2d position, Double radius ) : System

Initialise the Sphere3d.

Описание методов

Sphere2d() публичный Метод

Initialise a sphere centred at origin.
public Sphere2d ( Double radius ) : System
radius Double The radius of the .
Результат System

Sphere2d() публичный Метод

Initialise the Sphere3d.
public Sphere2d ( Vector2d position, Double radius ) : System
position Vector2d The centre of the .
radius Double The radius of the .
Результат System

Описание свойств

Position публичное свойство

Get or set the centre of the Sphere3d.
public Vector2d Position
Результат Vector2d

Radius публичное свойство

Get or set the radius of the Sphere3d.
public Double Radius
Результат Double