API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Meta.Microsoft.Help.Id
T:Tekla.Structures.Datatype.Angle

Angle Class

Provides support for angles using either the current Tekla Structures units, or user defined units
Inheritance Hierarchy
SystemObject
  Tekla.Structures.DatatypeAngle

Namespace:  Tekla.Structures.Datatype
Assembly:  Tekla.Structures.Datatype (in Tekla.Structures.Datatype.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public class Angle : IFormattable, IComparable<Angle>, 
	IEquatable<Angle>

The Angle type exposes the following members.

Properties
  Name Description
Public propertyStatic member CurrentUnitType
Gets or sets the Tekla Structures current angle type
Public property CurrentUnitValue
Gets the value of the angle in the current unit
Public propertyStatic member DecimalPlaces
Gets the number of decimal places used for angles.
Public property Degrees
Gets the angle value in degrees
Public property Radians
Gets the angle value in radians
Top
Methods
  Name Description
Public method CompareTo
Compares this angle with another angle
Public method Equals
Checks for approximate angle equality
Public methodStatic member FromCurrentUnit
Creates an angle given in the current unit type
Public methodStatic member FromDegrees
Creates an angle from a value in degrees
Public methodStatic member FromRadians
Creates an angle from a value in radians
Public methodStatic member Parse(String)
Parses the given text as an angle in the current unit type
Public methodStatic member Parse(String, IFormatProvider)
Parses the given text as an angle in the current unit type
Public methodStatic member Parse(String, IFormatProvider, AngleUnitType)
Parses the given text as an angle in the current unit type
Public method ToString
Converts the represented angle to a string in the current units
(Overrides ObjectToString.)
Public method ToString(AngleUnitType)
Converts the represented angle to a string in the given units
Public method ToString(String, IFormatProvider)
Converts the represented angle to a string with the given parameters
Public method ToString(String, IFormatProvider, AngleUnitType)
Converts the represented angle to a string with the given parameters
Public methodStatic member TryParse(String, Angle)
Parses the given text as an angle in the current unit type
Public methodStatic member TryParse(String, IFormatProvider, Angle)
Parses the given text as an angle in the current unit type
Public methodStatic member TryParse(String, IFormatProvider, AngleUnitType, Angle)
Parses the given text as an angle in the current unit type
Top
See Also