CGA Reference Index
CityEngine Help >
Page 1 of 4
CGA Shape Grammar Reference
Shape Operations
alignScopeToAxes
alignScopeToGeometry
center
color
comp
convexify
deleteUV
extrude
innerRect
i (insert)
mirror
mirrorScope
normalizeUV
NIL
offset
pop
print
projectUV
push
r (scope rotate)
report
reverseNormals
roofGable
roofHip
roofPyramid
roofShed
rotate
rotateScope
rotateUV
s (scope size)
scaleUV
scatter
set
setback
setPivot
setupProjection
shapeL
shapeU
shapeO
split
http://127.0.0.1:1581/help/topic/com.procedural.cityengine.help/html/cgareference/cgaindex.html
28/10/11
CGA Reference Index
Page 2 of 4
t (scope translate)
taper
texture
tileUV
translate
translateUV
trim
Shape Attributes
comp seedian initialShape scope material split pivot trim
Builtin Functions
Math
abs atan2 floor log10 sqrt acos ceil isinf pow tan asin cos isnan rint atan exp ln sin
Probability
p rand
Conversion
bool float sel str
String
count find len substring
Geometry
geometry.area geometry.du/dv geometry.isConcave geometry.isPlanar
http://127.0.0.1:1581/help/topic/com.procedural.cityengine.help/html/cgareference/cgaindex.html
28/10/11
CGA Reference Index
geometry.isRectangular geometry.volume geometry.nEdges geometry.nFaces geometry.nVertices
Page 3 of 4
File
fileExists fileSearch
Assets and Images
assetInfo imagesSortRatio assetsSortRatio assetsSortSize imageInfo
Occlusion
inside overlaps touches
Misc
convert
Other
Simple Types Operations version attr const import
CGA Utility Functions Library
String Utility Functions
findFirst getSuffix findLast replace getPrefix getRange
String List Utility Functions
Stringlists are a series of strings stored inside one string. The elements are separated by a semicolon (";"). The data type is "string", thus it is not any real type of array as used in other scripting languages.
http://127.0.0.1:1581/help/topic/com.procedural.cityengine.help/html/cgareference/cgaindex.html
28/10/11
CGA Reference Index
listAdd listItem listSize listClean listLast listFirst listRandom listIndex listRange
Page 4 of 4
File, Asset and Image Utility Functions
assetApproxRatio assetFitSize fileName assetApproxSize fileBasename fileRandom assetBestRatio fileDirectory imageApproxRatio assetBestSize fileExtension imageBestRatio
Misc
CGA Changelog Asset Search Builtin Assets
Copyright 2008 - 2010 Procedural Inc.
http://127.0.0.1:1581/help/topic/com.procedural.cityengine.help/html/cgareference/cgaindex.html
28/10/11