User Tools

Site Tools


thinkgeo.mapsuite.core.cogocall

This is an old revision of the document!


ThinkGeo.MapSuite.Core.CogoCall

<!– Class –> This is an abstract class which is the basis for each of the different types of COGO calls In the abstract class we define that a call need to be able to produce a line segment as well as produce its traverse and description string.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary

Protected Constructors

Name Parameters DeclaringType Summary
Protected MethodCogoCall

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetCallLine PointShape, PointShape
Public MethodGetDescriptionString CogoDirectionType, AngleUnit This method is the concrete method which always calls the associated core method. This is used to give us, the framework designer, flexability when user override the core method.
Public MethodGetHashCode Object
Public MethodGetTraverseString CogoDirectionType, AngleUnit This method is the concrete method which always calls the associated core method. This is used to give us, the framework designer, flexability when user override the core method.
Public MethodGetType Object
Public MethodLoadFromTraverseString String, CogoDirectionType, AngleUnit This method is the concrete method which always calls the associated core method. This is used to give us, the framework designer, flexability when user override the core method.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodGetCallLineCore PointShape, PointShape
Protected MethodGetDescriptionStringCore CogoDirectionType, AngleUnit This abstract method has to be overridden in sub classes. It is responsible for converting the call into a descriptive string which will display on the call grid
Protected MethodGetTraverseStringCore CogoDirectionType, AngleUnit This abstract method has to be overridden in sub classes. It is responsible for converting the call into a traverse string used to build up the traverse file for saving
Protected MethodLoadFromTraverseStringCore String, CogoDirectionType, AngleUnit This method will populate this class from a single line of a traverse string
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyIsPointOfBeginning Boolean This porperty denotes if this call is the point of begining. This is the point from which we will begin the polygon

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

Protected Constructors

CogoCall()

Parameters

Name Type Description

Go Back

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetCallLine(PointShape, PointShape)

Return Value

Return Type Description
LineShape<!– ThinkGeo.MapSuite.Core.LineShape –>

Parameters

Name Type Description
startPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –>
backsightPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –>

<!– ThinkGeo.MapSuite.Core.CogoCall –> Go Back

GetDescriptionString(CogoDirectionType, AngleUnit)

This method is the concrete method which always calls the associated core method. This is used to give us, the framework designer, flexability when user override the core method.

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
returningDirectionType CogoDirectionType<!– ThinkGeo.MapSuite.Core.CogoDirectionType –>
returningAngleUnit AngleUnit<!– ThinkGeo.MapSuite.Core.AngleUnit –>

<!– ThinkGeo.MapSuite.Core.CogoCall –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetTraverseString(CogoDirectionType, AngleUnit)

This method is the concrete method which always calls the associated core method. This is used to give us, the framework designer, flexability when user override the core method.

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
returningDirectionType CogoDirectionType<!– ThinkGeo.MapSuite.Core.CogoDirectionType –>
returningAngleUnit AngleUnit<!– ThinkGeo.MapSuite.Core.AngleUnit –>

<!– ThinkGeo.MapSuite.Core.CogoCall –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

LoadFromTraverseString(String, CogoDirectionType, AngleUnit)

This method is the concrete method which always calls the associated core method. This is used to give us, the framework designer, flexability when user override the core method.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
traverseString String<!– System.String –>
directionType CogoDirectionType<!– ThinkGeo.MapSuite.Core.CogoDirectionType –>
angleUnit AngleUnit<!– ThinkGeo.MapSuite.Core.AngleUnit –>

<!– ThinkGeo.MapSuite.Core.CogoCall –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetCallLineCore(PointShape, PointShape)

Return Value

Return Type Description
LineShape<!– ThinkGeo.MapSuite.Core.LineShape –>

Parameters

Name Type Description
startPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –>
backsightPoint PointShape<!– ThinkGeo.MapSuite.Core.PointShape –>

<!– ThinkGeo.MapSuite.Core.CogoCall –> Go Back

GetDescriptionStringCore(CogoDirectionType, AngleUnit)

This abstract method has to be overridden in sub classes. It is responsible for converting the call into a descriptive string which will display on the call grid

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
returningDirectionType CogoDirectionType<!– ThinkGeo.MapSuite.Core.CogoDirectionType –>
returningAngleUnit AngleUnit<!– ThinkGeo.MapSuite.Core.AngleUnit –>

<!– ThinkGeo.MapSuite.Core.CogoCall –> Go Back

GetTraverseStringCore(CogoDirectionType, AngleUnit)

This abstract method has to be overridden in sub classes. It is responsible for converting the call into a traverse string used to build up the traverse file for saving

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description
returningDirectionType CogoDirectionType<!– ThinkGeo.MapSuite.Core.CogoDirectionType –>
returningAngleUnit AngleUnit<!– ThinkGeo.MapSuite.Core.AngleUnit –>

<!– ThinkGeo.MapSuite.Core.CogoCall –> Go Back

LoadFromTraverseStringCore(String, CogoDirectionType, AngleUnit)

This method will populate this class from a single line of a traverse string

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
traverseString String<!– System.String –>
directionType CogoDirectionType<!– ThinkGeo.MapSuite.Core.CogoDirectionType –>
angleUnit AngleUnit<!– ThinkGeo.MapSuite.Core.AngleUnit –>

<!– ThinkGeo.MapSuite.Core.CogoCall –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

IsPointOfBeginning

This porperty denotes if this call is the point of begining. This is the point from which we will begin the polygon

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.CogoCall –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.core.cogocall.1440040128.txt.gz · Last modified: 2015/09/17 08:57 (external edit)