MCPcopy
hub / github.com/williamngan/pts / fromCenter

Method fromCenter

src/Op.ts:675–677  ·  view source on GitHub ↗

* Create a circle based on a center point and a radius. * @param pt center point of circle * @param radius radius of circle * @returns a Group that represents a circle

( pt:PtLike, radius:number )

Source from the content-addressed store, hash-verified

673 * @returns a Group that represents a circle
674 */
675 static fromCenter( pt:PtLike, radius:number ):Group {
676 return new Group( new Pt(pt), new Pt(radius, radius) );
677 }
678
679
680 /**

Callers 15

playButtonFunction · 0.45
recordButtonFunction · 0.45
getting_started.jsFile · 0.45
playButtonFunction · 0.45
group_segments.jsFile · 0.45
space_form.jsFile · 0.45
image_edit.jsFile · 0.45
playButtonFunction · 0.45
canvas_textbox.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected