Computational geometry code bricks for JavaScript. Parents are aureooms/js-algo and aureooms/js-data-structures.
vcross( vsub( b , a ) , vsub( c , a ) ) ;
Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.
jspm install github:aureooms/js-cg # or jspm install npm:aureooms-js-cg
No install step needed for duo!
component install aureooms/js-cg
bower install aureooms-js-cg
ender add aureooms-js-cg
jam install aureooms-js-cg
spm install aureooms-js-cg --save
npm install aureooms-js-cg --save
let cg = require( "github:aureooms/js-cg" ) ; // or import cg from 'aureooms-js-cg' ;
let cg = require( "aureooms/js-cg" ) ;
let cg = require( "aureooms-js-cg" ) ;
The script tag exposes the global variable cg.
cg
<script src="bower_components/aureooms-js-cg/js/dist/cg.min.js"></script>
Alternatively, you can use any tool mentioned here.
require( [ "aureooms-js-cg" ] , function ( cg ) { ... } ) ;
js-cg
Computational geometry code bricks for JavaScript. Parents are aureooms/js-algo and aureooms/js-data-structures.
Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.
Install
jspm
duo
No install step needed for duo!
component
bower
ender
jam
spm
npm
Require
jspm
let cg = require( "github:aureooms/js-cg" ) ; // or import cg from 'aureooms-js-cg' ;
duo
let cg = require( "aureooms/js-cg" ) ;
component, ender, spm, npm
let cg = require( "aureooms-js-cg" ) ;
bower
The script tag exposes the global variable
cg
.<script src="bower_components/aureooms-js-cg/js/dist/cg.min.js"></script>
Alternatively, you can use any tool mentioned here.
jam
require( [ "aureooms-js-cg" ] , function ( cg ) { ... } ) ;
Children
Reference
Information
Code