Click or drag to resize

Geometry Class

Represents an object that manages geometric calculations.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCAD.GeometryGeometry

Namespace:  RootPro.RootProCAD.Geometry
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class Geometry

The Geometry type exposes the following members.

Constructors
  NameDescription
Protected methodGeometry
Initializes a new instance of the Geometry class
Top
Methods
  NameDescription
Public methodContainsPointInPolygon
Determine if coordinates are included in the specified polygon.
Public methodCreatePoint
Create a "Point2d structure representing coordinates.
Public methodDegreeToRadian
Convert angle (degrees) to radians.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAngle(Point2d, Point2d)
Get the angle (Degree) between two points.
Public methodGetAngle(Point2d, Point2d, Point2d)
Get the angle (Degree) between the line connecting the center point and the starting point and the line connecting the center point and the end point.
Public methodGetDistance
Get the distance between two points.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMiddlePoint
Get the midpoint between two points.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsParameterEquals
Determine whether two parameters can be considered to be the same.
Public methodIsPointEquals
Determine if the two coordinates can be considered identical.
Public methodIsRadianEquals
Determine whether two angles (radian) can be regarded as the same.
Public methodIsScaleEquals
Determine whether the two magnifications can be regarded as the same.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMovePoint
Move the coordinates.
Public methodRadianToDegree
Convert angle (radian) to degrees.
Public methodRotatePoint
Rotate the coordinates.
Public methodScalePoint
Zooms in or out the coordinates.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrapAngleTo2PI
Correct angle (radian) to 0 or more and less than 2 * PI.
Public methodWrapAngleTo360
Correct angle (degree) to 0 degrees or more and less than 360 degrees.
Top
Fields
  NameDescription
Public fieldStatic memberPI
Get Pi.
Top
See Also