Interface IXbimWire
A wire is a connected set of one or more edges
Inherited Members
System.IDisposable.Dispose()
System.IEquatable<Xbim.Common.Geometry.IXbimWire>.Equals(Xbim.Common.Geometry.IXbimWire)
Namespace: Xbim.Common.Geometry
Assembly: Xbim.Common.dll
Syntax
public interface IXbimWire : IXbimGeometryObject, IDisposable, IEquatable<IXbimWire>
Properties
| Improve this Doc View SourceEdges
List of connected oriented edges
Declaration
IXbimEdgeSet Edges { get; }
Property Value
Type | Description |
---|---|
IXbimEdgeSet |
End
Last point of the wire
Declaration
XbimPoint3D End { get; }
Property Value
Type | Description |
---|---|
XbimPoint3D |
IsClosed
The wire is a closed loop
Declaration
bool IsClosed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPlanar
The vertices lay on a planar surface within the specified tolerance of the vertices
Declaration
bool IsPlanar { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Length
Length of the wire
Declaration
double Length { get; }
Property Value
Type | Description |
---|---|
System.Double |
Normal
The normal of the loop, calculated using the Newell's normal method
Declaration
XbimVector3D Normal { get; }
Property Value
Type | Description |
---|---|
XbimVector3D |
Points
Points in order of the wire
Declaration
IEnumerable<XbimPoint3D> Points { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<XbimPoint3D> |
Start
First point of the wire
Declaration
XbimPoint3D Start { get; }
Property Value
Type | Description |
---|---|
XbimPoint3D |
ToBRep
Converts the object to a string in BRep format
Declaration
string ToBRep { get; }
Property Value
Type | Description |
---|---|
System.String |
Vertices
Unique vertices in the shape, not in order
Declaration
IXbimVertexSet Vertices { get; }
Property Value
Type | Description |
---|---|
IXbimVertexSet |
Methods
| Improve this Doc View SourceTrim(Double, Double, Double, ILogger)
Returns a segment of the wire from start to end position
Declaration
IXbimWire Trim(double start, double end, double tolerance, ILogger logger = null)
Parameters
Type | Name | Description |
---|---|---|
System.Double | start | The distanceto trim from the start of the wire |
System.Double | end | The distance to trim to, from the start of the wire |
System.Double | tolerance | The distance at which two points are considered to be the same |
Microsoft.Extensions.Logging.ILogger | logger | An optional logger |
Returns
Type | Description |
---|---|
IXbimWire |