Generates the four corner vertices of a rectangle.
Namespace:
ceometric.ComputationalGeometryAssembly: ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)
Syntax
C# |
---|
public static PointSet Rectangle( double length, double width ) |
Visual Basic (Declaration) |
---|
Public Shared Function Rectangle ( _ length As Double, _ width As Double _ ) As PointSet |
Visual C++ |
---|
public: static PointSet^ Rectangle( double length, double width ) |
Parameters
- length
- Type: System..::.Double
The side length in x-direction.
- width
- Type: System..::.Double
The side length in y-direction.