﻿ Geometries > SG_SPHERIC_BAND

SG_SPHERIC_BAND structure

The SG_SPHERIC_BAND structure is a presentation of a spherical band.

Has the following fields

double  BeginCoef; - initial spherical band cut coefficient

double  EndCoef      - final spherical band cut coefficient

short     MeridiansCount - the number of spherical band meridians

Explanation:

BeginCoef must be from -1 to 1. If BeginCoef=-1 the spherical band won't be cut from below

If BeginCoef=1 the spherical band won't be cut from above.

If BeginCoef=0 the spherical band will be cut by an equator of the corresponding sphere.

EndCoef must be from -1 to 1. If EndCoef=-1 the spherical band won't be cut from below

If EndCoef=1 the spherical band won't be cut from above

If EndCoef=0 the spherical band will be cut by an equator of the corresponding sphere.

BeginCoef must be less than EndCoef.

Illustration:

 BeginCoef = -0.5 EndCoef = 0.5 MeridiansCount = 5 BeginCoef = 0 EndCoef = 0.5 MeridiansCount = 10 BeginCoef = -1.0 EndCoef = 0 MeridiansCount = 24

Defined in sg3D.h