Used for cached texture coordinates
Properties
Disposed
Indicates if this object has been disposed or the document it originally belonged to has been disposed.
HasUserData
Gets true if this class has any custom information attached to it through UserData.
IsDocumentControlled
If true this object may not be modified. Any properties or functions that attempt to modify this object when it is set to "IsReadOnly" will throw a NotSupportedException.
UserData
List of custom information that is attached to this class.
UserDictionary
Dictionary of custom information attached to this class. The dictionary is actually user data provided as an easy to use shareable set of information.
Indexers
this[]
#Gets the element at the specified index. Never call the set method, it will always throw a NotSupportedException because this list is read-only.
Parameters:
| index (int) | The zero-based index of the element to get. |
Returns: The element at the specified index.
Exceptions:
| NotSupportedException | IList implementation, this list is always read-only so calling the set method will always cause a NotSupportedException to be thrown. |
Methods
ConstructConstObject
Assigns a parent object and a sub-object index to this.
Determines whether this collection contains a specific value.
Parameters:
| item (Point3d) |
Copies the elements of the this collection to an System.Array, starting at a particular System.Array index.
Parameters:
| array (Point3d[]) | The one-dimensional System.Array that is the destination of the elements copied from this collection. The System.Array must have zero-based indexing. |
| arrayIndex (int) | The zero-based index in array at which copying begins. |
Exceptions:
| ArgumentNullException | array is null |
| ArgumentOutOfRangeException | arrayIndex is less than 0. |
| ArgumentException | The number of elements in this collection is greater than the available space from arrayIndex to the end of the destination array. |
Dispose
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.
Dispose
For derived class implementers.
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.
You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.
Also, you must call the base virtual method within your overriding method.
Parameters:
| disposing (bool) | true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer. |
EnsurePrivateCopy
public void EnsurePrivateCopy()
If you want to keep a copy of this class around by holding onto it in a variable after a command completes, call EnsurePrivateCopy to make sure that this class is not tied to the document. You can call this function as many times as you want.
Returns an enumerator that iterates through this collection.
Returns: A enumerator that can be used to iterate through this collection.
GetObjectData
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
Parameters:
| info (SerializationInfo) | The System.Runtime.Serialization.SerializationInfo to populate with data. |
| context (StreamingContext) | The destination (see System.Runtime.Serialization.StreamingContext) for this serialization. |
Determines the index of a specific point in this collection.
Parameters:
| item (Point3d) | The point (UV or UVW) to locate in this collection. |
Returns: The index of item if found in the list; otherwise, -1.
IsValidWithLog
Determines if an object is valid. Also provides a report on errors if this object happens not to be valid.
Parameters:
| log (out string) | A textual log. This out parameter is assigned during this call. |
Returns: true if this object is valid; false otherwise.
NonConstOperation
protected virtual void NonConstOperation()
For derived classes implementers.
Defines the necessary implementation to free the instance from being constant.
OnSwitchToNonConst
protected virtual void OnSwitchToNonConst()
Is called when a non-constant operation first occurs.
Parameters:
| item (Point3d) |
IList implementation, this list is always read-only so calling this will cause a NotSupportedException to be thrown.
IList implementation, this list is always read-only so calling this will cause a NotSupportedException to be thrown.
Parameters:
| item (Point3d) |
Parameters:
| index (int) |
Returns an enumerator that iterates through this collection.
Returns: A enumerator that can be used to iterate through this collection.
ToJSON
Create a JSON string representation of this object
Parameters:
| options (SerializationOptions) |
Use this method to iterate the cached texture coordinate array.
Parameters:
| index (int) | Index for the vertex to fetch. |
| u (out double) | Output parameter which will receive the U value. |
| v (out double) | Output parameter which will receive the V value. |
| w (out double) | Output parameter which will receive the W value, this is only meaningful if Dim is 3. |
Returns: Returns true if index is valid; otherwise returns false.