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)
Axis of the cylinder will coinside with the global Z axis
void Disk(double innerRadius, double outerRadius, IEntity_DG disk)
A disk at the global x,y plane
void Sphere(double radius, IEntity_DG sphere)
void Box(double width, double height, double length, IEntity_DG box)
A box [0, width]x[0, height]x[0, length]
void Torus(double radius, double radiusTube, IEntity_DG torus)
Axis of the torus will coinside with the global Z axis
void Triangle(Point_DG pt0, Point_DG pt1, Point_DG pt2, IEntity_DG obj)
void Rectangle(double width, double height, IEntity_DG obj)
A rectangle [0, width]x[0, height] in the global x,y plane
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)
A circle in the global x,y plane
void Arc(double radius, double angle, IEntity_DG obj)
An arc of a circle in the global x,y plane with center at the global origin and angle with the X axis in range [0, angle]
void Ellipse(double a, double b, IEntity_DG obj)
An ellipse in the global x,y plane
|