The SegmentRatioPortLocationModel type exposes the following members.

Constructors

  NameDescription
Public methodSegmentRatioPortLocationModel
Initializes a new instance of the SegmentRatioPortLocationModel class

Methods

  NameDescription
Public methodCreateFromSource
Creates the a new parameter for the specified segment index and ratio.
Public methodCreateFromTarget
Creates the a new parameter for the specified segment index counted from the target end of the edge and the provided ratio.
Public methodCreateParameter
Factory method that creates a parameter for the given port that tries to match the provided location in absolute world coordinates.
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 the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetContext
Provides a lookup context for the given combination of port and parameter.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLocation
Determines the location of the port for the given parameter.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLookup
Returns an instance that implements the given type or null.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodGet<(Of <<'(T>)>>)
Typesafe convenience method for the Lookup(Type) method.
(Defined by LookupExtensions.)
Public Extension MethodSafeGet<(Of <<'(T>)>>)
Typesafe convenience method for the Lookup(Type) method.
(Defined by LookupExtensions.)

Fields

  NameDescription
Public fieldStatic memberInstance
A static immutable global instance of this class.

See Also