CurveObject Class |
Namespace: Rhino.DocObjects
The CurveObject type exposes the following members.
Name | Description | |
---|---|---|
![]() | Attributes |
Gets or sets the object attributes.
(Inherited from RhinoObject.) |
![]() | CurveGeometry | |
![]() | Document |
Gets the document that owns this object.
(Inherited from RhinoObject.) |
![]() | Geometry |
Gets the underlying geometry for this object.
(Inherited from RhinoObject.)All rhino objects are composed of geometry and attributes. |
![]() | GripsOn | Gets or sets the activation state of object default editing grips. (Inherited from RhinoObject.) |
![]() | GripsSelected |
true if grips are turned on and at least one is selected.
(Inherited from RhinoObject.) |
![]() | GroupCount | Number of groups object belongs to. (Inherited from RhinoObject.) |
![]() | HasDynamicTransform |
True if the object has a dynamic transformation
(Inherited from RhinoObject.) |
![]() | Id |
Every object has a Guid (globally unique identifier, also known as UUID, or universally
unique identifier). The default value is Guid.Empty.
(Inherited from RhinoObject.)When an object is added to a model, the value is checked. If the value is Guid.Empty, a new Guid is created. If the value is not null but it is already used by another object in the model, a new Guid is created. If the value is not Guid.Empty and it is not used by another object in the model, then that value persists. When an object is updated, by a move for example, the value of ObjectId persists. This value is the same as the one returned by this.Attributes.ObjectId. |
![]() | IsDeletable |
Some objects cannot be deleted, like grips on lights and annotation objects.
(Inherited from RhinoObject.) |
![]() | IsDeleted |
true if the object is deleted. Deleted objects are kept by the document
for undo purposes. Call RhinoDoc.UndeleteObject to undelete an object.
(Inherited from RhinoObject.) |
![]() | IsHidden |
An object must be in one of three modes: normal, locked or hidden.
If an object is in normal mode, then the object's layer controls visibility
and selectability. If an object is locked, then the object's layer controls
visibility by the object cannot be selected. If the object is hidden, it is
not visible and it cannot be selected.
(Inherited from RhinoObject.) |
![]() | IsInstanceDefinitionGeometry |
true if the object is used as part of an instance definition.
(Inherited from RhinoObject.) |
![]() | IsLocked |
An object must be in one of three modes: normal, locked or hidden.
If an object is in normal mode, then the object's layer controls visibility
and selectability. If an object is locked, then the object's layer controls
visibility by the object cannot be selected. If the object is hidden, it is
not visible and it cannot be selected.
(Inherited from RhinoObject.) |
![]() | IsNormal |
An object must be in one of three modes: normal, locked or hidden.
If an object is in normal mode, then the object's layer controls visibility
and selectability. If an object is locked, then the object's layer controls
visibility by the object cannot be selected. If the object is hidden, it is
not visible and it cannot be selected.
(Inherited from RhinoObject.) |
![]() | IsReference |
Gets a value indicating if an object is a reference object. An object from a work session
reference model is a reference object and cannot be modified. An object is
a reference object if, and only if, it is on a reference layer.
(Inherited from RhinoObject.) |
![]() | IsValid |
Tests an object to see if its data members are correctly initialized.
(Inherited from RhinoObject.) |
![]() | Name |
Rhino objects have optional text names. More than one object in
a model can have the same name and some objects may have no name.
(Inherited from RhinoObject.) |
![]() | ObjectType |
Gets the Rhino-based object type.
(Inherited from RhinoObject.) |
![]() | RenderMaterial |
Gets the render material associated with this object or null if there
is none. This does not pay attention to the material source and will
not check parent objects or layers for a RenderMaterial.
(Inherited from RhinoObject.) |
![]() | RuntimeSerialNumber |
Gets the objects runtime serial number.
(Inherited from RhinoObject.) |
![]() | Visible | Gets the object visibility. (Inherited from RhinoObject.) |
Name | Description | |
---|---|---|
![]() ![]() | CommitChanges |
Moves changes made to this RhinoObject into the RhinoDoc.
(Inherited from RhinoObject.) |
![]() | CreateMeshes |
Create meshes used to render and analyze surface and polysrf objects.
(Inherited from RhinoObject.) |
![]() | DuplicateCurveGeometry | |
![]() ![]() | DuplicateGeometry |
Constructs a deep (full) copy of the geometry.
(Inherited from RhinoObject.) |
![]() | EnableCustomGrips | Turns on/off the object's editing grips. (Inherited from RhinoObject.) |
![]() | EnableVisualAnalysisMode |
Used to turn analysis modes on and off.
(Inherited from RhinoObject.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetActiveVisualAnalysisModes |
Gets a list of currently enabled analysis modes for this object.
(Inherited from RhinoObject.) |
![]() | GetDynamicTransform |
While an object is being dynamically tranformed (dragged, rotated, ...),
the current transformation can be retrieved and used for creating
dynamic display.
(Inherited from RhinoObject.) |
![]() | GetGrips |
Returns grips for this object If grips are enabled. If grips are not
enabled, returns null.
(Inherited from RhinoObject.) |
![]() | GetGroupList |
Allocates an array of group indices of length GroupCount.
If GroupCount is 0, then this method returns null.
(Inherited from RhinoObject.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetHighlightedSubObjects |
Gets a list of all highlighted subobjects.
(Inherited from RhinoObject.) |
![]() | GetMaterial |
Gets material that this object uses based on it's attributes and the document
that the object is associated with. In the rare case that a document is not
associated with this object, null will be returned.
(Inherited from RhinoObject.) |
![]() | GetMeshes |
Get existing meshes used to render and analyze surface and polysrf objects.
(Inherited from RhinoObject.) |
![]() | GetRenderMaterial |
Gets the RenderMaterial that this object uses based on it's attributes
and the document that the object is associated with. If there is no
RenderMaterial associated with this object then null is returned. If
null is returned you should call GetMaterial to get the material used
to render this object.
(Inherited from RhinoObject.) |
![]() | GetRenderMeshParameters |
Meshing parameters that this object uses for generating render meshes. If the
object's attributes do not have custom meshing parameters, then the document's
meshing parameters are used.
(Inherited from RhinoObject.) |
![]() | GetRenderPrimitiveList |
Build custom render mesh(es) for this object.
(Inherited from RhinoObject.) |
![]() | GetSelectedSubObjects | Get a list of all selected sub-objects. (Inherited from RhinoObject.) |
![]() | GetSubObjects |
Gets an array of sub-objects.
(Inherited from RhinoObject.) |
![]() | GetTextureChannels |
Get a list of the texture mapping channel Id's associated with object.
(Inherited from RhinoObject.) |
![]() | GetTextureMapping(Int32) | (Inherited from RhinoObject.) |
![]() | GetTextureMapping(Int32, Transform) |
Get objects texture mapping
(Inherited from RhinoObject.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Highlight |
Modifies the highlighting of the object.
(Inherited from RhinoObject.) |
![]() | HighlightSubObject |
Highlights a subobject.
(Inherited from RhinoObject.) |
![]() | InVisualAnalysisMode |
Reports if any visual analysis mode is currently active for an object.
(Inherited from RhinoObject.) |
![]() | InVisualAnalysisMode(VisualAnalysisMode) |
Reports if a visual analysis mode is currently active for an object.
(Inherited from RhinoObject.) |
![]() | IsActiveInViewport |
Determine if this object is active in a particular viewport.
(Inherited from RhinoObject.) |
![]() | IsHighlighted | Check highlight state. (Inherited from RhinoObject.) |
![]() | IsMeshable |
Returns true if the object is capable of having a mesh of the specified type
(Inherited from RhinoObject.) |
![]() | IsSelectable | Reports if an object can be selected. (Inherited from RhinoObject.) |
![]() | IsSelectable(Boolean, Boolean, Boolean, Boolean) | Reports if an object can be selected. (Inherited from RhinoObject.) |
![]() | IsSelected | Check selection state. (Inherited from RhinoObject.) |
![]() | IsSubObjectHighlighted |
Determines if a subobject is highlighted.
(Inherited from RhinoObject.) |
![]() | IsSubObjectSelectable | Reports if a subobject can be selected. (Inherited from RhinoObject.) |
![]() | IsSubObjectSelected | Check sub-object selection state. (Inherited from RhinoObject.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MemoryEstimate |
Computes an estimate of the number of bytes that this object is using in memory.
Note that this is a runtime memory estimate and does not directly compare to the
amount of space take up by the object when saved to a file.
(Inherited from RhinoObject.) |
![]() | MeshCount |
RhinoObjects can have several different types of meshes and
different numbers of meshes. A b-rep can have a render and
an analysis mesh on each face. A mesh object has a single
render mesh and no analysis mesh. Curve, point, and annotation
objects have no meshes.
(Inherited from RhinoObject.) |
![]() | OnAddToDocument |
This call informs an object it is about to be added to the list of
active objects in the document.
(Inherited from RhinoObject.) |
![]() | OnDeleteFromDocument |
This call informs an object it is about to be deleted.
Some objects, like clipping planes, need to do a little extra cleanup
before they are deleted.
(Inherited from RhinoObject.) |
![]() | OnDraw |
Called when Rhino wants to draw this object
(Inherited from RhinoObject.) |
![]() | OnDuplicate |
Called when this a new instance of this object is created and copied from
an existing object
(Inherited from RhinoObject.) |
![]() | OnPick |
Called to determine if this object or some sub-portion of this object should be
picked given a pick context.
(Inherited from RhinoObject.) |
![]() | OnPicked |
Called when this object has been picked
(Inherited from RhinoObject.) |
![]() | OnSelectionChanged |
Called when the selection state of this object has changed
(Inherited from RhinoObject.) |
![]() | OnSpaceMorph |
Called when a space morph has been applied to the geometry.
Currently this only works for CustomMeshObject instances
(Inherited from RhinoObject.) |
![]() | OnTransform |
Called when a transformation has been applied to the geometry
(Inherited from RhinoObject.) |
![]() ![]() | Select(Boolean) | Selects an object. (Inherited from RhinoObject.) |
![]() | Select(Boolean, Boolean) | Selects an object. (Inherited from RhinoObject.) |
![]() | Select(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) | Selects an object. (Inherited from RhinoObject.) |
![]() | SelectSubObject | Reports if an object can be selected. (Inherited from RhinoObject.) |
![]() | ShortDescription |
Gets a localized short descriptive name of the object.
(Inherited from RhinoObject.) |
![]() | SupportsRenderPrimitiveList |
Determines if custom render meshes will be built for a particular object.
(Inherited from RhinoObject.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryGetRenderPrimitiveBoundingBox |
Get the bounding box for the custom render meshes associated with this
object.
(Inherited from RhinoObject.) |
![]() | UnhighlightAllSubObjects |
Removes highlighting from all subobjects.
(Inherited from RhinoObject.) |
![]() | UnselectAllSubObjects |
Removes selection from all subobjects.
(Inherited from RhinoObject.) |