Usage (signatures)
board.create('tangent', [g, copt]);
Parameters
| Name | Type | Attributes | Description |
|---|---|---|---|
g |
Glider | A glider on a line, circle, or curve. |
|
c |
JXG.GeometryElement |
<optional> |
Optional element for which the tangent is constructed |
Example
// Create a tangent providing a glider on a function graph
var c1 = board.create('curve', [function(t){return t},function(t){return t*t*t;}]);
var g1 = board.create('glider', [0.6, 1.2, c1]);
var t1 = board.create('tangent', [g1]);
Attributes
Own
none
Inherited
Members
Own
none
Inherited
Methods
Own
none
Inherited
Events
Own
none
Inherited
Throws
-
If the element cannot be constructed with the given parent objects an exception is thrown.
- Type
- Exception
Details
- Type
- JXG.Line
- Source
- base/line.js, line 2136