The Polyline type exposes the following members.

Constructors

  NameDescription
PolylineOverloaded.

Methods

  NameDescription
AddPoint
This method is used to add a new point to the polyline
ChangePointCoordinates
This method is used to change the coordinates of a polyline's point
CopyIModel
This method returns a copy of Polyline
(Overrides Model..::.CopyIModel()()().)
DrawHead
this method should draw the object as it would look like if we look at it through an eye located between the 2 observer eyes
(Overrides Model..::.DrawHead()()().)
DrawLeftEye
this method should draw the object as it would look like if we look at it through the observer's left eye
(Overrides Model..::.DrawLeftEye()()().)
DrawRightEye
this method should draw the object as it would look like if we look at it through the observer's right eye
(Overrides Model..::.DrawRightEye()()().)
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
MaxDistanceToObserver
This method claculates the maximun distance to the observer
(Overrides Model..::.MaxDistanceToObserver(Observer).)
MemberwiseClone (Inherited from Object.)
ToString (Inherited from Object.)

Fields

  NameDescription
_closed
This fiel tell us if this polyline is a closed polyline
_color
This field represents the polyline's color
_editing
This fiel tell us if the polyline is being edited
_editingPoint
This is the index of the polyline's point that it is being edited
_ended
This field tell us if the polyline has been finished or not
_layer
This field tell us the layer the model belongs to
(Inherited from Model.)
_points
These fields represent the list point's
_position
This vector represents the Model position
(Inherited from Model.)
_temporalPoint
This field is necesary to edit the polyline or during its drawing
_type
This field represents the polyline's type
_visibleLeftEye
This field represents if the model can be seen by the left eye
(Inherited from Model.)
_visibleRightEye
This field represents if the model can be seen by the right eye
(Inherited from Model.)
_width
This field represents the polyline's width

Properties

  NameDescription
Closed
Gets/Sets if the polyline is a closed polyline (=polygon)
Color
Gests/Sets the polyline´s color
Editing
Gets/Sets if the polyline is being edited
EditingPoint
Gets/Sets the index of the polyline's point that it is being edited
Ended
Gets/Sets if the polyline has been finished or not
HtmColor
Gets/Sets the point´s color in html format That's because a Color cannot be automatically serialized/deserialized using the .NET System.Xml.Serialization.XmlSerializer class
Layer
This field tell us the layer the model belongs to
(Inherited from Model.)
Points
Gets/Sets the polyline´s points
Position
This vector represents the Model position
(Inherited from Model.)
TemporalPoint
Gets/Sets the temporal point used during editing or drawing
Type
Gets/Sets the polyline´s type
Visible
This field represent the visibility of the model
(Inherited from Model.)
VisibleLeftEye
This field represents if the model can be seen by the left eye
(Inherited from Model.)
VisibleRightEye
This field represents if the model can be seen by the left eye
(Inherited from Model.)
Width
Gets/Sets the polyline´s width

See Also