C# Class Revit.Samples.DirectionCalculation.FindSouthFacingBase

Base class for "Find South Facing..." utilities.
Exibir arquivo Open project: AMEE/revit

Protected Methods

Method Description
CloseFile ( ) : void

Debugging aid.

IsSouthFacing ( XYZ direction ) : bool

Identifies if a particular direction is "south-facing". This means within a range of -45 degrees to 45 degrees to the south vector (the negative Y axis).

TransformByProjectLocation ( XYZ direction ) : XYZ

Transform a direction vector by the rotation angle of the ActiveProjectLocation.

Write ( String label, Curve curve ) : void

Debugging aid.

Private Methods

Method Description
XYZToString ( XYZ point ) : String

Debugging aid.

Method Details

CloseFile() protected method

Debugging aid.
protected CloseFile ( ) : void
return void

IsSouthFacing() protected method

Identifies if a particular direction is "south-facing". This means within a range of -45 degrees to 45 degrees to the south vector (the negative Y axis).
protected IsSouthFacing ( XYZ direction ) : bool
direction XYZ The normalized direction to test.
return bool

TransformByProjectLocation() protected method

Transform a direction vector by the rotation angle of the ActiveProjectLocation.
protected TransformByProjectLocation ( XYZ direction ) : XYZ
direction XYZ The normalized direction.
return XYZ

Write() protected method

Debugging aid.
protected Write ( String label, Curve curve ) : void
label String
curve Curve
return void