JXG.Circle3D

Class

Creates a new 3D circle object. Do not use this constructor to create a 3D circle. Use JXG.View3D#create with type Circle3D instead.

Attributes

Own

none

Inherited

Members

Own

center : JXG.Point3D

Description

The circle's center. Do not set this parameter directly, as that will break JSXGraph's update system.

Type
JXG.Point3D
Source
3d/circle3d.js, line 63

curve

Description

The circle's underlying Curve3D.

Source
3d/circle3d.js, line 79

(private) frame1 : Array

Description

The first vector in an orthonormal frame for the plane the circle lies in. Do not set this parameter directly, as that will break JSXGraph's update system.

Type
Array
See
Source
3d/circle3d.js, line 89

(private) frame2 : Array

Description

The second vector in an orthonormal frame for the plane the circle lies in. Do not set this parameter directly, as that will break JSXGraph's update system.

Type
Array
See
Source
3d/circle3d.js, line 99

(private) normal : Array

Description

A normal vector of the plane the circle lies in. Do not set this parameter directly, as that will break JSXGraph's update system.

Type
Array
See
Source
3d/circle3d.js, line 74

Inherited

Methods

Own

Radius(valueopt) → {Number}

Calculates the radius of the circle.

Parameters

Name Type Attributes Description
value String | Number | function <optional>

Set new radius

Returns

The radius of the circle

Type
Number

Details

Source
3d/circle3d.js, line 198

setRadius(r) → {JXG.Circle3D}

Set a new radius, then update the board.

Parameters

Name Type Description
r String | Number | function

A string, function or number describing the new radius

Returns

Reference to this sphere

Type
JXG.Circle3D

Details

Source
3d/circle3d.js, line 185

updateFrame() → {JXG.Circle3D}

Update frame.

Returns

Reference to this sphere

Type
JXG.Circle3D

Details

Source
3d/circle3d.js, line 249

updateNormal() → {JXG.Circle3D}

Update data for normal.

Returns

Reference to this sphere

Type
JXG.Circle3D

Details

Source
3d/circle3d.js, line 226

Inherited

Events

Own

none

Inherited

Parameters

Name Type Description
view View3D

The 3D view the circle is drawn on.

center Point3D

The center of the circle.

normal Array

A normal vector of the plane the circle lies in. Must be either an array of three numbers or an array of three functions returning numbers.

radius Number | function

The radius of the circle.

attributes Object

Details

See
Source
3d/circle3d.js, line 53

Extends