Skip to content

Commit

Permalink
Update source
Browse files Browse the repository at this point in the history
  • Loading branch information
karimi committed Sep 12, 2023
1 parent fb219fc commit 14cb087
Showing 1 changed file with 250 additions and 4 deletions.
254 changes: 250 additions & 4 deletions quasar_site/src/api_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -76675,7 +76675,7 @@
"namespace": "Rhino.Geometry.Collections",
"name": "SubDVertexList",
"dataType": "class",
"summary": "Provides access to the vertices and vertex-related functionality of a SubD",
"summary": "Provides access to all the vertices and vertex-related functionality of a SubD",
"constructors": [
{
"signature": "SubDVertexList()",
Expand Down Expand Up @@ -111031,9 +111031,29 @@
{
"name": "surfacePoints",
"type": "Point3d[]",
"summary": "point for limit surface to interpolate. surface_points[i] is the location for the i-th vertex returned by SubVertexIterator vit(this)"
"summary": "Points for limit surface to interpolate. surface_points[i] is the location for the i-th vertex returned by SubVertexIterator vit(this)"
}
]
],
"returns": "True on success"
},
{
"signature": "System.Boolean InterpolateSurfacePoints(System.UInt32[] vertexIndices, Point3d[] surfacePoints)",
"protected": false,
"summary": "Modifies the SubD so that the SubD vertex limit surface points of the listed vertices are equal to surface_points[].",
"since": "8.0",
"parameters": [
{
"name": "vertexIndices",
"type": "System.UInt32[]",
"summary": "Ids of the vertices to interpolate. Other vertices remain fixed."
},
{
"name": "surfacePoints",
"type": "Point3d[]",
"summary": "Points for limit surface to interpolate. surface_points[i] is the location for the vertex returned by this.Vertices.Find(vertexIndices[i])."
}
],
"returns": "True on success"
},
{
"signature": "System.Boolean MergeAllCoplanarFaces(System.Double tolerance, System.Double angleTolerance)",
Expand Down Expand Up @@ -112159,7 +112179,7 @@
{
"signature": "Vector3d ControlNetCenterNormal",
"protected": false,
"summary": "When the face's control net polygon is planar, the face's control net normal is a unit vector perpindicular to the plane that points outwards. If the control net polygon is not planar, the control net normal is control net normal is a unit vector that is the average of the control polygon's corner normals.",
"summary": "When the face's control net polygon is planar, the face's control net normal is a unit vector perpendicular to the plane that points outwards. If the control net polygon is not planar, the control net normal is control net normal is a unit vector that is the average of the control polygon's corner normals.",
"since": "8.0",
"property": ["get"]
},
Expand Down Expand Up @@ -112366,6 +112386,232 @@
}
]

},
{
"namespace": "Rhino.Geometry",
"name": "SubDSurfaceInterpolator",
"dataType": "class",
"summary": "Interpolate some or all of the vertices limit surface positions in a SubD to specified locations. NB: It is recommended not to use these methods to interpolate more than 1000 vertices. <b>SubD.SetVertexSurfacePoint(uint, Point3d)</b> <b>SubD.InterpolateSurfacePoints(Point3d[])</b> <b>SubD.InterpolateSurfacePoints(uint[], Point3d[])</b> <b>SubDVertex.SurfacePoint()</b>",
"interfaces": ["IDisposable"],
"constructors": [
{
"signature": "SubDSurfaceInterpolator()",
"protected": false,
"summary": "Initialize an empty SubDSurfaceInterpolator.",
"since": "8.0"
}
],
"properties": [
{
"signature": "static uint MaximumRecommendedInterpolatedVertexCount",
"protected": false,
"summary": "Interpolation requires building a solver. We estimate that this solver will work in reasonnable time if the number of interplolated vertices is smaller than MaximumInterpolatedVertexCount. However, given sufficient time, memory, and CPU resources, the code will work with any value. In version 8.0, this value is 1000.",
"since": "8.0",
"property": ["get"]
},
{
"signature": "Guid ContextId",
"protected": false,
"summary": "The context assigned id. This id is provided for applications using ON_SubDSurfaceInterpolator. It is not inspected or used in any part of the interpolation setup or calculations.",
"since": "8.0",
"remarks": "In Rhino, when an interpolator is being used to modify a CRhinoSubDObject, this id is often the Rhino object id.",
"property": ["get", "set"]
}
],
"methods": [
{
"signature": "static SubDSurfaceInterpolator CreateFromMarkedVertices(SubD subd, System.Boolean interpolatedVerticesMark, out System.UInt32 freeVertexCount)",
"protected": false,
"summary": "Create an interpolator where all the marked vertices (unmarked if interpolatedVerticesMark is false) in the SubD are free vertices in the linear system used for interpolation, and the unmarked (marked if interpolatedVerticesMark is false) are fixed to their initial positions. Free vertices are can move as a result of the interpolation, and can receive an interpolation target location.",
"since": "8.0",
"remarks": "Sets <b>ContextId</b> to the Guid of the Rhino SubD object for subd.",
"parameters": [
{
"name": "subd",
"type": "SubD",
"summary": "The SubD to use for interpolation"
},
{
"name": "interpolatedVerticesMark",
"type": "System.Boolean",
"summary": "If True, marked vertices will be considered free, and unmarked vertices will be fixed."
},
{
"name": "freeVertexCount",
"type": "System.UInt32",
"summary": "The number of free vertices in the system"
}
],
"returns": "A new SubDSurfaceInterpolator"
},
{
"signature": "static SubDSurfaceInterpolator CreateFromSelectedVertices(SubD subd, out System.UInt32 freeVertexCount)",
"protected": false,
"summary": "Create an interpolator where all the selected vertices in the SubD are free vertices in the linear system used for interpolation, and the unselected are fixed to their initial positions. Free vertices are can move as a result of the interpolation, and can receive an interpolation target location.",
"since": "8.0",
"remarks": "Sets <b>ContextId</b> to the Guid of the Rhino SubD object for subd.",
"parameters": [
{
"name": "subd",
"type": "SubD",
"summary": "The SubD to use for interpolation"
},
{
"name": "freeVertexCount",
"type": "System.UInt32",
"summary": "The number of free vertices in the system"
}
],
"returns": "A new SubDSurfaceInterpolator"
},
{
"signature": "static SubDSurfaceInterpolator CreateFromSubD(SubD subd, out System.UInt32 freeVertexCount)",
"protected": false,
"summary": "Create an interpolator where all the vertices in the SubD are free vertices in the linear system used for interpolation (i.e. can move as a result of the interpolation, and can receive an interpolation target location).",
"since": "8.0",
"remarks": "Sets <b>ContextId</b> to the Guid of the Rhino SubD object for subd.",
"parameters": [
{
"name": "subd",
"type": "SubD",
"summary": "The SubD to use for interpolation"
},
{
"name": "freeVertexCount",
"type": "System.UInt32",
"summary": "The number of free vertices in the system"
}
],
"returns": "A new SubDSurfaceInterpolator"
},
{
"signature": "static SubDSurfaceInterpolator CreateFromVertexIdList(SubD subd, IEnumerable<uint> vertexIndices, out System.UInt32 freeVertexCount)",
"protected": false,
"summary": "Create an interpolator where all the listed vertices in the SubD are free vertices in the linear system used for interpolation, and the unselected are fixed to their initial positions. Free vertices are can move as a result of the interpolation, and can receive an interpolation target location.",
"since": "8.0",
"remarks": "Sets <b>ContextId</b> to the Guid of the Rhino SubD object for subd.",
"parameters": [
{
"name": "subd",
"type": "SubD",
"summary": "The SubD to use for interpolation"
},
{
"name": "vertexIndices",
"type": "IEnumerable<uint>",
"summary": "Indices of the vertices to be interpolated"
},
{
"name": "freeVertexCount",
"type": "System.UInt32",
"summary": "The number of free vertices in the system"
}
],
"returns": "A new SubDSurfaceInterpolator"
},
{
"signature": "System.Void Clear()",
"protected": false,
"summary": "Destroys the information needed to solve the interpolation.",
"since": "8.0"
},
{
"signature": "System.Void Dispose()",
"protected": false,
"summary": "Actively reclaims unmanaged resources that this instance uses.",
"since": "8.0"
},
{
"signature": "System.Void Dispose(System.Boolean disposing)",
"protected": true,
"summary": "For derived class implementers. \nThis 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. \nYou 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. \nAlso, you must call the base virtual method within your overriding method.",
"since": "8.0",
"parameters": [
{
"name": "disposing",
"type": "System.Boolean",
"summary": "True if the call comes from the Dispose() method; False if it comes from the Garbage Collector finalizer."
}
]
},
{
"signature": "System.UInt32 FixedVertexCount()",
"protected": false,
"since": "8.0",
"returns": "Number of vertices with fixed surface points."
},
{
"signature": "System.UInt32 InterpolatedVertexCount()",
"protected": false,
"since": "8.0",
"returns": "Number of vertices with interpolated surface points."
},
{
"signature": "System.UInt32 InterpolatedVertexIndex(System.UInt32 vertexId)",
"protected": false,
"since": "8.0",
"returns": "If vertex is an interpolated vertex, returns the index of the vertex in the array returned by <b>VertexIdList()</b> . Otherwise, returns ON_UNSET_UINT_INDEX."
},
{
"signature": "System.Boolean IsInterpolatedVertex(SubDVertex vertex)",
"protected": false,
"since": "8.0",
"returns": "True if the vertex surface point is being interpolated."
},
{
"signature": "System.Boolean IsInterpolatedVertex(System.UInt32 vertexId)",
"protected": false,
"since": "8.0",
"returns": "True if the vertex surface point is being interpolated."
},
{
"signature": "System.Boolean Solve(Point3d[] surfacePoints)",
"protected": false,
"summary": "Solve the interpolation system, given target interpolation locations for the free vertices in the system. Updates the subd referenced by this system so the corresponding surface points are at the locations given by surfacePoints.",
"since": "8.0",
"parameters": [
{
"name": "surfacePoints",
"type": "Point3d[]",
"summary": "The limit surface locations for the interpolated vertices. The number of desired locations needs to match the <b>InterpolatedVertexCount()</b> ."
}
],
"returns": "True if a solution was found."
},
{
"signature": "System.Void Transform(Transform transform)",
"protected": false,
"summary": "Apply an arbitrary transformation to the target interpolation points.",
"since": "8.0",
"parameters": [
{
"name": "transform",
"type": "Transform",
"summary": "The transformation to apply."
}
]
},
{
"signature": "System.UInt32[] VertexIdList()",
"protected": false,
"since": "8.0",
"returns": "List of indices of the vertices with interpolated surface points. Vertices that are not in this vertex list have unchanged control net points."
}
]
},
{
"namespace": "Rhino.Geometry",
"name": "SubDSurfaceInterpolator.MaximumCounts",
"dataType": "enum",
"summary": "Stores maximum count values for the solver to work in reasonnable time.",
"values": [
{
"signature": "MaximumRecommendedInterpolatedVertexCount = 1000U",
"protected": false,
"summary": "Interpolation requires building a solver. If the number of interplolated vertices is greater than MaximumInterpolatedVertexCount, the solver construction time can be too long for some users' comfort. Given sufficient time, memory, and CPU resources, the code will work with any value"
}
]

},
{
"namespace": "Rhino.Geometry",
Expand Down

0 comments on commit 14cb087

Please sign in to comment.