%%PageItemTitle%% $$Members$$

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
vdgeo Class Members
See Also  Properties  Methods 
vdWebLibrary Namespace : vdgeo Class

The following tables list the members exposed by vdgeo.

Public Properties

 NameDescription
Public PropertyCURVERESOLUTION Gets and set the resolution value that is used when drawing curved entities (circles, ellipses etc). For more information check curveresolution in the VDF.chm help file.  
Public PropertyDefaultAngularEquality Get default equality used to compare angle properties.  
Public PropertyDefaultLinearEquality Get default equality used to compare linear length properties.  
Public PropertyDefaultPointEquality Get default equality used to compare Point properties.  
Public PropertyDefaultScaleEquality Get default equality used to compare scale properties.  
Public PropertyDefaultVectorEquality Get default equality used to compare Vector properties.  
Public PropertyEPSILON Returns the EPSILON used in various mathematical calculations , equal to 4.94066e-324.  
Public PropertyHALF_PI Returns the 1/2*PI value equal to 1.5707963267948.  
Public PropertyINCH_MM Returns the Inches To Millimeters calculation double equal to 25.4.  
Public PropertyPI Returns the PI value equal to 3.1415926535898;.  
Public PropertyVD_270PI Returns the 3/4*PI value equal to 4.7123889803844.  
Public PropertyVD_TWOPI Returns the 2*PI value equal to 6.2831853071796.  
Top

Public Methods

 NameDescription
Public MethodAreEqual Checks if the difference between the two numerical values is smaller or larger than the equality passed as the third parameter.  
Public MethodDegreesToRadians Converts the passed value in degress to radians.  
Public MethodDistance2D Calculates and returns the distance between the two passed points.  
Public MethodDistance3D Calculates and returns the distance between the two passed points in three dimensions.  
Public MethodFixAngle Makes sure that the angle passed as parameter is restrained between 0 and 2PI radians. Also checks if the angle is equal to one of the main angles of the circle and depending on the equality parameter, returns the fixed value whithout any digits.  
Public MethodGetAngle Calculates and returns the angle two points form. This is done by comparing the two vectors formed with starting point the 0,0,0 and ending points the two passed parameters.  
Public MethodGetPlineSegmentIndexFromPoint Finds the closed segment of the polyline a passed point  
Public MethodMidPoint Calculates and returns a point that lies in the middle of the two passed points.  
Public Methodnewpoint Creates and returns a new 3 sized Array object. The first element of the Array represents the x value of the point, the second element the y value and the third the z value.  
Public Methodnewvertex Creates and returns a new 4 sized Array object. The first element of the Array represents the x value of the vertex, the second element the y vertex, the third the z vertex and the fourth the bulge of the vertex.  
Public MethodPointInRegion Returns true if the given point is inside the region defined by the given points.  
Public MethodpointPolar Calculates and returns a vdgeo.newpoint at a given distance and angle from the passed point.  
Public MethodRadiansToDegrees Converts the passed value in radians to degrees.  
Public MethodVectorDirection Gets the direction set by two points.  
Top

See Also