Trig Class

Easy trigonometry functionality.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public class Trig
Inheritance
Object    Trig

Remarks

The official cheer of this object: "Sine cosine cosine sine, 3.14159!"

Constructors

TrigInitializes a new instance of the Trig class

Properties

EpsilonDistance Get/Set the number of decimal points used in distance epsilon values.
EpsilonRotation Get/Set the number of decimal points used to establish the epsilon value for rotations.

Methods

CalcAutoCADBulge Calculate the AutoCAD bulge of a curve and return an array of points representing lines in a segmented curve.
ClampEpsilonDistance Clamp the length value to the configured number of decimal points.
ClampEpsilonRotation Clamp the rotation value to the configured number of decimal points.
DegToRad Convert degrees to radians.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetDestPoint(FPoint, Single, Single) Return the destination coordinate.
GetDestPoint(Single, Single, Single, Single) Return the destination coordinate.
GetDestPointX Return the x coordinate of the destination point.
GetDestPointY Return the y coordinate of the destination point.
GetDirection Return the direction of the line.
GetHashCode
(Inherited from Object)
GetInsideParallelLine(FPoint, FPoint, ArcDirectionEnum, Single) Return the line parallel to the caller's, located to the inside of the edge.
GetInsideParallelLine(FPoint, FPoint, Single, WindingOrientationEnum, DrawingSpaceEnum) Return the line parallel to the caller's, located to the inside of the edge.
GetLineAdjFromAngHyp Return the length of the adjacent line from the angle and hypotenuse length.
GetLineAdjFromAngOpp Return the length of the adjacent line from the angle and opposite length.
GetLineAdjFromHypOpp Return the adjacent line from hypotenuse and opposite sides.
GetLineAngFromAdjOpp Return the angle from the adjacent and opposite lengths.
GetLineAngle(FLine) Return the angle of the specified line, in radians.
GetLineAngle(FPoint, FPoint) Return the angle of the specified line, in radians.
GetLineAngle(Single, Single, Single, Single) Return the angle of the specified line, in radians.
GetLineDistance(FLine) Return the line distance between two points.
GetLineDistance(FPoint, FPoint) Return the line distance between two points.
GetLineDistance(Single, Single, Single, Single) Return the line distance between two points.
GetLineDistance(Single, Single, Single, Single, Single, Single) Return the line distance between two points.
GetLineHypFromAdjOpp Return the hypotenuse length from adjacent and opposite sides.
GetLineHypFromAngAdj Return the length of the hypotenuse from the angle and adjacent length.
GetLineHypFromAngOpp Return the length of the hypotenuse from the angle and opposite length.
GetLineOppFromAdjHyp Return the length of the opposite line from adjacent and hypotenuse lengths.
GetLineOppFromAngAdj Return the length of the opposite line from the angle and adjacent length.
GetLineOppFromAngHyp Return the length of the opposite line from the angle and hypotenuse length.
GetPathOrientation(ListFPoint) Return the direction of point progression within the shape, in terms of whether the angle is increasing or decreasing in angle relative to a natural arc.
GetPathOrientation(ListFPoint, DrawingSpaceEnum) Return the direction of point progression within the shape, in terms of clockwise or counterclockwise rotation.
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
NormalizeRad Normalize the number of radians to a single turn.
RadToDeg Return the degrees equivalent of the specified radian value.
ReduceRad Reduce the number of radians to a single turn.
Obsolete.
SegmentCurve Segment a curve into individual lines.
ToString
(Inherited from Object)

See Also