DG Kernel Documentation


Skip Navigation Links. Skip Navigation LinksHome Page > API Reference > Model > Entities > IStdShapeRef_DG

IStdShapeRef_DG Interface

In this update IStdShapeRef_DG can be queried from IModel_DG

Cylinder
Disk
Sphere
Box
Torus
Triangle
Rectangle
Polygon
Line
LineInf
Circle
Arc
Ellipse

Interface for creation and modification of basic shapes. If the last parameter is null the entity is created. Otherwise it is modified using the provided parameters.


void Cylinder(double baseRadius, double topRadius, double height, IEntity_DG cylinder)


void Disk(double innerRadius, double outerRadius, IEntity_DG disk)


void Sphere(double radius, IEntity_DG sphere)


void Box(double width, double height, double length, IEntity_DG box)


void Torus(double radius, double radiusTube, IEntity_DG torus)


void Triangle(Point_DG pt0, Point_DG pt1, Point_DG pt2, IEntity_DG obj)


void Rectangle(double width, double height, IEntity_DG obj)


void Polygon(Point_DG pt0, Point_DG pt1, Point_DG pt2, Point_DG pt3, IEntity_DG obj)


void Line(Point_DG pt0, Point_DG pt1, IEntity_DG obj)


void LineInf(Point_DG origin, Vect_DG direction, bool ray, IEntity_DG obj)


void Circle(double radius, IEntity_DG obj)


void Arc(double radius, double angle, IEntity_DG obj)


void Ellipse(double a, double b, IEntity_DG obj)