IntersectionLine3D

Element

The line that is the intersection of two (infinite) plane elements in 3D.

Usage (signatures)
board.create('intersectionline3d', [el1, el2]);

The result will be the intersection of planes el1 and el2.

Parameters
Name Type Description
el1 Plane3D
el2 Plane3D
Example

Create the intersection line of two planes

var view = board.create(
    'view3d',
    [[-6, -3], [8, 8],
    [[-1, 3], [-1, 3], [-1, 3]]],
    {
        xPlaneRear: {visible:false},
        yPlaneRear: {visible:false},
        zPlaneRear: {fillOpacity: 0.2, gradient: null}
    }
);
var a = view.create('point3d', [2, 2, 0]);

var el1 = view.create(
   'plane3d',
    [a, [1, 0, 0], [0, 1, 0]],
    {fillColor: '#00ff80'}
);
var el2 = view.create(
   'plane3d',
    [a, [-2, 1, 1], [1, -2, 1]],
    {fillColor: '#ff0000'}
);

var i = view.create('intersectionline3d', [el1, el2]);

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.Line3D
Source
3d/linspace3d.js, line 1938

Extends