Search Results for

    Show / Hide Table of Contents

    Interface IXbimWire

    A wire is a connected set of one or more edges

    Inherited Members
    IXbimGeometryObject.GeometryType
    IXbimGeometryObject.IsValid
    IXbimGeometryObject.IsSet
    IXbimGeometryObject.BoundingBox
    IXbimGeometryObject.Transform(XbimMatrix3D)
    IXbimGeometryObject.TransformShallow(XbimMatrix3D)
    IXbimGeometryObject.Tag
    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 Source

    Edges

    List of connected oriented edges

    Declaration
    IXbimEdgeSet Edges { get; }
    Property Value
    Type Description
    IXbimEdgeSet
    | Improve this Doc View Source

    End

    Last point of the wire

    Declaration
    XbimPoint3D End { get; }
    Property Value
    Type Description
    XbimPoint3D
    | Improve this Doc View Source

    IsClosed

    The wire is a closed loop

    Declaration
    bool IsClosed { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Length

    Length of the wire

    Declaration
    double Length { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Normal

    The normal of the loop, calculated using the Newell's normal method

    Declaration
    XbimVector3D Normal { get; }
    Property Value
    Type Description
    XbimVector3D
    | Improve this Doc View Source

    Points

    Points in order of the wire

    Declaration
    IEnumerable<XbimPoint3D> Points { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<XbimPoint3D>
    | Improve this Doc View Source

    Start

    First point of the wire

    Declaration
    XbimPoint3D Start { get; }
    Property Value
    Type Description
    XbimPoint3D
    | Improve this Doc View Source

    ToBRep

    Converts the object to a string in BRep format

    Declaration
    string ToBRep { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Vertices

    Unique vertices in the shape, not in order

    Declaration
    IXbimVertexSet Vertices { get; }
    Property Value
    Type Description
    IXbimVertexSet

    Methods

    | Improve this Doc View Source

    Trim(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
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim