C# Class Revit.SDK.Samples.NewRoof.RoofForms.CS.Util

The Util class is used to translate Revit coordination to windows coordination.
Show file Open project: AMEE/revit

Public Methods

Method Description
Translate ( Autodesk pointXYZ, BoundingBoxXYZ boundingbox ) : PointF

Translate a Revit 3D point to a windows 2D point according the boundingbox.

Method Details

Translate() public static method

Translate a Revit 3D point to a windows 2D point according the boundingbox.
public static Translate ( Autodesk pointXYZ, BoundingBoxXYZ boundingbox ) : PointF
pointXYZ Autodesk A Revit 3D point
boundingbox BoundingBoxXYZ The boundingbox of the roof whose footprint lines will be displayed in GDI.
return System.Drawing.PointF