Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
BuildingCoder
CmdCropToRoom
BumpRoomIndex
BuildingCoder.CmdCropToRoom.BumpRoomIndex C# (CSharp) Method
CmdCropToRoom Class Documentation
Mostrar archivo
Open project: jeremytammik/the_building_coder_samples
BumpRoomIndex()
static
private
method
Increment and return the current room index. Every call to this method increments the current room index by one. If it exceeds the number of rooms in the model, loop back to zero.
static
private
BumpRoomIndex
(
int
room_count
) :
int
room_count
int
Number of rooms in the model.
return
int
static int BumpRoomIndex( int room_count ) { ++_i; if( _i >= room_count ) { _i = 0; } return _i; }
CmdCropToRoom
BumpRoomIndex
Execute
IsElementOutsideCropBox
SectionBox