DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > Model > Entities > IStdShape_DG Search Documentation


IStdShape_DG Interface

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

InteInterface for creation of basic shapes. Use IModel_DG.AddEntity() or IEntity_DG.AddChild() to add the the returned IEntity_DG interface to model of a view for it to appear in the 3D scene


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


IEntity_DG Disk(double innerRadius, double outerRadius)


IEntity_DG Sphere(double radius)


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


IEntity_DG Torus(double radius, double radiusTube)


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


IEntity_DG Rectangle(double width, double height)


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


IEntity_DG Line(Point_DG pt0, Point_DG pt1)


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


IEntity_DG Circle(double radius)


IEntity_DG Arc(double radius, double angle)


IEntity_DG Ellipse(double a, double b)