AnyCAD Rapid SDK  2020
The Rapid CAD SDK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Sketch2dBuilder Class Reference

Public Member Functions

synchronized void delete ()
 

Static Public Member Functions

static TopoShape MakeLine (GPnt2d start, GPnt2d end)
 
static TopoShape MakeLine (GLin2d line, double p1, double p2)
 
static TopoShape MakeArcByLines (TopoShape line1, TopoShape line2, double radius, double tol)
 
static TopoShape MakeCircle (GCirc2d cirlce)
 
static TopoShape MakeArc (GCirc2d cirlce, double p1, double p2)
 
static TopoShape MakeElips (GElips2d elips)
 
static TopoShape MakeElipsArc (GElips2d elips, double p1, double p2)
 
static TopoShape MakeHypr (GHypr2d hypr, double p1, double p2)
 
static TopoShape MakeParab (GParab2d parab, double p1, double p2)
 
static TopoShape MakeBSpline (GPnt2dList points, boolean periodicFlag, double tolerance)
 
static TopoShape MakeBSpline (GPnt2dList poles, DoubleList knots, Uint32List multiplicities, long degree, boolean periodicFlag)
 
static TopoShape MakeBSpline (GPnt2dList poles, DoubleList knots, Uint32List multiplicities, long degree)
 
static TopoShape MakeBSpline (GPnt2dList poles, DoubleList weights, DoubleList knots, Uint32List multiplicities, long degree, boolean periodicFlag)
 
static TopoShape MakeBSpline (GPnt2dList poles, DoubleList weights, DoubleList knots, Uint32List multiplicities, long degree)
 

Protected Member Functions

 Sketch2dBuilder (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (Sketch2dBuilder obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description


Shape2dBuilder

Method to build basic shapes.

Member Function Documentation

static TopoShape Sketch2dBuilder.MakeBSpline ( GPnt2dList  points,
boolean  periodicFlag,
double  tolerance 
)
static

Interpolate a BsplineCurve passing through an array of points, with a C2
Continuity if tangency is not requested at the point.

Parameters
pointsthe points.
periodicFlagif periodic.
tolerancethe tolerance.
Returns
the shape