Search
Preparing search index...
The search index is not available
vjgeo
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
vjgeo
models
Polygon
Class Polygon
Hierarchy
Polygon
Implements
IModel
Index
Constructors
constructor
Properties
data
paths
Methods
circumscribed
Radius
get
Points
Constructors
constructor
new
Polygon
(
numberOfSides
:
number
, radius
:
number
, firstCornerAngleInDegrees
?:
number
, circumscribed
?:
boolean
, data
?:
IProperties
)
:
Polygon
Parameters
numberOfSides:
number
radius:
number
Optional
firstCornerAngleInDegrees:
number
Optional
circumscribed:
boolean
Optional
data:
IProperties
Returns
Polygon
Properties
data
data
:
IProperties
paths
paths
:
IPathMap
Methods
Static
circumscribed
Radius
circumscribed
Radius
(
radius
:
number
, angleInRadians
:
number
)
:
number
Parameters
radius:
number
angleInRadians:
number
Returns
number
Static
get
Points
get
Points
(
numberOfSides
:
number
, radius
:
number
, firstCornerAngleInDegrees
?:
number
, circumscribed
?:
boolean
)
:
IPoint
[]
Parameters
numberOfSides:
number
radius:
number
Default value
firstCornerAngleInDegrees:
number
= 0
Default value
circumscribed:
boolean
= false
Returns
IPoint
[]
vjgeo.angle
vjgeo.chain
vjgeo.exporter
vjgeo.importer
vjgeo.kit
vjgeo.layout
vjgeo.measure
vjgeo.model
vjgeo.models
vjgeo.path
vjgeo.paths
vjgeo.point
vjgeo.solvers
vjgeo.units
Belt
Bezier
Curve
Bolt
Circle
Bolt
Rectangle
Db
Entity
Dogbone
Dome
Ellipse
Elliptic
Arc
Holes
Oval
Oval
Arc
Polygon
constructor
data
paths
circumscribed
Radius
get
Points
Polyline
Rectangle
Ring
Round
Rectangle
SCurve
Slot
Square
Star
Text
Bezier
_entity_
layer
Index_
Generated using
TypeDoc