Preparing search index...
The search index is not available
webcface
webcface
Geometry
Class Geometry
Index
Constructors
constructor
Properties
properties
type
Accessors
as
Box
as
Circle
as
Cylinder
as
Line
as
Plane
as
Polygon
as
Rect
as
Sphere
Constructors
constructor
new
Geometry
(
type
,
properties
)
:
Geometry
Parameters
type
:
number
properties
:
number
[]
Returns
Geometry
Properties
properties
properties
:
number
[]
type
type
:
number
Accessors
as
Box
get
asBox
(
)
:
Geometry
&
{
vertex1
:
Point
;
vertex2
:
Point
;
}
Returns
Geometry
&
{
vertex1
:
Point
;
vertex2
:
Point
;
}
as
Circle
get
asCircle
(
)
:
Geometry
&
{
origin
:
Transform
;
radius
:
number
;
}
Returns
Geometry
&
{
origin
:
Transform
;
radius
:
number
;
}
as
Cylinder
get
asCylinder
(
)
:
Geometry
&
{
length
:
number
;
origin
:
Transform
;
radius
:
number
;
}
Returns
Geometry
&
{
length
:
number
;
origin
:
Transform
;
radius
:
number
;
}
as
Line
get
asLine
(
)
:
Geometry
&
{
begin
:
Point
;
end
:
Point
;
}
Returns
Geometry
&
{
begin
:
Point
;
end
:
Point
;
}
as
Plane
get
asPlane
(
)
:
Geometry
&
{
height
:
number
;
origin
:
Transform
;
width
:
number
;
}
Returns
Geometry
&
{
height
:
number
;
origin
:
Transform
;
width
:
number
;
}
as
Polygon
get
asPolygon
(
)
:
Geometry
&
{
points
:
Point
[]
;
}
Returns
Geometry
&
{
points
:
Point
[]
;
}
as
Rect
get
asRect
(
)
:
Geometry
&
{
height
:
number
;
origin
:
Transform
;
width
:
number
;
}
Returns
Geometry
&
{
height
:
number
;
origin
:
Transform
;
width
:
number
;
}
as
Sphere
get
asSphere
(
)
:
Geometry
&
{
origin
:
Point
;
radius
:
number
;
}
Returns
Geometry
&
{
origin
:
Point
;
radius
:
number
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
properties
type
Accessors
as
Box
as
Circle
as
Cylinder
as
Line
as
Plane
as
Polygon
as
Rect
as
Sphere
webcface
Loading...