create MethodStatic

Create moments with optional origin.

  • origin and needOrigin are quirky.
    • (undefined, true) sets up to use first incoming point as origin.
    • (origin) sets up to use that durable origin, set needsOrigin flag false
    • (origin, true) the "true" is meaningless
    • (undefined, false) makes 000 the durable origin

create(origin?: Point3d, needOrigin: boolean = false): MomentData

Parameter Type Description
origin Point3d  
needOrigin boolean  

Defined in

Last Updated: 08 January, 2020