GO2cam Javascript API  6.11
GO2SArcCreate Class Reference

Helper class to create arc. More...

Inherits QObject.

Static Public Member Functions

static GO2SArc From3Points (GO2SXYZ p1, GO2SXYZ p2, GO2SXYZ p3)
 See GO2SArc.SetFrom3Points.
 
static GO2SArc FromAngles (GO2SXYZ center, Number radius, Number start, Number end)
 See GO2SArc.SetFromAngles.
 
static GO2SArc FromCenterStartEnd (GO2SXYZ center, GO2SXYZ start, GO2SXYZ end)
 

Detailed Description

Helper class to create arc.

Member Function Documentation

◆ FromCenterStartEnd()

static GO2SArc GO2SArcCreate::FromCenterStartEnd ( GO2SXYZ center,
GO2SXYZ start,
GO2SXYZ end )
static

See GO2SArc.SetFromCenterStartEnd

var c = new GO2SXYZ
var p1 = new GO2SXYZ(10,0,0)
var p2 = new GO2SXYZ(0,10,0)
var arc = GO2SArcCreate.FromCenterStartEnd(c, p1, p2)