Show / Hide Table of Contents

    Class ParametricProfile

    A profile whose vertex locations are defined by a parametric expression.

    Inheritance
    System.Object
    Element
    Profile
    ParametricProfile
    CProfile
    HSSProfile
    LProfile
    MCProfile
    STProfile
    WProfile
    WTProfile
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IEquatable<Profile>
    Inherited Members
    Profile.Perimeter
    Profile.Voids
    Profile.Transformed(Transform)
    Profile.Reversed()
    Profile.Area()
    Profile.Transform(Transform)
    Profile.Scale(Double)
    Profile.Project(Plane)
    Profile.Union(Profile, Double)
    Profile.OrientVoids()
    Profile.Equals(Profile)
    Profile.Contains(Vector3)
    Profile.Contains(Vector3, Containment)
    Profile.UnionAll(IEnumerable<Profile>, Double)
    Profile.Difference(IEnumerable<Profile>, IEnumerable<Profile>, Double)
    Profile.Intersection(IEnumerable<Profile>, IEnumerable<Profile>, Double)
    Profile.Split(IEnumerable<Profile>, IEnumerable<Polyline>, Double)
    Profile.Split(IEnumerable<Profile>, Polyline, Double)
    Profile.Offset(Double, Double)
    Profile.Offset(IEnumerable<Profile>, Double, Double)
    Profile.CreateFromPolygons(IEnumerable<Polygon>, Double)
    Profile.Segments()
    Element.Id
    Element.Name
    Element.AdditionalProperties
    Element.PropertyChanged
    Element.RaisePropertyChanged(String)
    Element.SetMapping(String, MappingBase)
    Element.GetMapping(String)
    Element.GetMapping<T>(String)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Elements.Geometry.Profiles
    Assembly: Hypar.Elements.dll
    Syntax
    public class ParametricProfile : Profile, INotifyPropertyChanged, IEquatable<Profile>

    Constructors

    ParametricProfile(List<VectorExpression>, List<List<VectorExpression>>, Polygon, IList<Polygon>, Guid, String)

    Create a parametric profile.

    Declaration
    [JsonConstructor]
    public ParametricProfile(List<VectorExpression> perimeterVectorExpressions, List<List<VectorExpression>> voidVectorExpressions = null, Polygon perimeter = null, IList<Polygon> voids = null, Guid id = default(Guid), string name = null)
    Parameters
    Type Name Description
    System.Collections.Generic.List<VectorExpression> perimeterVectorExpressions
    System.Collections.Generic.List<System.Collections.Generic.List<VectorExpression>> voidVectorExpressions
    Polygon perimeter

    The perimeter of the profile.

    System.Collections.Generic.IList<Polygon> voids

    The voids of the profile.

    System.Guid id

    The unique identifier of the profile.

    System.String name

    The name of the profile.

    Properties

    PerimeterVectorExpressions

    A collection of vector expressions.

    Declaration
    public List<VectorExpression> PerimeterVectorExpressions { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<VectorExpression>

    VoidVectorExpressions

    A collection of vector expressions.

    Declaration
    public List<List<VectorExpression>> VoidVectorExpressions { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Collections.Generic.List<VectorExpression>>

    Methods

    SetGeometryAsync()

    Create the geometry of the parametric profile.

    Declaration
    public async Task SetGeometryAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    SetPropertiesFromProfileData(Dictionary<String, Double>, String)

    Set the properties or public member values of this profile instance to the values contained in the supplied dictionary.

    Declaration
    public void SetPropertiesFromProfileData(Dictionary<string, double> profileData, string name)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.String, System.Double> profileData

    A dictionary of property values.

    System.String name

    The name of the profile.

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IEquatable<T>

    Extension Methods

    ElementProxyExtensions.Proxy<T>(T, String)
    Identity.AddOverrideIdentity(Element, IOverride)
    Identity.AddOverrideIdentity(Element, String, String, Object)
    Identity.AddOverrideValue(Element, String, Object)
    Identity.OverrideIds<T>(Element, String)
    ModelCurveExtensions.ToModelCurves(Profile, Transform, Material)