Skip to content

Commit

Permalink
more additions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Jun 18, 2024
1 parent 52f1b86 commit cba7405
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Rhino/Speckle.Rhino.Api/IRhinoCurve.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ public partial interface IRhinoNurbsCurveProxy : IRhinoNurbsCurve;
[Proxy(typeof(LineCurve), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRhinoLineCurveProxy : IRhinoLineCurve;

[Proxy(typeof(Transform), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRhinoTransformProxy : IRhinoTransform;

[Proxy(typeof(Ellipse), ImplementationOptions.UseExtendedInterfaces | ImplementationOptions.ProxyForBaseInterface)]
public partial interface IRhinoEllipseProxy : IRhinoEllipse;

Expand Down
5 changes: 5 additions & 0 deletions Rhino/Speckle.Rhino.Interfaces/IRhinoBoxFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ public interface IRhinoIntervalFactory
{
IRhinoInterval Create(double x, double y);
}
public interface IRhinoTransformFactory
{
IRhinoPoint3d Origin { get; }
IRhinoTransform Scale(IRhinoPoint3d origin, double y);
}

public interface IRhinoCircleFactory
{
Expand Down
7 changes: 4 additions & 3 deletions Rhino/Speckle.Rhino.Interfaces/RhinoCurve.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ bool keepStartPoint
public interface IRhinoGeometryBase : IRhinoCommonObject
{
IRhinoBoundingBox GetBoundingBox(bool val);
void Transform(IRhinoTransform transform);
}

public interface IRhinoCommonObject;
Expand Down Expand Up @@ -124,6 +125,8 @@ public interface IRhinoBrep : IRhinoGeometryBase
RhinoBrepSolidOrientation SolidOrientation { get; }
}

public interface IRhinoTransform;

public interface IRhinoPoint : IRhinoGeometryBase
{
IRhinoPoint3d Location { get; }
Expand Down Expand Up @@ -342,12 +345,10 @@ public interface IRhinoVector3d
double Z { get; }
}

public interface IRhinoPointCloud
public interface IRhinoPointCloud : IRhinoGeometryBase
{
IRhinoPoint3d[] GetPoints();
System.Drawing.Color[] GetColors();
IRhinoBoundingBox GetBoundingBox(bool b);

IRhinoPointCloudItem this[int index] { get; }
}

Expand Down

0 comments on commit cba7405

Please sign in to comment.