CanvasMap
Getting Started Tutorials 3D Reference

Class CM3ItemPoly extends CM3Item

CM3ItemPoly Class

Represents:
- Straight lines
- Polylines
- Bezier curves

Settings include:
- ExtrusionType
- Path (aka spine)
- Crosssetion(s)
- SmoothingArray
- ScalingArray
- RotationArray


Copyright (C) 2020, Humboldt State University, Jim Graham

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see
.

Settings Group: Curve

Setting Name Type Options Default Comments
Coordinates Coordinates CMTYPE_COORDINATES {Xs:[],Ys:[],Smoothing:[]
Smoothing Smoothing CMTYPE_BOOLEAN_ARRAY null
ExtrusionType ExtrusionType CMTYPE_ENUMERATED "Flat", "Pointy", "ThreeJS" Pointy
CrossSectionAngle RadiusOfRotation CMTYPE_FLOAT 45
RadiusOfRotation RadiusOfRotation CMTYPE_FLOAT 40
DegreesPerSegment RadiusOfRotation CMTYPE_FLOAT 20
Smoothed Smoothed CMTYPE_BOOLEAN false
NumSteps NumSteps CMTYPE_INTEGER CM3ITEMPOLY_NUMSTEPS

Object Functions

Inherited From: CM3Item
ReturnsFunctionThrows
SetControlPoints()

Object Functions

SetControlPoints()