|
Line3DFactoryCreateRectangle3D(Point3D, Size, Vector3D, Vector3D, Double, Color, Double, Visual3D) Method |
Creates a 3D rectangle from four connected 3D lines.
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static GeometryModel3D CreateRectangle3D(
Point3D position,
Size size,
Vector3D widthDirection,
Vector3D heightDirection,
double lineThickness,
Color lineColor,
double miterLimit,
Visual3D parentVisual3D
)
Parameters
- position Point3D
- position of the top left point of the rectangle
- size Size
- size of the rectangle
- widthDirection Vector3D
- direction of the width
- heightDirection Vector3D
- direction of the height
- lineThickness Double
- line thickness in screen coordinates
- lineColor Color
- line color
- miterLimit Double
- double value that specifies how long the edge can be before it is turned into a beveled edge (specified in number of thicknesses)
- parentVisual3D Visual3D
- parent Visual3D
Return Value
GeometryModel3DGeometryModel3D that defines the 3D rectangle
See Also