City Based Parking and Routing System API Documentation

Util Members

Util overview

Public Static Properties

BlockSize The size of a block in pixels.

Public Static Methods

BezierComputePoint Calculates a point along the Bezier curve.
CurveConstantInterval Divides the curve into a series of blocks at a constant interval.
CurveLengthOverloaded. Approximates the length of a curve using the default tension cDefaultCurveTension.
Distance Calculates the length of straight line between two points.
GridAlign Aligns a PointF structure to the grid.
LeftOffsetCurve Offsets a series of points that are spaces at equal distance.
LeftOffsetLines Offsets a collection of points that together form a series lines.
LeftOffsetPoint Calculates a point that is offset to the right vb point of the vector by a specified amount.
LinesAtConstantInterval Divides a line into a series of points at constant intervals.
RandomNextOverloaded. Generates a pseudo random integer.
RandomNextDouble Generates a pseudo random double in the range of 0.0 and 1.0.
RightOffsetPoint Calculates a point that is offset to the right vb point of the vector by a specified amount.
Scale Scales a vector to the specified scale.

Protected Static Fields

_Random Random number generator
cBlockSize The default blocksize in pixels
cCurvefuStepIncrement The default step size used when approximating a curve.
cDefaultCurveTension The default tension applied to curve.

Public Instance Constructors

Util Constructor Initializes a new instance of the Util class.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Util Class | CBPRS.Infrastructure Namespace