Point2f Constructor (Double, Double)

Point2f Constructor (Double, Double)

Initializes a new two-dimensional point from two double-precision floating point numbers as coordinates.

Coordinates will be internally converted to floating point numbers. This might cause precision loss.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Point2f(
	double x,
	double y
)
Public Sub New ( 
	x As Double,
	y As Double
)

Parameters

x
Type: SystemDouble
X component of vector.
y
Type: SystemDouble
Y component of vector.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also