CArc

object CArc

Companion object of CArc class, contains various factory methods for the construction of circular arcs.

Companion:
class
class Object
trait Matchable
class Any
CArc.type

Value members

Concrete methods

def apply(pStart: Pt2, cen: Pt2, pEnd: Pt2, counter: Int): CArc

Factory method for creating circular arcs.

Factory method for creating circular arcs.

def neg(pStart: Pt2, cen: Pt2, pEnd: Pt2): CArc

Creates a negative direction or clockwise circular arc, with an AngleVec from 0 until -360 degrees.

Creates a negative direction or clockwise circular arc, with an AngleVec from 0 until -360 degrees.

def neg(xStart: Double, yStart: Double, xCen: Double, yCen: Double, xEnd: Double, yEnd: Double): CArc

Creates a negative direction or clockwise circular arc, with an AngleVec from 0 until -360 degrees.

Creates a negative direction or clockwise circular arc, with an AngleVec from 0 until -360 degrees.

def pos(pStart: Pt2, cen: Pt2, pEnd: Pt2): CArc

Creates a positive direction or anti clockwise circular arc, with an AngleVec from 0 until 360 degrees.

Creates a positive direction or anti clockwise circular arc, with an AngleVec from 0 until 360 degrees.

def pos(xStart: Double, yStart: Double, xCen: Double, yCen: Double, xEnd: Double, yEnd: Double): CArc

Creates a negative direction or clockwise circular arc, with an AngleVec from 0 until -360 degrees.

Creates a negative direction or clockwise circular arc, with an AngleVec from 0 until -360 degrees.