Circle
Class
class GeometricItem relation material range Material, cardinality [0, 1] class Curve class ConicalCurve property a range double (64 bit), cardinality [1, 1] property segmentationParts range integer (64 bit), cardinality [0, 1] property size range double (64 bit), cardinality [0, 1] property start range double (64 bit), cardinality [0, 1] class Circle subClasses class CircleByPoints
Example (based on pure API calls)
Here you can find code snippits that show how the API call Circle can be used.
using RDF; // include at least engine.cs within your solution public void CreateCircle() { Int64 model = RDF.engine.CreateModel(); if (model != 0) { // // Classes // Int64 classCircle = RDF.engine.GetClassByName(model, "Circle"); // // Datatype Properties (attributes) // Int64 propertyRadius = RDF.engine.GetPropertyByName(model, "radius"), propertyStart = RDF.engine.GetPropertyByName(model, "start"), propertySize = RDF.engine.GetPropertyByName(model, "size"), propertySegmentationParts = RDF.engine.GetPropertyByName(model, "segmentationParts"); // // Instances (creating) // Int64 myInstanceCircle = RDF.engine.CreateInstance(classCircle, (string) null); double radius = 1.3, start = 1.57079633, size = 3.14159265; Int64 segmentationParts = 36; RDF.engine.SetDatatypeProperty(myInstanceCircle, propertyRadius, ref radius, 1); RDF.engine.SetDatatypeProperty(myInstanceCircle, propertyStart, ref start, 1); RDF.engine.SetDatatypeProperty(myInstanceCircle, propertySize, ref size, 1); RDF.engine.SetDatatypeProperty(myInstanceCircle, propertySegmentationParts, ref segmentationParts, 1); // // The resulting model can be viewed in 3D-Editor.exe // RDF.engine.SaveModel(model, "c:\\created\\myCircle.bin"); RDF.engine.CloseModel(model); } }