Skip to content

@simversus/yjvisDocs


@simversus/yjvis / GeometryBuilder

Variable: GeometryBuilder

const GeometryBuilder: object

Type declaration

createArrow()

createArrow: (p?) => ArrowSource

Parameters

p?: Partial<ArrowOptions>

Returns

ArrowSource

createBox()

createBox: (p?) => BoxSource

Parameters

p?: Partial<BoxOptions>

Returns

BoxSource

createCylinder()

createCylinder: (p?) => CylinderSource

Parameters

p?: Partial<CylinderOptions>

Returns

CylinderSource

createIcosahedron()

createIcosahedron: (p?) => IcosahedronSource

Parameters

p?: Partial<object>

Returns

IcosahedronSource

createPlane()

createPlane: (p?) => PlaneSource

Parameters

p?: Partial<PlaneOptions>

Returns

PlaneSource

createPolyhedron()

createPolyhedron: (p?) => PolyhedronSource

Parameters

p?: Partial<object>

Returns

PolyhedronSource

createSphere()

createSphere: (p?) => SphereSource

Parameters

p?: Partial<SphereProps>

Returns

SphereSource

createTorus()

createTorus: (p?) => TorusSource

Parameters

p?: Partial<TorusOptions>

Returns

TorusSource

Defined in

geometry/index.ts:10